简体   繁体   English

如何从magento数据库的管理面板中删除https为403错误

[英]How to remove https from admin panel in magento database as getting 403 error

I have wrongly activate secure web config and written 'https' where it is 'http'. 我错误地激活了安全的网络配置并写了'https',它是'http'。 I have checked database table : core_config_data. 我检查了数据库表:core_config_data。 web/secure/use_in_frontend and web/secure/use_in_adminhtml is '0' and web/secure/offloader_header is SSL_OFFLOADED. web / secure / use_in_frontend和web / secure / use_in_adminhtml为'0',web / secure / offloader_header为SSL_OFFLOADED。

Also remove cache and session data. 还删除缓存和会话数据。 Still I didn't get any solution. 我仍然没有得到任何解决方案。

Please do the needfull as admin panel is redirecting to 'https' instead of 'http' 由于管理员面板重定向到“https”而不是“http”,请执行needfull

Reset “Use Secure in Front End or Admin” in Database – Magento 重置数据库中的“在前端或管理中使用安全” - Magento

I ran into an issue this week where I switched on SSL on a development site and then realized the SSL cert was not installed correctly. 本周我遇到了一个问题,我在开发网站上启用了SSL,然后意识到SSL证书安装不正确。 This is a big issue in Magento because there is no way to get back to the admin to switch it back off. 这是Magento的一个大问题,因为没有办法回到管理员关闭它。

If this ever happens do the following to switch back: 如果发生这种情况,请执行以下操作切换回:

  1. Open up your admin panel (cPanel or other) 打开管理面板(cPanel或其他)
  2. Go to phpMyAdmin (if MySql) 转到phpMyAdmin(如果是MySql)
  3. Find your Magento Database 找到您的Magento数据库
  4. Find table “core_config_data” 查找表“core_config_data”
  5. Look for the columns “web/secure/use_in_frontend” and “web/secure/use_in_adminhtml” 查找列“web / secure / use_in_frontend”和“web / secure / use_in_adminhtml”
  6. Edit both values, make them equal to “0” 编辑两个值,使它们等于“0”

After this is done you will be back in action. 完成此操作后,您将重新开始行动。

AFter making the above changes delete your website cache, Either FTP to your public directory or use your file manager from your hosting agreement and delete the contents of the /var/cache folder. 在进行上述更改后,删除您的网站缓存,将FTP下载到您的公共目录,或者使用托管协议中的文件管理器并删除/ var / cache文件夹的内容。 I had this exact issue and as soon as i deleted my cache it resolved the issue. 我有这个确切的问题,一旦我删除了我的缓存,就解决了这个问题。

Check the value of web/secure/base_url path in core_config_data. 检查core_config_data中web / secure / base_url路径的值。

You can change this from https to http. 您可以将其从https更改为http。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM