Error from upgrading from Moodle 3.2 to 3.5

Error from upgrading from Moodle 3.2 to 3.5

by Ejiro Ekpogbe -
Number of replies: 2

Hello,

I am trying to upgrade from moodle 3.2 to 3.5 on an ubuntu server 14.04. but i get a blank page when i go to my web browser to complete the upgrade.

I ran the command tail -f /var/log/apache2/error.log and got this output:

"... script '/var/www/currentmoodlelocation/moodle/xiao.php' not found or unable to stat

...PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /var/newmoodlelocation/moodle/lib/classes/component.php on line 1265, referer: http://mymoodlewebsite/login/index.php

...PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /var/www/newmoodlelocation/moodle/lib/classes/component.php on line 1265

...PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /var/www/newmoodlelocation/moodle/lib/classes/component.php on line 1265, referer: http://mymoodlewebsite/?time=928191600

...PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /var/www/newmoodlelocation/moodle/lib/classes/component.php on line 1265, referer: http://mymoodlewebsite/calendar/view.php?view=month&course=1&time=17306262000..."

Please i need help with understanding what all these mean and how they can be fixed so that i can complete the upgrade.

Your response will be greatly appreciated.

Thank you



Average of ratings: -
In reply to Ejiro Ekpogbe

Re: Error from upgrading from Moodle 3.2 to 3.5

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Have you got the correct version of PHP?

See https://docs.moodle.org/dev/Moodle_3.5_release_notes#Server_requirements

Minimum version is 7.0.0.   Ubuntu  14.04 came with PHP 5.5 which wouldn't have worked with Moodle 3.2 either (minimum requirement PHP 5.6). 

In reply to Howard Miller

Re: Error from upgrading from Moodle 3.2 to 3.5

by Ejiro Ekpogbe -

Hello Howard,

You are right! i'm using PHP 5.5. I will update php version and try the moodle upgrade again.

Thanks a lot!