Earlier today I successfully installed the Moodle 1.9.5+ standard package downloaded today on my commercial shared host IP server with zero problems. That was easy.
But I seem to be having a problem installing a localhost copy of Moodle 1.9.5+ (standard package) on my XP desktop. I already have the XAMP package with PHP 5 and MySQL installed and my localhost installs of Drupal and WordPress are up and working fine.
I can run the Moodle file install.php fine and the screens whiz by with "successful" table setups in the database, BUT when the script gets to the point of presenting me with the admin page, I get hung up with a blank page at...
http://localhost/moodle1/admin/index.php
...and nowhere to go. Going to http://localhost/moodle1/login returns a "No site found" error message.
PHPMyAdmin shows the database filled by the script with 198 tables. And the script creates this config.php file...
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle1';
$CFG->dbuser = '*******'; // the correct dbuser filled in
$CFG->dbpass = '******'; // the correct dbpass filled in
$CFG->dbpersist = false;
$CFG->prefix = '';
$CFG->wwwroot = 'http://localhost/moodle1';
$CFG->dirroot = 'C:\xampp\htdocs\moodle1';
$CFG->dataroot = 'C:\xampp/data_moodle1';
$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.
?>
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle1';
$CFG->dbuser = '*******'; // the correct dbuser filled in
$CFG->dbpass = '******'; // the correct dbpass filled in
$CFG->dbpersist = false;
$CFG->prefix = '';
$CFG->wwwroot = 'http://localhost/moodle1';
$CFG->dirroot = 'C:\xampp\htdocs\moodle1';
$CFG->dataroot = 'C:\xampp/data_moodle1';
$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.
?>
I've tried deleting the config.php, dropping the database tables, and reinstalling, but I get the same behavior and hang up.
I tried Mary Evans' suggestion of trying the install with IE (I, too, had been using Firefox), but I encounter the same problem.
Any ideas anyone?
Maybe the situation will look different to me in the morning. It often does.
Thanks,
Steve