Jump to content

[SOLVED] error reporting and displaying errors


benjaminbeazy

Recommended Posts

I'm not sure if this should go under help or installation, forgive me.

 

I've just switched to a dedicated server where php.ini has error_reporting all and display_errors off

 

I need to see errors for debugging and when I try to set the local display_errors value to "1" or "ON" for a 1 page script that I know has errors, I still get no output

 

I know its being set, because i run phpinfo() right after setting it and the display_errors value changes to ON

 

NOTE: When I change display_errors in php.ini, they show up on the page

 

i've tried every combo i can think of....

 

error_reporting(E_ALL);
display_errors(1);

error_reporting(8191);
display_errors(1);

error_reporting(E_ALL);
display_errors(ON);

error_reporting(8191);
display_errors(ON);

ini_set(error_reporting, 8191);
ini_set(display_errors,1);

 

any ideas?

 

muchos gracias

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.