cancel
Showing results for 
Search instead for 
Did you mean: 

Admin CMS Pages gives 404 after deleted a store

Admin CMS Pages gives 404 after deleted a store

I have searched google for solutions for hours, and I allready have tryed, without luck, this solution:

DELETE FROM cms_page_store WHERE store_id NOT IN (SELECT store_id FROM core_store);
SET FOREIGN_KEY_CHECKS=0;
UPDATE `core_store` SET store_id = 0 WHERE code='admin';
UPDATE `core_store_group` SET group_id = 0 WHERE name='Default';
UPDATE `core_website` SET website_id = 0 WHERE code='admin';
UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
SET FOREIGN_KEY_CHECKS=1;

I also have flushed the cashe in System Cache mangement. 

I still get a 404 error when I click at CMS Pages.

 

Can anyone please help me with some other surgestions?
Regards, Leif