Jump to content

error_reporting issue


cytech

Recommended Posts

Hey All,

 

I am on a live server(not a development box) that has error_reporting set to 2047. Now this is E_USER_NOTICE.

 

I am testing a new system and well, there are errors with it, right now all I get is a blank page with no output from php letting me know whats wrong.

 

On the top of the script I put:

ini_set('error_reporting', '8191');

 

That didnt' work so I put:

ini_set('error_reporting', 8191);

 

that didn't work so I put:

error_reporting(E_ALL);

 

that didn't work either haha - So how can I see an error without having to go directly to the php.ini file and changing it? ???

 

Anyone with some advice will be a great help!

Link to comment
Share on other sites

Hey AndyB,

 

Actually that did work - I read up on display_errors and it only works if there are no "fatal" errors.

 

I put a fatal error in just to test - no wonder it didnt' work. I am now getting the normal notice errors printed.

 

Thanks!  ;D

Link to comment
Share on other sites

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.