Berikut adalah error apabila saya install joomla 1.7 di windows 7 di xampp 1.7.7
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\usict3\libraries\joomla\cache\cache.php on line 420
Tindakan:-
1- buka file \libraries\joomla\cache\cache.php on line 420
2- di line 420 tukarkan :
public function &_getStorage()
{
if (!isset(JCache::$_handler)) {
JCache::$_handler = JCacheStorage::getInstance($this->_options['storage'], $this->_options);
}
return JCache::$_handler;
}
ke:
public function &_getStorage()
{
$hash = md5(serialize($this->_options));
if (isset(self::$_handler[$hash]))
{
return self::$_handler[$hash];
}
self::$_handler[$hash] = JCacheStorage::getInstance($this->_options['storage'], $this->_options);
return self::$_handler[$hash];
}
..selamat mencuba..
suzana- 27/12/2011
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment