2013-03-09 76 views
0

我完全喪失解決這些問題和迫切需要幫助。Prestashop Language.php出現可以防止訪問店鋪和管理員

我即將開始在新的(文件夾)位置將我的prestahsop 1.4.4升級到1.5。我安裝了新的prestashop,沒有任何問題。它位於我現有的prestashop的不同文件夾中。

但是自安裝以來,我無法訪問我現有的prestashop,無論是管理員還是商店。在那之前我一直沒有任何問題。

這些是錯誤報告:

STORE FRONT

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 

ADMIN

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) 

這是下3210

在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); 

我希望這些信息足以讓某人指向正確的方向。我需要緊急援助。

非常感謝,

ķ

+0

兩個安裝共享一個數據庫嗎? – Benjiman 2013-03-09 05:24:58

回答

0

可能有幾個原因這些問題。您可以回答以下問題:

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嗎?

請在您的網站上啓用錯誤,然後可以看到確切的問題。

謝謝