Jump to content

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


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);

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.