Unable to log in to Moodle 1.9

Unable to log in to Moodle 1.9

Flemming Bornemann -
回帖数:4

After migrating our moodle site (www.ibcit.dk/learningspace) to a dedicated server at our hosting service provider no one can log in.

When entering a fake username I get the apropriate error, but when I enter the right combination of username and PW I redirected to the front page.

 

Any suggestions?

回复Flemming Bornemann

Re: Unable to log in to Moodle 1.9

Pavel Gonzalez Garcia -

Hi Dear Flemming

When you moved the site to the new server do you update the file config.php with the right paths?

And remember erase all files from moodledata/sessions/*

Best regards, Pavel

pavel@imoodler.com

www.imoodler.com

回复Pavel Gonzalez Garcia

Ang: Re: Unable to log in to Moodle 1.9

Flemming Bornemann -

Hi Pavel

My config.php has these lines:

$CFG -> wwwroot   = 'http://www.ibcit.dk/learningspace'      ; $CFG -> dirroot   = '/var/www/sites/ibcit.dk/learningspace'            ; $CFG -> dataroot  = '/var/www/sites/ibcit.dk/learningspace/uploaddata' ; $CFG -> admin     = 'admin'   

I'm not sure where to find the sessions folder you refer to as I don't have a folder named moodledata. I tried deleting the files from uploaddata/sessions, but it made no difference.

I then added this line to config.php:                ;

$CFG->ignoresesskey = true;

But stil no luck 伤心

Best regards, Flemming

回复Flemming Bornemann

Re: Ang: Re: Unable to log in to Moodle 1.9

Bob Puffer -

moodledata is the dataroot, which you've called uploaddata.  This needs to be writeable by the web server process, many folks use 766 or 777 as their permissions for it.  you'd also need to make certain there's disk space available where uploaddata is located.