the error message is $CFG->dataroot is not configured properly! Exiting
then i follow several intruction and make some changes in config.php
change
$CFG->wwwroot = 'http://example.com/moodle'; to
$CFG->wwwroot = 'http://localhost/moodle'; and
$CFG->dataroot = '/home/example/moodledata'; to
$CFG->dataroot = 'C:\xampp\moodledata';
but it still give error message :
Error: database driver problem detected
The site administrator should verify server configuration
PHP has not been properly configured with the PGSQL extension so that it can communicate with PostgreSQL. Please check your php.ini file or recompile PHP.
Debug info:
Error code: dbdriverproblem
Stack trace:
- line 127 of \lib\dml\pgsql_native_moodle_database.php: dml_exception thrown
- line 344 of \lib\dmllib.php: call to pgsql_native_moodle_database->connect()
- line 612 of \lib\setup.php: call to setup_DB()
- line 855 of \config.php: call to require_once()
- line 30 of \index.php: call to require_once()
plese help..