zoukankan      html  css  js  c++  java
  • magento 1.6 后台无法登录解决办法

    简介:这是magento 1.6 后台无法登录解决办法的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。

    class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=352260' scrolling='no'>

    magento 1.4.x stable has a problem on the login procedure on localhost. 
    you need to change in app/code/core/Mage/Core/Model/Session/Abstract/Varien.php

    // session cookie params
            $cookieParams = array(
                'lifetime' => $cookie->getLifetime(),
                'path'     => $cookie->getPath(),
                'domain'   => $cookie->getConfigDomain(),
                'secure'   => $cookie->isSecure(),
                'httponly' => $cookie->getHttponly()
             );

             if (!$cookieParams['httponly']) {
                unset($cookieParams['httponly']);
                 if (!$cookieParams['secure']) {
                    unset($cookieParams['secure']);
                     if (!$cookieParams['domain']) {
                        unset($cookieParams['domain']);
                    }
                 }
             }

            if (isset($cookieParams['domain'])) {
                 $cookieParams['domain'] = $cookie->getDomain();
            }
    with 
    // session cookie params
            $cookieParams = array(
                'lifetime' => $cookie->getLifetime(),
                'path'     => $cookie->getPath(),
               // 'domain'    => $cookie->getConfigDomain(),
                // 'secure'    => $cookie->isSecure(),
                // 'httponly' => $cookie->getHttponly()
            );
    /*
             if (!$cookieParams['httponly']) {
                 unset($cookieParams['httponly']);
                 if (!$cookieParams['secure']) {
                     unset($cookieParams['secure']);
                     if (!$cookieParams['domain']) {
                         unset($cookieParams['domain']);
                     }
                 }
             }

             if (isset($cookieParams['domain'])) {
                 $cookieParams['domain'] = $cookie->getDomain();
             }
    */

    爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

    http://biancheng.dnbcw.info/php/352260.html pageNo:3
  • 相关阅读:
    This project references NuGet package(s) that are missing on this computer
    Industry Engineer
    winform
    OPC
    groupbox 下的datagridview的列标题字体修改混乱
    vs远程调试
    nuget pack 时不包含依赖包(而不是引用项目的dll,区别于IncludeReferencedProjects)
    Inno Setup入门(二十二)——Inno Setup类参考(8)
    学习GitHub
    python3.4读取excel数据绘图
  • 原文地址:https://www.cnblogs.com/ooooo/p/2238705.html
Copyright © 2011-2022 走看看