Jump to content

Archived

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

daniish

Display error messages

Recommended Posts

Hello,

I have a known Parse Error:... in my script, which displays in the browser of one of my machines but is not visible on my other computer. Where can i turn this feature (display error messages) on/off ?

Is this defined in the W.A.M.P build?


Thanks
Olly

Share this post


Link to post
Share on other sites
Your php ini file. If you have wamp you can look for this by left clicking on the icon near your time for wamp. Then go to the config files. You should only have all errors and warnings showing on a test server

Share this post


Link to post
Share on other sites
if you are getting a Parse error you need to fix that otherwise your script will fail to work properly

Share this post


Link to post
Share on other sites
Yes as they have pointed out above you should fix all errors and warnings that is why you have it on the test server. You should not have it on the main server you are going to use however.

Share this post


Link to post
Share on other sites
Cheers Steveclondon ...the php.ini was what i needed!

Just needed to change the following from:

;display_errors = on                to              display_errors = on

As you mention this is only worth doing on a test server. As a result i have decided to turn the above option off and write errors to a log file instead:

error_log = errors.txt


Thanks for your help!

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.