|
Posted by Pedro Graca on 02/02/06 03:17
Justin Koivisto wrote:
> comp.lang.php wrote:
>> On occasions I see no errors, no parse, no fatal, no warnings, no
>> notices.. and no code either! No HTML, nothing! I get a completely
>> blank page with no content whatsoever.
>>
>> I have at the very top of my page
>> [PHP]
>> error_reporting(E_ALL);
>> [/PHP]
>>
>> As a test to see if even notices would pop up, but nothing.
>
> check to see what the log_errors value is set to in php.ini... if it is
> 1, then you have to check your error.log file rather than the browser.
If you want to override the log_errors directive in php.ini, you can do
that with
ini_set('display_errors', 1);
<http://www.php.net/manual/en/ref.errorfunc.php#ini.display-errors>
or, maybe with (I never tested it)
ini_set('error_log', NULL);
<http://www.php.net/manual/en/ref.errorfunc.php#ini.error-log>
--
If you're posting through Google read <http://cfaj.freeshell.org/google>
[Back to original message]
|