Updatinh Moodle whith Attendance

Updatinh Moodle whith Attendance

by Fernando Ventura -
Number of replies: 4

Does any one know how to upgrade Moodle 1.6 to 1.8 with perfectly functional attendance module (in 1.6 Moodle version) with no losses of attendance information? It seems that we will loss all attendance information in the process... I'd like to use Moodle 1.8 BUT I do not want to lose the attendance information!!!

Is it possible? How to?

Thanks in advance.

Average of ratings: -
In reply to Fernando Ventura

Re: Updatinh Moodle whith Attendance

by Dmitry Pupinin -
Picture of Core developers Picture of Plugin developers
Yes it's possible and hasn't any difficults.
Just replace old sources of Attendance to compatible with 1.8 and upgrade Moodle.

PS: Backuping database is always good idea!
In reply to Dmitry Pupinin

Απάντηση: Re: Updatinh Moodle whith Attendance

by Katerina Katsana -
I try to upgrade attendance module from Moodle 1.4.2 to Moodle 1.8.3, but i loss old information (records) from Moodle 1.4.2. The version v2.0.2 for Moodle 1.8.3 create the table 'mdl_attforblock' without records (not upgrading), but in Moodle 1.4.2 were created the tables: 'mdl_attendance' and 'mdl_attendance_roll'. Any suggestions?

Thanks in advance!
In reply to Katerina Katsana

Απάντηση: Re: Updatinh Moodle whith Attendance

by Katerina Katsana -
The file attendance/version.php concludes this code:
<?PHP // $Id: version.php,v 1.15.4.2 2004/08/24 15:14:26 gustav_delius Exp $

/////////////////////////////////////////////////////////////////////////////////
/// Code fragment to define the version of attendance
/// This fragment is called by moodle_needs_upgrading() and /admin/index.php
/////////////////////////////////////////////////////////////////////////////////

$module->version = 2004060400; // The current module version (Date:
YYYYMMDDXX)
$module->requires = 2004052505; // Requires this Moodle version
$module->cron = 3600; // Period for cron to check this module (secs)

?>

Also, I installed the attendance block, but I loss old attendance activities.
In reply to Katerina Katsana

Re: Απάντηση: Re: Updatinh Moodle whith Attendance

by Dmitry Pupinin -
Picture of Core developers Picture of Plugin developers
It's very old module and it never was compatible with new block! About compatibility with old versions you could read in README file...
If you want repair lost data, please return old sources of module, but remember it may already not help...