Help My students disapeard

Re: Help My students disapeard

by Junaid Haroon -
Number of replies: 0
It happened with me again when I upgraded the latest version from cvs after the upgrade was successfully completed. And I upgraded the whole package as Martin said in another thread. I tried to find the problem and again the two functions get_course_students and get_course_teachers were not working.

When I directly ran the queries the two functions were generating mysql reported that timeaccess is not a field which was certainly not there in the database when I checked.

It seems the upgrade somehow skipped this check in lib/db/mysql.php
if ($oldversion < 2003102700)
even though it did added the showreports that is below this check and all other upgrades.

I added the code from this part to a new file with just config.php included above it and accessed it to manually upgrade and after that everything seems to be back to normal.

It seems strange but the developers might have a better idea of what happened. May be it is because a version dispatched after 2003102700 missed this upgrade line and it was added later or may be something else.

Junaid