Hi all,
Perhaps someone will be good enough to help me with this problem.
Until recently I had a technician that looked after the technical side of moodle for me but he has recently gone on to pastures new. We run Moodle on a Windows Server (2003) internally. We also give external access to our pupils via http://learn.cityboys.org.uk. Today I have upgraded to Moodle 1.7.2+. However, while all seems to have installed, I have a problem:
The main page displays (although I have lost all the images). However, following logon I get 'The page cannot be found'. I have noticed that the URL reads http://firefly/moodle/moodle/login//moodle/ (firefly is our internal server). I have looked at older versions of the config.php file and checked it against the new installation - all seems well. Config.php below:
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'cpbsmoodle';
$CFG->dbuser = 'root';
$CFG->dbpass = 'xxxxxxxxxxxxxxxxxx';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = '\moodle';
$CFG->dirroot = 'C:\Inetpub\wwwroot\moodle';
$CFG->dataroot = 'C:\Inetpub/moodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?>
Anyone any ideas with this. I have tried changing the wwwroot line. But cannot see why this is failing.
All help will be greatfully received!
K. V. Williams
The City of Portsmouth Boys School.