Upgrading to 1.6.6

Upgrading to 1.6.6

by Jim Jarrell -
Number of replies: 2

Please forgive my ignorance, but I'm not a code expert, so if the solution to this problem seems simple to you, just consider that I'm a veritable kindergarterner when it comes to php coding.

Our Academy is trying to upgrade to the most recent version of Moodle, but I realized I need to get to 1.6 so I can do the unicode migration, so I'm installing 1.6.6 and after uploading all the files via ftp, I visit the moodle/admin and get this error message:

Fatal error: Cannot redeclare required_param() (previously declared in /home/.../public_html/moodle16/lib/moodlelib.php:223) in /home/.../public_html/moodle16/lib/deprecatedlib.php on line 241

My initial thought was that the file didn't transfer via ftp, so I went into the extracted zip that I downloaded from the Moodle downloads (which is what I was uploading via ftp) and went searching for "deprecatedlib.php" and it DOES NOT EXIST ANYWHERE in the directory.

Has anyone else experienced this problem?  How can I fix this so that I can upgrade successfully?  Thanks in advance for your help!

To duplicate this problem, visit:  http://acupuncturist.edu/moodle16/admin

Average of ratings: -
In reply to Jim Jarrell

Re: Upgrading to 1.6.6

by Jim Jarrell -

Whoops!  Not sure how this happened, but half of the error message didn't copy over above.  Here's the entire error message:

Warning: require_once(./lib/deprecatedlib.php) [function.require-once]: failed to open stream: No such file or directory in /home/.../public_html/moodle16/install.php on line 131

Fatal error: require_once() [function.require]: Failed opening required './lib/deprecatedlib.php' (include_path='.:/usr/local/php5/lib/php') in /home/.../public_html/moodle16/install.php on line 131

So...where can I download deprecatedlib.php that was apparently NOT included in the zipped download pack for this upgrade?  Anyone?  Anyone?

In reply to Jim Jarrell

Re: Upgrading to 1.6.6

by Mathieu Petit-Clair -
Picture of Core developers Picture of Moodle HQ Picture of MoodleCloud team Picture of Plugin developers Picture of Testers
Hi,

This was a bug, introduced two weeks ago. It will be fixed in the next daily build (in a few hours) of 1.6.6+, on http://download.moodle.org/

The bug shouldn't be in the latest 1.6.6 (not the daily build), as it was introduced after this release.

You can also remove the line "require_once('./lib/deprecatedlib.php');" in install.php.

See http://tracker.moodle.org/browse/MDL-4218 for details or if there is still a problem with the new package.

Mat