首页 > 日记 > magento admin cms page 404
2015
02-04

magento admin cms page 404

I’ve only been using Magento for a few days but have found it to be a breeze so far with just about everything working fine.

The only problem I’m having is that when I try to get to CMS > Manage Pages from the Admin Panel I receive a 404 error.

I have installed the most recent update (but I had the problem before the update as well). No hacks have been done to any code yet.

I’m not a PHP expert, nor do I have a lot of systems admin experience so I’m really hoping someone here can point me in the right direction to solve this problem.

 

Found a solution for this that works in my scenario. Take a peak in your `cms_page_store` SQL table. You’ll more than likely see one or more entries there for stores that no longer exist. In my case, I had a page_id of 2 (Home Page) that had entries for store id 1, 2 and 3. Since I deleted stores with ID of 2 and 3, those cms_page_store relations were no longer valid.

I simply removed the two offending entries from this table and now CMS/Manage Pages works properly in the admin.

Not sure if there are any other references to these now missing stores anywhere else in the database, but I can only imagine they would be dealt with in a similar manner.

Seems like those relations should be toasted automagically when the store view is deleted via ‘Manage Stores’??

Hope this helps!

 

http://www.magentocommerce.com/boards/viewthread/18223/

最后编辑:
作者:ning
这个作者貌似有点懒,什么都没有留下。