No student can login after upgrade 1.7+ to 1.9+

No student can login after upgrade 1.7+ to 1.9+

Bởi paul w -
Số lượng các câu trả lời: 5

Hi everyone,

Recently, I have upgraded my moodel site from 1.7+ to 1.9+. The upgrade process is runing smoothly without error. I use my admin account to login moodle, it seems every is find then I ask some students to login, they no longer can login moodle, I got the message "Invalid login, please try again".

Searching all moodle forums, I can't find solution with my case.

After check with my conf & logs, I have following finding:

1. Password reset doesn't work.
2. I can successful login with those account which last access is "never". (those a/c was created long time ago before the upgrade)
3. I have tried to 1.7+ --> 1.8 --> 1.9, when I upgraded to 1.8, I have the same problem, no student can login moodle.
4. I got the error message from Apache error_log, it is ([Date] [error] [client IP] [client IP] http://domain/moodle Disabled Login: username .....)

Any ideas? Any help is greatly appreciated... and I do appreciate your response.
Thanks to everyone!!

Trung bình điểm đánh giá: -
Để phản hồi tới paul w

Re: No student can login after upgrade 1.7+ to 1.9+

Bởi Howard Miller -
Hình của Core developers Hình của Documentation writers Hình của Particularly helpful Moodlers Hình của Peer reviewers Hình của Plugin developers
Check their authentication method in their profile settings. I have a vague recollection of a problem where everybody's authentication got set to "no login" which would do just this.
Trung bình điểm đánh giá:Useful (1)
Để phản hồi tới paul w

Re: No student can login after upgrade 1.7+ to 1.9+

Bởi Helen Foster -
Hình của Core developers Hình của Documentation writers Hình của Moodle HQ Hình của Particularly helpful Moodlers Hình của Plugin developers Hình của Testers Hình của Translators
Hi Paul,

Most likely you need to enable an additional authentication plugin. For more information, please see the FAQ about users not being able to login in Authentication FAQ.
Trung bình điểm đánh giá:Useful (1)
Để phản hồi tới Helen Foster

Re: No student can login after upgrade 1.7+ to 1.9+

Bởi paul w -

Helen,

Thank you for your help.

Yes, it is the authentication methold had been set to "Email-based self-registration" in profile after upgrade. It should be "Manual accounts" for my site.

I have 800+ of users, How can I change this setting for the all users in phpmyadmin ?

Thnak you.

Để phản hồi tới paul w

Re: No student can login after upgrade 1.7+ to 1.9+

Bởi Mauno Korpelainen -

Select correct database, press tab SQL in phpmyadmin and run SQL query:

UPDATE mdl_user SET auth='manual' WHERE auth='email';

Press Go

Trung bình điểm đánh giá:Useful (1)
Để phản hồi tới Mauno Korpelainen

Re: No student can login after upgrade 1.7+ to 1.9+

Bởi paul w -

Hi Mauno Korpelainen,

Greatly appreciated for your help, you solved my problem.

Thank.