web-dev-qa-db-ja.com

Joomlaのインストール中にエラーが発生しました

ローカルのxamppにJoomla1.5CMSをインストールして構成します。

インストール後、

Joomlaサイトにアクセスしているとき。いくつかのエラーメッセージが表示されます。

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

「厳密な標準」は技術的にはエラーではありません。インストールしたJoomlaバージョンがPHP標準に厳密に準拠していないことを意味します。最初に、エラーを制限することです。標準違反をエラーとして報告しないようにphp.iniで報告してから、(稼働の準備ができたら)Joomlaエラー報告をオフにします。

Php.iniで、error_reporting = E_ALL |を変更します。 E_STRICTからerror_reporting = E_ALL&〜E_NOTICE

Xamppを再起動して変更を適用します。

Joomlaのconfiguration.phpファイルで、$ error_reporting値を6135に変更します。

16
Mikael

みんなありがとう。私は解決策を見つけました

PHP php.iniからのエラーと警告の表示を無効にする必要があります。それについてホスティングプロバイダーに連絡するか、自分で行うことができます(そのファイルにアクセスできる場合)。

Php.iniファイルにアクセスできない場合は、htaccessファイルを編集してみてください。 (このファイルはJoomla!インストールのルートにあります。名前がhtaccess.txtの場合は、名前を.htaccessに変更することを忘れないでください。

これを.htaccessファイルに書き込みます

コード

# 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
10

Xampp/php /php.iniで変更

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

次に、xamppを再起動します

1
Deepak

Joomla設定でエラー報告を「なし」に設定します。通知をオフにします

0
Anoop P S