Error on Upgrading

Error on Upgrading

John Pap -
回帖数:2

Hi, I'm trying to upgrade from 3.2 to 3.6 but I see the error :

"Coding error detected, it must be fixed by a programmer: The data source class does not exist."

Is there a fix ?

回复John Pap

Re: Error on Upgrading

John Pap -
Here is what I see when I'm trying to open my webpage.
Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
回复John Pap

Re: Error on Upgrading

Ken Task -
Particularly helpful Moodlers的头像

How are you upgrading?

Are you following docs:

https://docs.moodle.org/400/en/Upgrading

The link above might show 400 but the process is the same for older versions of Moodle.

This last one about dataroot ... use whatever you have to browse files and view the config.php file in your moodle code.   There is a dataroot variable defined there .... it's a path.   Jot down the path then use the file browser to see about that moodledata directory ... is it found where the config file says it is?   Ownerships and permissions check on moodledata and all files/folders contained there in should be world readable and writable.

Does your server meet the requirements for PHP and DB needed to upgrade to 3.11?

Might consult this chart

http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases

'SoS', Ken