Php – Strict Standards error in joomla1.7

joomlajoomla1.7PHP

I'm trying to create a web page using Joomla and XAMPP.

I'm getting Strict Standards in all parts of page… This is annoying.

Strict Standards: Static function JDatabase::test() should not be abstract in C:\xampp\htdocs\Joomla17\libraries\joomla\database\database.php on line 350

Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\Joomla17\libraries\joomla\cache\cache.php on line 394

Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\Joomla17\libraries\joomla\cache\cache.php on line 396

One more thing i tried to change php.ini file.
I have two files in Joomla 1.7.
php INI-Devlolpment
php INI-Production

Whats difference between both?

I tried many thing to switch off strict standards:

; display_errors

; Default Value: Off

; Development Value: Off

; Production Value: Off

also

; error_reporting

; Default Value: E_ALL & ~E_DEPRECATED

; Development Value: E_ALL & ~E_DEPRECATED

; Production Value: E_ALL & ~E_DEPRECATED

also

error_reporting = E_ALL & ~E_DEPRECATED

also

display_errors = Off

Still i'm getting these errors?

Please help me to solve this..
Thanks,
Shanmugam

Best Answer

go to the file that cause error and change $this->_handler to self::$_handler

Related Topic