Magento 管理员在更新订单时停留在 "Please wait"
Magento Admin stuck at "Please wait" when updating order
我已将我的网站切换到 SSL。并将 Unsecure 和 Secure Base URL 都设置为 https。
但是,当我尝试在后端添加或删除产品时更新订单时,该网站会卡住 "Please wait" 消息。
在控制台中,我可以看到它由于混合内容而未加载:
混合内容:位于“https://example.com/index.php/admin/sales_order_create/index/key/4e0ec3c2ddd4bd7919035ba6f18b23dc' was loaded over HTTPS, but requested an insecure form action 'http://example.com/index.php/admin/sales_order_create/showUpdateResult/key/d7d847bf0a9637587ce481f58c88e703”的页面。此请求已被阻止;内容必须通过 HTTPS
提供
如何解决这个 https 问题?
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
在您的 htaccess 文件中尝试此代码。
我已将我的网站切换到 SSL。并将 Unsecure 和 Secure Base URL 都设置为 https。 但是,当我尝试在后端添加或删除产品时更新订单时,该网站会卡住 "Please wait" 消息。 在控制台中,我可以看到它由于混合内容而未加载:
混合内容:位于“https://example.com/index.php/admin/sales_order_create/index/key/4e0ec3c2ddd4bd7919035ba6f18b23dc' was loaded over HTTPS, but requested an insecure form action 'http://example.com/index.php/admin/sales_order_create/showUpdateResult/key/d7d847bf0a9637587ce481f58c88e703”的页面。此请求已被阻止;内容必须通过 HTTPS
提供如何解决这个 https 问题?
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
在您的 htaccess 文件中尝试此代码。