Hello All, I am looking for a little bit of assistance in setting up my dataroot location, I have moodle installed on a windows server with godaddy and it was working great. Recently godaddy shut it down because the data file was too large for our user agreement. I have decided to move the file to a cloud server that we have that hosts several of our other websites, however i am getting a data root error when pointing to the new folder on a different server, I am using the url of the location.
Any suggestions?
thank You
<?php // Moodle configuration file
unset($CFG);
global $CFG;
$CFG = new stdClass();
$CFG->dbtype = 'mysqli';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'XX.XX.XXX.XXX';
$CFG->dbname = 'aviatorcollege_moodle';
$CFG->dbuser = 'moodle';
$CFG->dbpass = 'XXXXXXXXX';
$CFG->prefix = 'mdl_';
$CFG->dboptions = array (
'dbpersist' => 0,
'dbsocket' => 0,
);
$CFG->wwwroot = 'http://moodle.aviator.edu';
$CFG->dataroot = 'http://moodlenewlocation.com/moodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 0777;
$CFG->passwordsaltmain = 'B8QP~j33!HvZ7?yz4(t&!FFi`*A9f+';
require_once(dirname(__FILE__) . '/lib/setup.php');
// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!