daniish Posted September 26, 2006 Share Posted September 26, 2006 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?ThanksOlly Quote Link to comment https://forums.phpfreaks.com/topic/22081-display-error-messages/ Share on other sites More sharing options...
steveclondon Posted September 26, 2006 Share Posted September 26, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/22081-display-error-messages/#findComment-98803 Share on other sites More sharing options...
wildteen88 Posted September 26, 2006 Share Posted September 26, 2006 if you are getting a Parse error you need to fix that otherwise your script will fail to work properly Quote Link to comment https://forums.phpfreaks.com/topic/22081-display-error-messages/#findComment-98807 Share on other sites More sharing options...
steveclondon Posted September 26, 2006 Share Posted September 26, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/22081-display-error-messages/#findComment-98810 Share on other sites More sharing options...
daniish Posted September 26, 2006 Author Share Posted September 26, 2006 Cheers Steveclondon ...the php.ini was what i needed!Just needed to change the following from:;display_errors = on to display_errors = onAs 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.txtThanks for your help! Quote Link to comment https://forums.phpfreaks.com/topic/22081-display-error-messages/#findComment-98875 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.