Reply to Re: How to get error info

Your name:

Reply:


Posted by Rik on 02/06/07 18:33

Carl Pearson <jman_spam_trap_.org@gmail.com> wrote:

> Gunnar G wrote:
>> Hi.
>> How do you get error messages if you have only ftp put/get (no shell
>> access)
>> and display error is turned off?
>> Is there any clever way of getting them?
>>
>
> Uhm, try turning it on?
>
> error_reporting(LEVEL);

Let's not forget display_errors is off....

ini_set('display_errors',true);

Or alternatively, log to a file:

ini_set('log_errors',true);
ini_set('error_log','/path/to/my/error/file');
--
Rik Wasmus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация