can't login after upgrading

can't login after upgrading

solmaz naderi發表於
Number of replies: 6

Hi every one

 I have installed moodle 2.9+ on xampp server and my OS is  window server . I have enabled ldap authentication on that and it's working without any problem. but , my problem is that i want to have this LMS on another server .

for this reason, I installed moodle 2.9+ in another server and export database from main server and import to new server and copy all folders that are need to new server(such as moodledata,....)

my problem is that, I cant login in new moodle! as you see in fallowing image , when i enter admin user name and pass word I return to an empty page. 


would you help me how can i fix this problem?

cheers

Solmaz

評比平均分數: -
In reply to solmaz naderi

Re: can't login after upgrading

Torsten Händler發表於

have you restart your server or clear your browsercachen? I can open the URL and see the login fields

In reply to Torsten Händler

Re: can't login after upgrading

solmaz naderi發表於

Yes. I have restarted my server several times and cleared browser's history. 

I can see login page too , my problem is that i can't login with admin or any account to my moodle, when i enter username and password i redirect to blank page...


In reply to solmaz naderi

Re: can't login after upgrading

Simon Rediss-Whitfield發表於

Delete moodledatafolder contents (backup first) which will then repopulate and ta da it should work its always worked for me)

In reply to Simon Rediss-Whitfield

Re: can't login after upgrading

Floyd Saner發表於

Solmaz, if you have course content in moodledata from your previous installation, then you do not want to delete the entire moodledata folder. You will lose all your content. You can try deleting moodledata/localcache and moodledata/cache.

The first issue that comes to my mind is the LDAP authentication.  Are you certain the second installation can access the LDAP server? If not, then you will need to access the moodle database. In table mdl_user, change the 'auth' field to manual.

Floyd


In reply to Simon Rediss-Whitfield

Re: can't login after upgrading

solmaz naderi發表於

Mr Simon

first of all, thanks for your response

I tried your solution but exist same problem still...

By the way, except moodledata Ihave copied another folders such as php, phpmyadmin.... 

because i didn't know which folders must be copy exactly


thanks in advance


In reply to solmaz naderi

Re: can't login after upgrading

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
Just in case: Making a copy of a running Moodle is a "migration" - from one URL to another. Therefore you should have followed https://docs.moodle.org/29/en/Moodle_migration.

Or, closely related, you can go through first a https://docs.moodle.org/29/en/Site_backup and then a https://docs.moodle.org/29/en/Site_restore.