Version mismatch: lesson can't downgrade 2005063000 -> 2005060900 !
by mike alfred -
Number of replies: 5
In reply to mike alfred
Re: Version mismatch: lesson can't downgrade 2005063000 -> 2005060900 !
by Martin Dougiamas -
Looks like you have copied the 1.6 version of Lesson into Moodle 1.5, and are now trying to go back to the 1.5.2 version of Lesson. This will not work.
Are you using the Lesson module?
If not, delete the module from Admin >> Config >> Modules and then go back to the admin page to let it re-install.
If you are, the perhaps the Lesson authors can offer some advice on a hack.
Are you using the Lesson module?
If not, delete the module from Admin >> Config >> Modules and then go back to the admin page to let it re-install.
If you are, the perhaps the Lesson authors can offer some advice on a hack.
In reply to mike alfred
Re: Version mismatch: lesson can't downgrade 2005063000 -> 2005060900 !
by Mark Nielsen -
If you can, follow Martin's advice
If not, then you have to hack your database. Follow these steps to do this:
Good luck,
Mark
If not, then you have to hack your database. Follow these steps to do this:
- Back up your database
- After backing up your database, you need to change lesson's version number
- Find prefix_modules table in your database
- Find the record for the lesson module
- Change the version number from 2005063000 to 2005060900
- Now you need to remove some table columns in the lesson table
- Find prefix_lesson table in your database
- Delete the following columns: mediafile, dependency and conditions
Good luck,
Mark
In reply to Mark Nielsen
Re: Version mismatch: lesson can't downgrade 2005063000 -> 2005060900 !
by Jerome Carujo -
Hello
I have a similar problem and just to be sure that I'm not about to do something really stupid, I'd like to double-check it with you.
My version mismatch is slightly different:
Version mismatch: lesson can't downgrade 2005061500 -> 2005060900 !
Step 1 and 2 are easy enough but on step 3, I can't find any dependency or conditions column.
Does it mean that the only column I have to remove is mediafile?
Thanks for your help.
I have a similar problem and just to be sure that I'm not about to do something really stupid, I'd like to double-check it with you.
My version mismatch is slightly different:
Version mismatch: lesson can't downgrade 2005061500 -> 2005060900 !
Step 1 and 2 are easy enough but on step 3, I can't find any dependency or conditions column.
Does it mean that the only column I have to remove is mediafile?
Thanks for your help.
In reply to Jerome Carujo
Re: Version mismatch: lesson can't downgrade 2005063000 -> 2005060900 !
by Mark Nielsen -
Does it mean that the only column I have to remove is mediafile?
Yes, you have a slightly older version of lesson than Mike. Your version (2005061500) implemented the mediafile field. Mike's version (2005063000) also implemented the dependency and conditions fields.
Cheers,
Mark
Yes, you have a slightly older version of lesson than Mike. Your version (2005061500) implemented the mediafile field. Mike's version (2005063000) also implemented the dependency and conditions fields.
Cheers,
Mark
In reply to Mark Nielsen
Re: Version mismatch: lesson can't downgrade 2005063000 -> 2005060900 !
by Jerome Carujo -
Thanks a lot for the info.
It went smoothly ^_^
It went smoothly ^_^