Jump to content

Archived

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

Moon-Man.net

PHP error Display

Recommended Posts

Hello,
I have 2 web servers, with diferent versions of PHP. one 4.2 and another later.
the 4.2 one shows what line number the error is on when i leave off a ";" or something, but the newer version does not.
Can someone please explain how i can turn on this usefull feature?
Cheers,
Nathan

Share this post


Link to post
Share on other sites
Does the later show any errors? You can switch this option on / off with error_reporting, however, the line numbers in error reporting are unreliable.

Share this post


Link to post
Share on other sites
Thats kool, i dont mind. On the Old server it gives the Next line if i leave off a ";"
What should i set it to?

Share this post


Link to post
Share on other sites
Well for developement I have mine set to E_ALL.

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.