duanliao5995 2013-12-10 21:17
浏览 46

无法登录克隆的Joomla! 3.2网站

I have a local installation of Joomla! 3.2.0 (for editing and testing) and clone that to a commercial server (for publishing) as described in http://docs.joomla.org/Copying_a_Joomla_website using ssh and MySQL CLI. The only files that are NOT copied are .htacces and configuration.php.

The front end works very nicely, all content is displayed correctly, however, no user can login at the backend (/administrator): "Warning - Username and password do not match or you do not have an account yet."

I can see all users in the database of the server where login fails. Are there any PHP settings or values in configuration.php to look out for? How to approach this?

Thanks!

  • 写回答

2条回答 默认 最新

  • duan0802 2013-12-11 10:49
    关注

    Your configuration.php has a value that needs to be copied from dev to production, it's "secret" and it's used to hash passwords. If this is not there, that's the reason.

    Another possibility is that you have accidentally enabled the two factor authentication, but I'd go with the first option 99% should solve your issue.

    Update

    Joomla 3.2.1.rc just released, try that first!

    Additionally:

    Joomla plugin twofactorauth and the option to use stronger encryption doesn't properly set defaults when upgrading. Thus you might get away with forcing the params, but I don't have code for that (it's up to you).

    Link to the Joomla article "How do you recover or reset your admin password?" but it's not appropriate in 3.2, still it may work.

    Finally, a code solution was published here

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题