Moodle

Cookies- The log in page teles me I have not enabled cookies. This is not true.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Accessibility
  • Labels:
    None
  • Environment:
    Apache , that is already running previous versions of moodle and other CMS -
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

I go to my moodle log in page - and I log in and it says

Your cookies are not enabled- I see a few others are now having this issue?

I refresh, login from several links and the issue is still the same.

I can Log into other moodle sites seconds after but not this one.?

So the cookie issue on my own computer is not the issue?

I have reset the cookies on my computer many times even to accept all etc.

John

Issue Links

Activity

Hide
Mary M Rydesky added a comment -

I have this message, too - in Firefox. Using 1.8.4 – did not have it in 1.6. I will be logged in and working continuously, then the system will tell me I have timed out after which I cannot log in - after attempting log in 5 - 8 times, it WILL let me back in. This drama can repeat itself endlessly until I give up and stop moodling. I agree that the issue is unlikely to be the cookies, having checked that mine are reset/accepting/etc numerous times. And then there is the fact that I CAN get in and edit for a while, after which the routine starts! – Mary

Show
Mary M Rydesky added a comment - I have this message, too - in Firefox. Using 1.8.4 – did not have it in 1.6. I will be logged in and working continuously, then the system will tell me I have timed out after which I cannot log in - after attempting log in 5 - 8 times, it WILL let me back in. This drama can repeat itself endlessly until I give up and stop moodling. I agree that the issue is unlikely to be the cookies, having checked that mine are reset/accepting/etc numerous times. And then there is the fact that I CAN get in and edit for a while, after which the routine starts! – Mary
Hide
Eloy Lafuente (stronk7) added a comment -

Assigning this to Petr Skodak, he has fought with sessions and cookies a lot and perhaps it can suggest something (I really think it's something in your side, because I've here such versions and don't exhibit the problem).

Thanks and ciao

Show
Eloy Lafuente (stronk7) added a comment - Assigning this to Petr Skodak, he has fought with sessions and cookies a lot and perhaps it can suggest something (I really think it's something in your side, because I've here such versions and don't exhibit the problem). Thanks and ciao
Hide
john oconnor added a comment -

went to 15 different machines today. as my students we asked to log in.

all 15 machines came back with the cookies not enabled.?

boy was I popular.- I then created a new moodle folder and copied all the back upfiles uploaded them and the site worked well.

Still have not soleved the issue but going again for a while.

I'mm hoping the automated back up will create a file I can copy all my stuff off that site. I'll have to wait the week to see

Show
john oconnor added a comment - went to 15 different machines today. as my students we asked to log in. all 15 machines came back with the cookies not enabled.? boy was I popular.- I then created a new moodle folder and copied all the back upfiles uploaded them and the site worked well. Still have not soleved the issue but going again for a while. I'mm hoping the automated back up will create a file I can copy all my stuff off that site. I'll have to wait the week to see
Hide
Shane Thomas added a comment -

I was having this same issue and after a bunch of poking around found out that my installation had previously incorrectly defined configuration option that was never before an issue. The "sessioncookiepath" set on the "config" table in your database must either be "/" meaning the cookie is good for our entire domain or "/installdir" to be good for only the installation directory of your domain. I mention the database table because if you don't have access to the Moodle system as I didn't this is the only way to change this value without reverting to a previous version.

I hope this helps

Show
Shane Thomas added a comment - I was having this same issue and after a bunch of poking around found out that my installation had previously incorrectly defined configuration option that was never before an issue. The "sessioncookiepath" set on the "config" table in your database must either be "/" meaning the cookie is good for our entire domain or "/installdir" to be good for only the installation directory of your domain. I mention the database table because if you don't have access to the Moodle system as I didn't this is the only way to change this value without reverting to a previous version. I hope this helps
Hide
Petr Škoda (skodak) added a comment -

This was most probably a server/Moodle configuration issue, hopefully we will improve the diagnostics significantly in Moodle 2.x, unfortunately some problems can not be detected easily - administrators have to be careful when changing and cookie related settings, sorry.

Petr Skoda

Show
Petr Škoda (skodak) added a comment - This was most probably a server/Moodle configuration issue, hopefully we will improve the diagnostics significantly in Moodle 2.x, unfortunately some problems can not be detected easily - administrators have to be careful when changing and cookie related settings, sorry. Petr Skoda

People

Dates

  • Created:
    Updated:
    Resolved: