We are trying to restore courses from our live version of Moodle (v3.11.10+) to our sandbox site (v4.1.5+) and are encountering some problems.
1) Some courses are not restoring at all and simply return the message "error connecting to the server" when trying to drop the backup .mbz file in. Filesize 285,215 kb.
2) Some courses are restoring and seem to be OK once the restore has complete, but are returning the message "Technical information and warnings" and
"Warning: file_exists():open_basedire restriction in effect. File (/db/access.php) is not within the allowed path(s): (/var/www/vhosts/[url]/:/tmp/) in /var/www/vhosts/[url/url]/lib/accesslib.php on line 2569"
"Error output, so disabling automatic redirect."
I am not familiar with php or these error message, so if someone is able to provide me with some understanding of what these error messages mean, in laymans terms, and how we go about resolving them, that would be greatly appreciated.
Thanks in advance.