Few time the website itself working fine, however there were red error messages showing up on almost every page.
After further looking, they were not really errors, they were PHP notices. The notices sprung up during server upgrades that migrated from PHP 5.2 to PHP 5.3. At the time, we ended up just changing the PHP error setting to no longer display notices, and the crises was averted. however looking back now we could have done it this way.
This is a good thing to do for all production sites.
After further looking, they were not really errors, they were PHP notices. The notices sprung up during server upgrades that migrated from PHP 5.2 to PHP 5.3. At the time, we ended up just changing the PHP error setting to no longer display notices, and the crises was averted. however looking back now we could have done it this way.
- Log into the site with an admin account
- Go to Administer -> Error Reporting
- Select the option to only log errors to the log Save
This is a good thing to do for all production sites.
No comments:
Post a Comment