Joomla "Strict Standards" Errors on Installation
We were building a client website on our localhost XAMMP server using Joomla 1.5. We had a strange error after the initial Joomla 1.5 installation. The site looked totally out of wack with about a hundred errors all starting with Strict Standards. I have seen these errors but not during an install and never so many. Here are some of the examples of some of the errors/messages...
Strict Standards: Non-static method JFactory::getLanguage() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomold\administrator\modules\mod_login\mod_login.php on line 21
Strict Standards: Non-static method JText::_() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomold\administrator\templates\khepri\login.php on line 66
Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\joomold\libraries\loader.php on line 161
Obviously, something was wrong here. The first thing I did was goto Global Configuration and changed the error value to minimum errors. This did not work. What did work was cchanging a line in the php.ini file and restarting Apahe.
If you are using XAMMP, goto c:\xammp\php\php.ini and edit the php.ini file. If you dont use a code editor, then choose "notepad" to open and edit the file.
Look around line 516 for ...
error_reporting = E_ALL | E_STRICT
Edit to change this to....
error_reporting = E_ALL & ~E_STRICT
Now open your XAMMP, WAMMP or MAMMP panel and click "Restart" or "Stop" then "Start" your Apache service. This should do the trick