Update

Update

by Jacob Romeyn -
Number of replies: 2

I tried to install the cvs   update -dP on my standby experimental serverand got the following error:

Parse error: parse error in /var/www/html/moodle/lib/moodlelib.php on line 3

Fatal error: Call to undefined function: get_records_sql() in /var/www/html/moodle/lib/setup.php on line 35

 

 


Average of ratings: -
In reply to Jacob Romeyn

Re: Update

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Have you looked for an oddity on line 3 of moodlelib.php? Sometimes cvs will have trouble merging old/new versions (if you've made modifications to files) and cause errors like that.
In reply to Martin Dougiamas

Re: Update

by Jacob Romeyn -
I looked  at line 3 and it had a lot of garbled stuff in it, I tried to fix it but resorted to reinstall it.  It works fine now.