Jump to content

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

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.