Folks
I'm still having no luck installing. Last night I deleted my existing Moodle folder and uploaded a new copy from the stable download - ensuring it was in binary, checked all the folders were present, named correctly (with cases) but I still get :
Could not find this file: /www/r/robfitz/htdocs/Students/lib/setup.php
Are you sure all your files have been uploaded?
Config.PHP file is as follows:
<?PHP // $Id: config-dist.php,v 1.57 2004/05/24 07:43:09 moodler Exp $
unset($CFG); // Ignore this line
$CFG->dbtype = 'mysql'; // mysql or postgres7 (for now)
$CFG->dbhost = 'mysql06.powweb.com'; // eg localhost or db.isp.com
$CFG->dbname = 'student'; // database name, eg moodle checked case
$CFG->dbuser = 'robf'; // your database username
$CFG->dbpass = '*****'; // your database password
$CFG->prefix = 'mdl_'; // Prefix to use for all table names
$CFG->dbpersist = false; // Should database connections be reused?
// "false" is the most stable setting
// "true" can improve performance sometimes
//=========================================================================
// 2. WEB SITE LOCATION
//=========================================================================
$CFG->wwwroot = 'http://www.robfitz.com/Students'; checked case
//=========================================================================
// 3. SERVER FILES LOCATION
//=========================================================================
$CFG->dirroot = '/www/r/robfitz/htdocs/Students'; checked case
//=========================================================================
// 4. DATA FILES LOCATION
//=========================================================================
$CFG->dataroot = '/www/r/robfitz/MoodleData'; checked case
//=========================================================================
// 5. DATA FILES PERMISSIONS
//=========================================================================
$CFG->directorypermissions = 0755;
//=========================================================================
// 6. DIRECTORY LOCATION (most people can just ignore this setting)
//=========================================================================
$CFG->admin = 'admin';
//=========================================================================
// 7. OTHER MISCELLANEOUS SETTINGS (ignore these for new installations)
//=========================================================================
// Prevent users from updating their profile images
// $CFG->disableuserimages = true;
//
// Prevent scheduled backups from operating (and hide the GUI for them)
// Useful for webhost operators who have alternate methods of backups
// $CFG->disablescheduledbackups = true;
//
// Restrict certain usernames from doing things that may mess up a site
// This is especially useful for demonstration teacher accounts
// $CFG->restrictusers = 'teacher,fred,jim';
//
// Turning this on will make Moodle filter more than usual, including
// forum subjects, activity names and so on (in ADDITION to the normal
// texts like forum postings, journals etc). This is mostly only useful
// when using the multilang filter. This feature may not be complete.
//$CFG->filterall = true;
//
// Setting this to true will enable admins to edit any post at any time
// $CFG->admineditalways = true;
//
// This variable will override the default block configuration on newly
// created courses, or on upgraded courses from Moodle 1.2.1 and earlier.
// The names here should all be existing blocks in the "blocks" directory.
// $CFG->defaultblocks = "participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity";
//
// This setting will put Moodle in Unicode mode. It's very new and
// most likely doesn't work yet. THIS IS FOR DEVELOPERS ONLY, IT IS
// NOT RECOMMENDED FOR PRODUCTION SITES
// $CFG->unicode = true;
//=========================================================================
// ALL DONE! To continue installation, visit your main page with a browser
//=========================================================================
if (file_exists("file:///C|/Documents%20and%20Settings/Rob/Application%20Data/Ipswitch/WS_FTP/Storage/$CFG-%3Edirroot/lib/setup.php")) { // Do not edit
include_once("file:///C|/Documents%20and%20Settings/Rob/Application%20Data/Ipswitch/WS_FTP/Storage/$CFG-%3Edirroot/lib/setup.php");
} else {
if ($CFG->dirroot == dirname(__FILE__)) {
echo "<p>Could not find this file: $CFG->dirroot/lib/setup.php</p>";
echo "<p>Are you sure all your files have been uploaded?</p>";
} else {
echo "<p>Error detected in config.php</p>";
echo "<p>Error in: \$CFG->dirroot = '$CFG->dirroot';</p>";
echo "<p>Try this: \$CFG->dirroot = '".dirname(__FILE__)."';</p>";
}
die;
}
// 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.
?>
My Site structure is:
/htdocs/Students (Moodle folder) CHMOD 755
/MoodleData (Moodle data folder) CHMOD 755
I'm using the 1.3.2 stable version posted.
I know others use Moodle on this host.
Any suggestions?
RobF