0

joomla Web サイトをサーバーからローカル ホストに移行しました。最初は、Web サイトのフロント ページのコンテンツを取得できませんでした。それは単なる白い画面でしたが、管理パネルは正常に機能し、すべてのコンテンツがそこに存在していました。その後、エラーを変更しました。このサイトで次のエラーが表示された後、joomla の管理パネル内のグローバル サイト構成で最大に報告する

Strict Standards: Declaration of fancyboxClass::getHeaderLibrary() should be compatible with JAPopupHelper::getHeaderLibrary($bodyString, $identifierString, $headerString) in C:\xampp\htdocs\joomla\plugins\system\japopup\fancybox\fancybox.php on line 18

Strict Standards: Declaration of oseLanguage::set() should be compatible with JObject::set($property, $value = NULL) in C:\xampp\htdocs\joomla\administrator\components\com_ose_cpu\oseregistry\oseLanguage.php on line 130

Strict Standards: Declaration of oseMscList::drawTree() should be compatible with oseMscListDraw::drawTree() in C:\xampp\htdocs\joomla\administrator\components\com_ose_cpu\membership\oseMscListDraw.php on line 365

Strict Standards: Non-static method oseMscConfig::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla\components\com_osemsc\init.php on line 44

Strict Standards: Static function osePaymentTaxExtend::getTaxAmount() should not be abstract in C:\xampp\htdocs\joomla\administrator\components\com_ose_cpu\payment\osePaymentTax.php on line 135 

これらのエラーを解決するにはどうすればよいですか。ありがとう。

4

2 に答える 2

0

PHP 5.4 では、厳格な標準がかなり普及しています。最善の方法は、ローカルホストの php.ini ファイルを編集し、これを変更して、厳密なエラー報告を無効にすることです。

error_reporting = E_ALL 

これに:

error_reporting = E_ALL & ~E_STRICT

それ以外の場合は、ローカルホスト用の PHP 5.3 拡張機能をダウンロードするだけです

お役に立てれば

于 2013-11-01T08:58:36.687 に答える
0

php.iniまたはを使用して、ローカル サーバーで厳密なエラーをオフにすることができます.htaccess

E_ALL & ~E_STRICT

于 2013-11-01T08:25:17.407 に答える