2013-11-01 115 views
0

我已經將Joomla網站從服務器遷移到我的本地主機,最初我沒有得到網站的首頁內容,它只是一個白色的屏幕,但管理面板工作正常,所有的內容都存在在那裏,那麼我已經改變了錯誤在這個網站之後的Joomla管理面板中的全球站點配置最大報告是顯示以下錯誤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 

我該如何解決這些錯誤。 謝謝。

+0

什麼的Joomla版本,PHP在本地主機上,PHP的服務器上? – sectus

+0

Joomla是2.5,PHP在本地主機5.4,PHP在服務器5.3。 –

+0

爲什麼不在你的Joomla配置中設置錯誤報告? – Laoneo

回答

0

嚴格的標準與PHP 5.4頗爲盛行。做最好的事情是把嚴格錯誤報告關閉通過編輯本地主機php.ini文件並改變這一點:

error_reporting = E_ALL 

這樣:

error_reporting = E_ALL & ~E_STRICT 

否則只需下載PHP 5.3擴展您的本地主機

希望這有助於

+0

錯誤報告已經設置爲error_reporting = E_ALL&〜E_DEPRECATED&〜E_STRICT也許我應該安裝5.3擴展。 –

+0

嗯有多奇怪。您在更改* php.ini *之後重新啓動了Apache嗎? – Lodder

+0

是的,它是obviouse –

0

您可以通過php.ini.htaccess關閉本地服務器上的嚴格錯誤。

E_ALL & ~E_STRICT

+0

當我關閉它們時,我回到沒有首頁內容的白色屏幕。 –

+0

@babajan,你可以嘗試瀏覽器error.log – sectus