dozug64282 2016-01-03 11:07
浏览 37
已采纳

云服务器上的Magento管理员登录失败

I have purchased a magento theme to build my fashion store. At first I purchased a Linux 10GB web hosting package and I finished my website successfully on that. But after that I realized the web server that I purchased is not stable. There were multiple server down times. So I decided to buy a unlimited Cloud Hosting package. After that I tried to install the same theme "quick-start package" on it. But after installing it it doesn't allow me to login to the admin panel. It says Invalid Username or Password. Please help me to fix this problem. Is there any service that I have to enable? cURLS and mod-rewrite are enabled.

I modified the password from database. But it didn't work.

  • 写回答

1条回答 默认 最新

  • duanao2688 2016-01-03 11:24
    关注

    This may help - this isn't my answer but I know its worked for people with the same issue.

    Id put your password back as it was - hope you kept a backup!

    If you are having trouble to get logged in with the correct username and password, here are some ideas. If you have used google chrome to install magento, use firefox to open magento and edit the app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory and comment those below lines

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

    And use your credentials to log in. I hope this works for you!!!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?