C:\xampps\htdocs\html\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php 大概114行 注释掉
// if (isset($cookieParams['domain'])) {
// $cookieParams['domain'] = $cookie->getDomain();// }
前台不能 登录注册:
As soon as you have your SSL purchased and installed you can activate it for your Magento store via your Magento Admin panel -> System -> Configuration section.
On the left side you should click on the Web and refer to the Secured menu.
In this section you should edit the following values:
Base URL: Change the url from http://example.com/ to https://example.com/ where example.com is your actual domain name.
Use Secure URLs in Frontend: By default Magento will protect all pages on which your clients input any sensitive information such as check out and register/login pages. Still, if you would like to have your Magento store to work via HTTPS only, you may set this value to YES. Still, be advised that enabling your SSL for your Magento Store frontend might have negative performance effect on your website as data encryption requires additional time and resources from your website.
Use Secure URLs in Admin: If you would like to have your Magento Admin panel accessible only via HTTPS you should consider setting this value to YES.