can't login

can't login

by Reiner Watschonek -
Number of replies: 1

Hi,

From the beginning of the installation process on, I had a error message about permission denied to open session /write to session, which I ignored and continued the installation. Tables were created fine, language and other settings fine, but then, no chance to define admin. Suddenly the script advanced to the general login screen. I think this is where the problem is originated.

When I call http://infomorelos.com/aprender/admin , I get a message that only admins/teachers can use this page.

When I call http://infomorelos.com/aprender  I see immediately an session related error message on the bottom of my page:

Warning: Unknown(): open(C:\winnt\PHP\sessiondata\sess_afc55aad3c615e77bb6083b958b2ac23, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\winnt\PHP\sessiondata) in Unknown on line 0

I tried to login as admin/admin or as a newly created user 'pablo', but I always remain as not logged. How comes this message appears as soon as I access the page?

I have checked globals and sessions.auto_start settings, everything is fine except session.bug warning which is ON. I also have created a user 'pablo' and have inserted his userID into the admin_users table. Can't login either.

reading through earlier psosts, it seems that other people have had similar problems, but the related posts , apparently don't provide soultion. Is there something I can do , maybe with the .htaccess file in my infomorelos.com/aprender (=moodle main) directory or should I better forget about moodle?

Thank you in advance

Reiner

Average of ratings: -
In reply to Reiner Watschonek

Re: can't login

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
It's not a Moodle error, it's a PHP configuration problem.

Have you made a directory C:\winnt\PHP\sessiondata ?

Is it read/writeable to all?

Cheers,
Martin