Jump to content

What should be on monitor if display_errors is set to off? Is it set to off ?


floridaflatlander

Recommended Posts

My provider says that my display_errors is set to off ( in an email, also I have a new provider and I can't see how to get to php.ini yet)

 

I always thought that if display_errors is set to off that when a php error would occur that the screen would go blank from that spot and beyound.

 

However when I put in the wrong connect info by mistake I got

 

Warning: require( PATH TO connect.php (I changed this)) [function.require]: failed to open stream: No such file or directory in /this directory (I changed this) on line 10

 

Should this stuff be showing with display_errors set to off ?

You can control it on a per-script basis if needed by adding this to top of the script, but it sure would be easier to figure out how to access your local php.ini. Then you could set up error logging as well.

ini_set('display_errors', 0);

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.