[转]“404 error: Page not found.”在Magento管理员登录页面中
作者:互联网
此错误的原因是,管理员的store_id和website_id应该设置为 0(零).但是,当您将数据库导入新服务器时,不知何故这些值未设置为0。
打开PhpMyAdmin并在数据库中运行以下查询:
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;
转自:
https://www.it1352.com/1589480.html
http://blog.chapagain.com.np/magento-solution-to-error-404-not-found-in-admin-login-page/
标签:SET,group,UPDATE,404,Magento,error,WHERE,id,store 来源: https://www.cnblogs.com/ec04/p/14609542.html