2011-12-27 34 views
1

按照this link的說明將我的magento商店1.4.1.1升級到1.6.1.0。升級成功完成。我的Magento後端工作正常。但是,當我檢查前端我得到404錯誤將1.4.1.1升級到1.6.1.0後Magento 404錯誤

我在谷歌嘗試了各種建議。但他們沒有一個能幫助我。

如果您有以前的經驗,請分享。

編輯: -

我覺得這個問題是由於多店發生setup.so我共享兩個表的結構

core_store 

enter image description here

core_store_group 

enter image description here

Core_website 

enter image description here

+0

其中404頁? http://alanstorm.com/magentos_many_404_pages(自我鏈接描述各種404頁面Magento可以告訴你,每個人都有自己的理由顯示) – 2011-12-27 17:35:46

+0

@AlanStorm:謝謝你的迴應,我得到404頁面,如第二次截圖您的文章標題爲「定製商店異常404頁面」。我有多商店設置,我猜問題出在這個setup.any idea.i共享我的core_store和core_store_group表。請檢查它 – Gowri 2011-12-28 04:26:48

+0

這意味着有一個例外被扔在堆棧中的某處。什麼被添加到你的PHP錯誤日誌和/或Magento異常日誌? – 2011-12-28 06:09:55

回答

1

我自己發現了這個問題: - 在「core_store」表中一些商店被禁用。在激活所有商店時問題解決了。

0

清理緩存,重建目錄URL重寫指數,檢查.htaceess和mod_rewrite的

+0

:我嘗試了所有這些,沒有運氣 – Gowri 2011-12-27 10:13:07

0

最近我有同樣的問題。 檢查是否有任何對root index.php文件的修改已被升級覆蓋。 您可能更新了$ mageRunCode,具體取決於您訪問該網站的網址,這已被升級後的默認index.php文件所取代。

0

我有類似的問題,我嘗試了所有的解決方案上面,也從谷歌,但最終它沒有解決問題我想一個解決方案,就是在.htaccess文件根目錄

############################################ 
## rewrite everything else to index.php 

RewriteRule .* index.php [L] 
</IfModule> 
######### 

我只是發表評論像

#RewriteRule .* index.php [L] 

,然後將上面的行添加此代碼

#### 
<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteBase /magento/ 
RewriteRule ^index\.php$ - [L] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . /index.php [L] 
</IfModule> 

這將解決我的問題,然後所有類別的頁面和產品頁面都打開完美,不會再出現404錯誤或禁止的錯誤。只是發佈它可能是其幫助他人