If you are using joomla 1.5.21,22 on XAMPP 1.7.4 you might get “Strict Standards” errors like following..
ERROR:Strict Standards: Non-static method JLoader::import() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\import.php on line 29
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 71
Strict Standards: Non-static method JLoader::import() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\import.php on line 32
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 71
Strict Standards: Non-static method JLoader::load() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 161
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 138
Strict Standards: Non-static method JRequest::clean() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\import.php on line 33
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 463
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 464
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 465
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 466
………….. And some other lines.
SOLUTION: You need to a little fix in php.ini file
- Open php.ini file.
- Find “error_reporting = E_ALL | E_STRICT” (this would be around line number 516)
- Replace with “error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED“
- Restart the APACHE and you are done.