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


Prestashop Language.php appears prevents access to shop and admin

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

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

但是自从安装之后,我就不能访问我现有的prestshop,无论是admin还是store。在那之前我对它没有任何问题。

这些是错误报告:

商店前面

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

管理

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的代码为

 foreach ($result AS $row)

/** Load all languages in memory for caching

FrontController.php l228的代码为

if ($cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')})

Tools.php l104中的代码为

header('Location: '.$url);

/** redirect to another admin page

Cookie.php l300的代码为

return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, 0, true);
我希望这些信息足以让某人为我指明正确的方向。我需要紧急援助。 许多谢谢,

K

这些问题可能有几个原因。你能回答以下问题吗?

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

2)你的Prestashop 1.5安装站点运行良好吗?

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

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

Thank you