0

when i after installing magento try goto CMS->Pages - i see 404 error, when i try found solution via mysql, also not working, i use this query:

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

not working

can you help me with solutions? Thanks

1 Answer 1

2

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 cmd.

DELETE FROM cms_page_store WHERE store_id NOT IN (SELECT store_id FROM core_store) 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.

2
  • sorry, i not understood
    – John Genry
    Feb 1, 2015 at 16:02
  • Kindly give your website link or screenshots Feb 1, 2015 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.