sexta-feira, 2 de setembro de 2011

Resolvendo problema instalação Joomla 1.7

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



=========================================================================


Depois descobri como resolver o seguinte erro:
No meu os arquivos encontra-se em:
C:\xampp\htdocs\joomla\libraries\joomla\cache
C:\xampp\htdocs\joomla\libraries\joomla\database

Pode ser um diretório diferente depende da sua instalação do joomla e do servidor.


1 - Entra em.
C:\xampp\htdocs\joomla\libraries\joomla\cache

2 - Abrir o arquivo.
Abrir o arquivo cache.php

3 - Localizar a linha 394 dentro do cache.php, apos encontrar esta linha comente.
comente as linhas ou remova funcao
public function &_getStorage()
{
if (!isset($this->_handler)) {
$this->_handler = JCacheStorage::getInstance($this->_options['storage'], $this->_options);
}
return $this->_handler;
}

4 - Modificar a função acima por esta.
public function &_getStorage() 

if (!isset(self::$_handler)) { 
self::$_handler = JCacheStorage::getInstance($this->_options['storage'], $this->_options); 

return self::$_handler; 


Feito isso agora clique com o botão direito em cima de cache.php e vá em propriedades e marque a opção 'somente leitura'
logo após
vá em:

5 - C:\xampp\htdocs\joomla\libraries\joomla\database

6- Abra o arquivo database.php

7 - Localizar a linha 350 e comente.

comente esta linha:
//abstract public static function test();

Feito isso agora clique com o botão direito em cima de database.php e vá em propriedades e marque a opção 'somente leitura'.

espero ter ajudado o pessoal

Nenhum comentário:

Postar um comentário

Instalando o antivírus gratuito Microsoft Security Essentials no Windows Server 2012.

You want to install free antivirus for Microsoft Windows 2012. Solution Aside from limited trials, there is no true free antivirus for Mic...