Saturday, April 23, 2011

Strict Standards: Non-static method JLoader::import() should not be called statically

Strict Standards: Non-static method JLoader::import() should not be called statically




SOLUTION:

open the "php.ini" file in the EasyPHP-5.3.3.1/conf_files/ and make the changes below:


1) change
Code:

Kod:
error_reporting = E_ALL | E_STRICT

by
Code:

Kod:
error_reporting = E_ALL & ~E_STRICT


2) change
Code:
Kod:
display_errors = On

by
Code:
Kod:
display_errors = Off


Warning : Be sure your error_reporting and display_errors variables are the last one to be read in the php.ini file, else yours could be overwritten by default values.
Furthermore, you can leave var $error_reporting = '-1'; unchanged in joomla configuration.php

No comments: