Solved problem with sessions

Solved problem with sessions

by Alfredo Beltramo -
Number of replies: 3
I installed Moodle 1.2.1. When entering into admin I get:
Warning: It appears your server does not support sessions

I solved the problem adding the following line in config.ini :

ini_set('session.save_path' , '/www/mysite/htdocs/moodle/session');

Hope this helps someone wink
Average of ratings: -
In reply to Alfredo Beltramo

Re: Solved problem with sessions

by W Page -
Hi Alfredo,

Thank you for posting this information. I had this problem twice after upgrading and saw the same message. I just removed the site and db and then reinstalled Moodle each time and the problem went away. After the second install I have not seen it again for a long time. 
I am going to bookmark it though.

BTW, where is the "config.ini" file located??

I am going to bookmark it though.

Thanks again.

WP1.

In reply to W Page

Re: Solved problem with sessions

by Alfredo Beltramo -
Sorry, the file is config.php.

Note that with this instruction, the script will store the sessions in the dir indicated in the path. So, you must assign an existent dir or you will have a similar error message.
Be careful if you copy the last part of the path I have written as an example because it ends in '...moodle/session', the directory session was created by me.