当尝试输入CMS页面时,Magento管理面板会显示404 [英] Magento admin panel gives 404 when trying to enter cms pages

查看:44
本文介绍了当尝试输入CMS页面时,Magento管理面板会显示404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Magento 1.4.1.1,当我尝试在导航中输入CMS/页面时,它比404效果更好.
所有其他页面都运行良好,甚至CMS菜单中的其他项目也是如此,只有页面"显示404.
我该怎么办?

I'm using Magento 1.4.1.1 which works great other then the 404 when I'm trying to enter CMS/Pages in the navigation.
All other pages work great and even other items in CMS menu, only Pages gives 404.
What should I do?

推荐答案

存在此确切问题.

由于从Magento管理员删除商店视图后,旧的商店视图的剩余部分仍在数据库中徘徊,因此您在CMS页面上得到404,以清除(删除)旧的未使用的CMS页面以删除已删除的商店视图这个MySQL查询.

You are getting a 404 on CMS pages because of the remains of old store views still hanging around in the database after deleting store views from Magento admin, to clean up ( delete ) old unused CMS pages for store views you have deleted run this MySQL query.

DELETE FROM cms_page_store WHERE store_id NOT IN (SELECT store_id FROM core_store)

您还可以使用phpmyadmin之类的应用来手动查找具有您不知道要使用的商店ID的CMS条目,但这可能会变得混乱.

You could also use an app like phpmyadmin to manually look for CMS entries that have store IDs that you know not to be in use, but this could get messy.

原始来源: http://www.magentocommerce.com/boards/viewthread/18223/

这篇关于当尝试输入CMS页面时,Magento管理面板会显示404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆