Magento 管理面板在尝试输入 cms 页面时给出 404 [英] Magento admin panel gives 404 when trying to enter cms pages

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

问题描述

当我尝试在导航中输入 CMS/Pages 时,我使用的是 Magento 1.4.1.1,它在 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?

推荐答案

遇到了这个问题..

您在 CMS 页面上收到 404,因为在从 Magento 管理员删除商店视图后,旧的商店视图的剩余部分仍在数据库中,清理(删除)旧的未使用的 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/

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

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