I turned on debugging & I get this when I try to make a backup - & also on all other pages as well
Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/me:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/me/public_html/lib/moodlelib.php on line 10003
Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/usr/bin/uptime) is not within the allowed path(s): (/home/me:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/me/public_html/lib/moodlelib.php on line 10006
this is what is at those lines in that document:
// Grab the load average for the last minute
// /proc will only work under some linux configurations
// while uptime is there under MacOSX/Darwin and other unices
if (is_readable('/proc/loadavg') && $loadavg = @file('/proc/loadavg')) {
list($server_load) = explode(' ', $loadavg[0]);
unset($loadavg);
} else if ( function_exists('is_executable') && is_executable('/usr/bin/uptime') && $loadavg = `/usr/bin/uptime` ) {
if (preg_match('/load averages?: (\d+[\.,:]\d+)/', $loadavg, $matches)) {
$server_load = $matches[1];
} else {
trigger_error('Could not parse uptime output!');
}
}
Not sure this is connected to the course backup problem though - I can make backups of other courses fine, just not those that have imported other courses - also happens with restore.
Any help would be appreciated. Thanks.