【问题标题】:Magento Admin stuck at "Please wait" when updating orderMagento 管理员在更新订单时卡在“请稍候”
【发布时间】:2017-01-04 16:04:23
【问题描述】:

我已将我的网站切换到 SSL。并将 Unsecure og Secure Base URL 设置为 https。 但是,当我在后端添加或删除产品时尝试更新订单时,网站卡住了“请稍候”消息。 在控制台中,我可以看到由于混合内容而没有加载:

混合内容:“https://example.com/index.php/admin/sales_order_create/index/key/4e0ec3c2ddd4bd7919035ba6f18b23dc”处的页面通过 HTTPS 加载,但请求了不安全的表单操作“http://example.com/index.php/admin/sales_order_create/showUpdateResult/key/d7d847bf0a9637587ce481f58c88e703”。此请求已被阻止;内容必须通过 HTTPS 提供

如何解决这个 https 问题?

【问题讨论】:

标签: magento ssl https magento-1.9


【解决方案1】:
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

在您的 htaccess 文件中尝试此代码。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-04-30
    • 1970-01-01
    • 1970-01-01
    • 2022-11-10
    • 2015-08-16
    • 2012-11-25
    • 1970-01-01
    相关资源
    最近更新 更多