Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error reporting

Status
Not open for further replies.

rudenborg

Programmer
May 18, 2004
19
US
Hello-

The website I'm working on is running on a server that has all error reporting turned off and I need to turn it back on for some work I'm doing on site. I've tried the following according to the information I've found on php.net:

error_reporting(E_ALL);

but it won't work.

If someone could help me it would be greatly appreciated.

Thanks,

Jonathan
 
I tried the following:

ini_set('error_reporting', 'E_ALL');

and I still get a blank screen.

Any ideas?

Thanks,

Jonathan
 
Yeah, that's what I strarted with.

but thanks anyway :)

Jonathan
 
I'm not sure if this will work, but I found an example in the PHP manual and while using ini_set(), take out the single quotes around E_ALL. So it would read:

ini_set('error_reporting', E_ALL);

Just thought it might do the trick.

Itshim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top