简体   繁体   English

在本地主机上迁移后的Joomla

[英]Joomla after migration on localhost

I have migrated joomla website from server to my localhost,initially i was not getting the front page content of the website it was just a white screen but the admin panel was working fine and all the contents are present there, then i have changed the error reporting to maximum in the global site configuration inside the admin panel of joomla after this site is showing the following error 我已经将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 

How can i solve these error. 我该如何解决这些错误。 Thanks. 谢谢。

You could turn off strict errors on your local server via php.ini or .htaccess . 您可以通过php.ini.htaccess关闭本地服务器上的严格错误。

E_ALL & ~E_STRICT E_ALL和〜E_STRICT

Strict standards are quite rife with PHP 5.4. 严格的标准在PHP 5.4中非常流行。 The best thing to do would be to turn strict error reporting off by editing your php.ini file on your localhost and changing this: 最好的办法是通过在本地主机上编辑php.ini文件并更改此设置来关闭严格的错误报告:

error_reporting = E_ALL 

to this: 对此:

error_reporting = E_ALL & ~E_STRICT

Else simply download the PHP 5.3 extension for your localhost 否则,只需为您的本地主机下载PHP 5.3扩展

Hope this helps 希望这可以帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM