can't login after upgrading

can't login after upgrading

solmaz naderi -
回帖数: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

回复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

回复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...


回复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)

回复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


回复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