Jump to content

Archived

This topic is now archived and is closed to further replies.

DaveLinger

how to enable error reporting?

Recommended Posts

Tried searching, but got many different ways. I just want to slap a line of code in before the rest of the page to see what's up. No luck in the FAQ either, might want to add that.

Share this post


Link to post
Share on other sites
you can enable it in the php.ini or use this on top of your php page

error_reporting(E_ALL);

for more info look up error_reporting on php.net

Share this post


Link to post
Share on other sites
adding error_reporting(E_ALL); may not work if you have the display_errors directive is turned off.

Share this post


Link to post
Share on other sites

×

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.