Moodle:无效的登录名,请重试 [英] Moodle: Invalid login, please try again

查看:525
本文介绍了Moodle:无效的登录名,请重试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Moodle从一台主机迁移到另一台主机,但首先我想将其安装在PC上,以便将其用作参考指南.无法检查我的旧托管文件,因为与它们的合同已被取消,我最近被录用了这份工作,这很令人惊讶.

I'm migrating Moodle from one hosting to another but first I want to install it on my PC so I can use it as a reference guide. There's no way to check my old hosting files because the contract with them was already cancelled, I was recently hired for this job and it was a surprise.

我已经备份了他们拥有的所有内容(moodle和moodledata文件夹,数据库...,但是他们没有备份他们的课程,我只有文件夹和数据库).现在,我想在计算机上安装它(我想参考课程的内容和结构等).

I have a back up of everything they had (moodle and moodledata folders, database... but they didn't back up their courses, I only have folders and database). And now I want to install it on my computer (I want to have a reference of the contents and structure of the courses, etc).

我正在运行Xampp,我复制了htdocs下的文件夹,修改了config.php文件以连接到数据库,并且页面看起来与原始页面相同,但是当我想使用用户名启动会话时问题就开始了和密码,因为Moodle不再识别我的登录数据.这很奇怪,因为我复制了旧主机中的所有内容.

I'm running Xampp, I copied the folders under htdocs, modified the config.php file to connect to the database and the page looks the same as the original, but the problem starts when I want to start my session with username and password, because Moodle no longer recognizes my login data. It's very weird, because I copied everything as it was in their old hosting.

我也已经在config.php文件中修改了Windows的目录和文件的路径,但是仍然无法正常工作.有人知道会发生什么吗?我为您附加了config.php:

I also have adapted the paths of directories and files for Windows in the config.php file, but still doesn't work. Does anyone know what might be happening? I'm attaching my config.php for you:

config.php

我应该澄清一下,我正在运行的Moodle版本是2.6.11(它们的托管服务器具有PHP 5.3.29和MySQL 5.1.73-cll,我尝试使用许多不同版本的PHP运行不同版本的Wamp和Xampp和MySQL).我知道,他们之前没有迁移过,这很糟糕.

I should clarify that the version of Moodle I'm running is 2.6.11 (their hosting had PHP 5.3.29 and MySQL 5.1.73-cll and I tried running different versions of Wamp and Xampp with many different versions of PHP and MySQL). I know, it's terrible they didn't migrate before.

推荐答案

您是否将密码盐从原始系统复制到了本地config.php?

Did you copy the password salt from the original system to your local config.php?

这篇关于Moodle:无效的登录名,请重试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆