我已经改变了系统>配置>高级>管理>安全>允许Magento后端在框架内运行,从它的默认“只从相同的域”到“启用”,我无法登录到我的管理面板。上面写着404没有找到。我想从(script/.htaccess)后端重置回“只从相同的域”。
有没有可能。
谢谢
发布于 2016-05-12 01:23:38
这应该不是问题-您可以尝试使用rm -rf <YOUR MAGENTO ROOT>/var/*
清除缓存文件夹。
如果这不起作用,您可以通过数据库查询将此设置重新设置为“仅从相同来源”。
为此,请在Magento数据库上运行以下命令:
UPDATE core_config_data SET value=2 WHERE `path`='admin/security/domain_policy_backend';
发布于 2016-05-12 22:15:18
我已经完成了以下步骤来解决这个404错误。希望可以帮助通过编程解决someone.This错误。
Go to your cpanel and launch phpMyAdmin.
Locate your Magento Database and select the core_config_data table.
Locate and edit the following rows:
Scope:"Default" and Path:"admin/url/custom"
Select the NULL checkbox and save.
Scope:"Default" and Path:"admin/url/use_custom"
Change value from 1 to 0 and save.
Scope:"Default" and Path:"admin/url/use_custom_path"
Change value from 1 to 0 if it isn't already and save.
Locate and delete the following rows:
Scope:"Stores" and Path:"web/secure/base_url"
Scope:"Stores" and Path:"web/unsecure/base_url" (should be located on the last page)
Delete /var/cache folder
https://stackoverflow.com/questions/37166805
复制相似问题