A Web.com Partner

Are you getting a Joomla! errors ? like : Warning: strtotime() or Strict Standards: Non-static method

If you unexpectedly received a message on the main page of your Joomla! installation similar to : „Warning: strtotime() [ function.strtotime]: It is not safe to rely on the system’s timezone settings (…)” or “Strict Standards: Non-static method” then the below will help you to solve those errors.

It means that your servers PHP version has been upgraded to the latest , most secure version of PHP .
Unfortunately, the “old” legacy versions of Joomla! presents just such a warning.joomla-logo-small

There is one simple way to make this message disappear:

Depending on your location you can set a specific date.timezone value in PHP using the following code which should be added to your local php.ini file, for example:

date.timezone =  Australia/Sydney
date.timezone =  Australia/Perth

If you do not have access to a php.ini file in your root directory , then you can simply create it with the cPanel FileManager and add the above lines.

You can also disable the display of all errors and warnings from your page. Simply add this entries in your php.ini

display_errors = off
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

Disabling this option will also increase the security of your CMS.