在localhost上迁移后的Joomla

时间:2013-11-01 07:56:42

标签: php joomla xampp

我已将joomla网站从服务器迁移到我的localhost,最初我没有得到网站的首页内容它只是一个白色的屏幕,但管理面板工作正常,所有内容都在那里,然后我有在此站点显示以下错误后,在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 

我如何解决这些错误。 感谢。

2 个答案:

答案 0 :(得分:0)

您可以通过php.ini.htaccess关闭本地服务器上的严格错误。

E_ALL & ~E_STRICT

答案 1 :(得分:0)

严格的标准在PHP 5.4中非常普遍。最好的办法是通过编辑localhost上的php.ini文件并更改它来关闭严格的错误报告:

error_reporting = E_ALL 

到此:

error_reporting = E_ALL & ~E_STRICT

其他只需为您的localhost下载PHP 5.3扩展名

希望这有帮助