Jump to content

error reporting


Andarian

Recommended Posts

hey everyone

 

I have a production server in which I want error reporting but only on some pages

 

I have

ini_set('display_errors', 1);

ini_set('log_errors', 1);

ini_set('error_log', 'error_log.txt');

ini_set('error_reporting', E_ALL ^ E_NOTICE);

error_reporting(E_ALL);

 

and what not at the start, but still I see no errors...

 

please help :(

Link to comment
https://forums.phpfreaks.com/topic/182289-error-reporting/
Share on other sites

If you have a syntax error and PHP can't parse the page, then setting the error_reporting level and turning on the displaying of errors at runtime will have no effect. See the comments on my tutorial:http://www.phpfreaks.com/tutorial/debugging-a-beginners-guide

Link to comment
https://forums.phpfreaks.com/topic/182289-error-reporting/#findComment-962457
Share on other sites

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.