Flat file (CSV) from Wednesday, 31 December 1969, 6:00 PM

Flat file (CSV) from Wednesday, 31 December 1969, 6:00 PM

by Jim Angel -
Number of replies: 3

All,

After upgrading from 2.4 to 2.6, our flatfile enrollments are showing up as the epoch 0 date (Wednesday, 31 December 1969). Our server time is set correctly and moodle is set to use the server time.

What am I over looking? Thanks!

Average of ratings: -
In reply to Jim Angel

Re: Flat file (CSV) from Wednesday, 31 December 1969, 6:00 PM

by Paul Lindgreen -
Picture of Particularly helpful Moodlers
Having similar problem, upgrading from 2.5.4 to 2.6.5

Date listed is 'Flat file (CSV) from Wednesday, 31 December 1969, 8:00 PM'.

The students role is blank as well, student role is in the csv, the csv is the same used in production , here's a sample record:
add,student,ZZZZZZ,2014FA_BIOL_2205_02

Uploaded the file a second time and student role was added but the 1969 date remained.


In reply to Paul Lindgreen

Re: Flat file (CSV) from Wednesday, 31 December 1969, 6:00 PM

by Paul Lindgreen -
Picture of Particularly helpful Moodlers
I am using a Windows IIS server. Would this cause the problem seeing as its referring to a unix time (epoch time)
In reply to Jim Angel

Re: Flat file (CSV) from Wednesday, 31 December 1969, 6:00 PM

by Sharon Strauss -
Picture of Testers

Hello,

I've seen the same thing. I'm not sure when it started, but it may have been when I upgraded from 2.4 to 2.6

I am now setting up an entirely new 2.8 instance, on a new VM, and the problem persists. The log file seems to know exactly when the enrollments ran, but the users list is wrong:

From the log file on one of the courses:

"23 Apr, 15:45"    Admin User    Ben     Course: CHEMH111A03.F15 - Chemical Structure and Bonding    System    User unenrolment updated    The user with id '2' updated the enrolment for the user with id '1855' using the enrolment method 'flatfile' in the course with id '503'.    cli   
"23 Apr, 15:45"    Admin User    Louise     Course: CHEMH111A03.F15 - Chemical Structure and Bonding    System    User unenrolment updated    The user with id '2' updated the enrolment for the user with id '1086' using the enrolment method 'flatfile' in the course with id '503'.    cli   
"23 Apr, 15:32"    Admin User    Ben     Course: CHEMH111A03.F15 - Chemical Structure and Bonding    System    Role assigned    The user with id '2' assigned the role with id '13' to the user with id '1855'.    cli   
"23 Apr, 15:32"    Admin User    Ben     Course: CHEMH111A03.F15 - Chemical Structure and Bonding    System    User enrolled in course    The user with id '2' enrolled the user with id '1855' using the enrolment method 'flatfile' in the course with id '503'.    cli   
"23 Apr, 15:30"    Admin User    Louise     Course: CHEMH111A03.F15 - Chemical Structure and Bonding    System    Role assigned    The user with id '2' assigned the role with id '3' to the user with id '1086'.    cli   
"23 Apr, 15:30"    Admin User    Louise     Course: CHEMH111A03.F15 - Chemical Structure and Bonding    System    User enrolled in course    The user with id '2' enrolled the user with id '1086' using the enrolment method 'flatfile' in the course with id '503'.    cli    


From the "enrolled users" list in that same course:

First name / Surname / First name - phonetic / Surname - phonetic / Middle name / Alternate name / Email address Last access to course Roles Groups Enrolment methods
Picture of Louise Charkoudian
Louise

Never
TeacherUnassign role Teacher

Flat file (CSV) from Wednesday, 31 December 1969, 7:00 PM

Picture of Louise Charkoudian
Ben

Never
StudentUnassign role Registered Student
Flat file (CSV) from Wednesday, 31 December 1969, 7:00 PM

Any ideas?