by Malik Koné.
I am having the same problem and I cannot find a solution. Here is what I did before the problem occurred:
- 2 weeks ago, I installed MOODLE_25_STABLE with git, I'm not really a developper but I like to take good habits.
- Added a few courses for testing purposes,
- Added a plugin (auth_googleoauth2) but did not enable it
- That's it
Now, my version.php reads:
defined('MOODLE_INTERNAL') || die();
$version = 2013051401.06; // 20130514 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches
// .XX = incremental changes
$release = '2.5.1+ (Build: 20130726)'; // Human-friendly version name
$branch = '25'; // this version's branch
$maturity = MATURITY_STABLE; // this version's maturity level
$version = 2013051401.06; // 20130514 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches
// .XX = incremental changes
$release = '2.5.1+ (Build: 20130726)'; // Human-friendly version name
$branch = '25'; // this version's branch
$maturity = MATURITY_STABLE; // this version's maturity level
which seems alright to me.
Then I updated moodle wih a "git pull". It reported no errors.
I was not able to run the upgrade on the commande line as proposed in (http://docs.moodle.org/25/en/CLI) because I'm on a shared environment and I cannot find bin/apache.
Finally when I visit http://my.moodle.site/admin , I error mentioned above: ERROR!!! The code you are using is OLDER than the version that made these databases!