Joomla site showing lots of errors

You are reading this article becasue your joomla site is showing lots of errors like the ones below

Strict Standards: Non-static method JLoader::import() should not be called statically in /home/domain/public_html/libraries/joomla/import.php on line 29
Strict Standards: Non-static method JLoader::register() should not be called statically in /home/domain/public_html/libraries/loader.php on line 71
Strict Standards: Non-static method JLoader::import() should not be called statically in /home/domain/public_html/libraries/joomla/import.php on line 32
Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in/home/domain/public_html/libraries/joomla/utilities/date.php on line 56

The above errors can be resolved if you place a php.ini file in the root of your site containing the following lines:

date.timezone = "Europe/London"
error_reporting = E_ALL & ~E_NOTICE
display_errors = Off

NOTE: adding the line [display_errors = Off] this will merely MUTE the errors which means the errors will still exist so its always a good idea to make sure there are no errors at all. Always make sure joomla has the latest version otherwise you can be hacked.

HOLD ON!!! The joomla site was working before! How come its showing errors now? - Well thats a good question and can depend on the version of php, so if you are using older version of php and was working fine and then you get errors, then probbaly php version got upgraded on the server which in turn means some subtle changes would need to be made to your joomla software.

  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

My Joomla Site Was hacked

You are reading this arcticle becasue you have a joomla based web site and its been defaced or...