首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >出现的Prestashop Language.php会阻止对商店和管理员的访问

出现的Prestashop Language.php会阻止对商店和管理员的访问
EN

Stack Overflow用户
提问于 2013-03-09 09:20:03
回答 1查看 1.1K关注 0票数 0

我完全不知道如何解决这些问题,迫切需要帮助。

我正要开始在一个新的(文件夹)位置升级我的prestahsop 1.4.4到1.5。我安装了新的prestashop,没有任何问题。它位于与我现有的prestashop不同的文件夹中。

但自从那次安装后,我就无法访问我现有的prestashop,无论是管理员还是商店。在此之前,我对它没有任何问题。

以下是错误报告:

店面

代码语言:javascript
复制
Warning: Invalid argument supplied for foreach() in /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php on line 554

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in/hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Cookie.php on line 300

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in/hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Cookie.php on line 300

Fatal error: Cannot access empty property in /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/FrontController.php on line 228

管理员

代码语言:javascript
复制
Warning: Invalid argument supplied for foreach() in /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php on line 554

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in/hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/admin0811/header.inc.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in/hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/admin0811/header.inc.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in/hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/admin0811/header.inc.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in/hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/admin0811/header.inc.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in/hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Cookie.php on line 300

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in/hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Cookie.php on line 300

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in/hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Cookie.php on line 300

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Language.php:554) in /hermes/bosweb25a/b56/nf.logorythm/public_html/logostore/classes/Tools.phpon line 104[/quote]

Language.php l554的代码是

代码语言:javascript
复制
 foreach ($result AS $row)

这是在/** Load all languages in memory for caching

FrontController.php l228的代码是

代码语言:javascript
复制
if ($cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')})

Tools.php l104的代码是

代码语言:javascript
复制
header('Location: '.$url);

这是在/** redirect to another admin page

Cookie.php l300的代码是

代码语言:javascript
复制
return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, 0, true);

我希望这些信息足以让人给我指明正确的方向。我需要紧急援助。

非常感谢,

K

EN

回答 1

Stack Overflow用户

发布于 2013-03-09 14:07:52

这些问题可能有几个原因。请您回答以下问题:

1)在安装Prestashop 1.5时,您是否为其创建了新的数据库,或者使用了与旧的prestashop 1.4相同的数据库?

2)您的Prestashop 1.5安装站点运行正常吗?

3)你读过http://doc.prestashop.com/display/PS15/Updating+PrestaShophttp://doc.prestashop.com/display/PS14/Updating+PrestaShop吗?

请在您的站点启用错误,然后就可以看到确切的问题。

谢谢

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15306062

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档