Quantcast
Channel: Webkul Blog
Viewing all articles
Browse latest Browse all 5554

Magento admin not opening 404 error

$
0
0

While moving database from one to other this problem aries. Its because website_id and store_id not set in database.

So execute this slq and it works perfect :)

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;

Viewing all articles
Browse latest Browse all 5554

Trending Articles