Diary of problems and solutions related to web programming, database development and related technologies and platforms.

Moodle Installation - Blank page after Database screen

While trying to install moodle, I got the blank page after Database screen. To solve this issue, I went to different sites including the moodle forum and found nice solution there

http://moodle.org/mod/forum/discuss.php?d=100472
http://moodle.org/mod/forum/discuss.php?d=128498

What I did is that, I changed the created the new copy of config-dist.php and renamed it with config.php (config-dist.php is a template of config.php). The problem was becuase that it installation wizard couldn't create config.php file. So, I did the manual change in the file itself as follows:

 $CFG->dbtype    = 'mysql';  // mysql or postgres7 (for now)
$CFG->dbhost = 'localhost'; // eg localhost or db.isp.com
$CFG->dbname = 'moodle'; // database name, eg moodle
$CFG->dbuser = 'root'; // your database username
$CFG->dbpass = ''; // your database password
$CFG->prefix = 'mdl_'; // Prefix to use for all table names

 $CFG->wwwroot   = 'http://localhost/moodle'; 

 $CFG->dirroot   = 'C:\wamp\www\moodle'; 

 $CFG->dataroot  = 'C:\wamp/moodledata'; 

Save this configuaration and start to install again.

During installation, you will be forwarded to this URL below automatically
http://localhost/moodle/admin/index.php

You will see to go through processes where you have to click on Continue button. Good Luck :)

No comments :

Post a Comment