2013-11-01 116 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