2011-10-14 11 views
8

Installare e configurare Joomla 1.5 CMS nel mio xampp locale.Errore durante l'installazione Joomla

Dopo che ho l'installazione,

Quando sono in visita al sito Joomla. visualizza alcuni messaggi di errore.

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 29 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 32 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JRequest::clean() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 33 

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\environment\request.php on line 463 

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\environment\request.php on line 464 

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\environment\request.php on line 465 

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\environment\request.php on line 466 

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\environment\request.php on line 467 

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\environment\request.php on line 468 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 35 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 38 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 39 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 46 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 47 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 50 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 53 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 54 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 57 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\import.php on line 58 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JFactory::getApplication() should not be called statically in C:\xampp\htdocs\mywebsite\index.php on line 31 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Redefining already defined constructor for class JObject in C:\xampp\htdocs\mywebsite\libraries\joomla\base\object.php on line 57 

Strict Standards: Non-static method JApplication::getInstance() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 46 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JApplicationHelper::getClientInfo() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\application\application.php on line 132 

Strict Standards: Declaration of JSite::getRouter() should be compatible with that of JApplication::getRouter() in C:\xampp\htdocs\mywebsite\includes\application.php on line 377 

Strict Standards: Declaration of JSite::getPathWay() should be compatible with that of JApplication::getPathway() in C:\xampp\htdocs\mywebsite\includes\application.php on line 377 

Strict Standards: Declaration of JSite::getMenu() should be compatible with that of JApplication::getMenu() in C:\xampp\htdocs\mywebsite\includes\application.php on line 377 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\application\application.php on line 732 

Strict Standards: Non-static method JFactory::_createConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 73 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\registry\registry.php on line 19 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JUtility::getHash() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\application\application.php on line 101 

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\utilities\utility.php on line 111 

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\application\application.php on line 384 

Strict Standards: Non-static method JFactory::getSession() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\application\application.php on line 770 

Strict Standards: Non-static method JFactory::_createSession() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 94 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 501 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Declaration of JSession::set() should be compatible with that of JObject::set() in C:\xampp\htdocs\mywebsite\libraries\joomla\session\session.php on line 737 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\joomla\session\session.php on line 19 

Strict Standards: Non-static method JSession::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 507 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JSessionStorage::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\session\session.php on line 108 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JFilterInput::clean() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\session\storage.php on line 57 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JFactory::getDBO() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\session\storage\database.php on line 64 

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 268 

Strict Standards: Non-static method JFactory::_createDBO() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 271 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 186 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 71 

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 551 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JDatabase::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 563 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JError::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\factory.php on line 565 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 138 

Strict Standards: Non-static method JTable::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\mywebsite\libraries\joomla\session\storage\database.php on line 69 

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on line 161 

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\mywebsite\libraries\loader.php on lin 

risposta

16

"severe norme" non è tecnicamente un errore, è dire che la versione di Joomla è stato installato non è strettamente aderente agli standard di PHP che cosa si vuole fare è due cose:. primo, limitare la segnalazione degli errori in PHP. ini per non segnalare una violazione degli standard come un errore, quindi (quando sei pronto per il go-live), spegni Joom la segnalazione degli errori.

Nel proprio php.ini, modificare error_reporting = E_ALL | E_STRICT a error_reporting = E_ALL & ~ E_NOTICE

Restart XAMPP per applicare le modifiche.

Nel file configuration.php di Joomla, il cambiamento $ valore error_reporting al 6135.

+0

L'ho appena usato, grazie! – Drewdin

+0

Sto affrontando lo stesso errore! ma la tua soluzione non mi aiuta :( –

10

Grazie Ragazzi. Ho trovato la soluzione

È necessario disattivare la visualizzazione degli errori e degli avvisi PHP dal proprio php.ini. Puoi contattare il tuo provider di hosting o puoi farlo tu stesso (se hai accesso a quel file).

Se non si ha accesso al file php.ini, è possibile provare a modificare il file htaccess. (Potete trovare questo file nella root del vostro! Installazione di Joomla. Se il nome è htaccess.txt, ricordarsi di rinominarlo in .htaccess.

Scrivi questo al vostro file .htaccess

Codice

# supress php errors 
php_flag display_startup_errors off 
php_flag display_errors off 
php_flag html_errors off 
php_value docref_root 0 
php_value docref_ext 0 
+0

Quale versione di PHP sono stai usando? Questo potrebbe essere dovuto all'utilizzo di PHP 5.3 con Joomla 1.5 (che pre-data 5.3, e non è realmente costruito per questo). – KingJackaL

+1

@KingJackaL la maggior parte dei bundle MAMP/WAMP/XAMPP sono preconfigurati con PHP 5.3, più o meno con la configurazione di default. E come dici, mentre Joomla 1.5 è stato riparato per 5.3, non è stato necessariamente progettato per questo. – jlleblanc

+0

Sì .. grazie amico;) mi hai risparmiato un sacco di tempo;) –

0

in XAMPP/php/cambio php.ini

1.display_errors=Off 
    2.error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING 

quindi riavviare il XAMPP