CentOS 5.5, Aacphe 2.2.3, PHP 5.3.3, MySQL 5.0.77. External enrolment db is on the localhost.
Just used git to install 2.0 RC2 (Build: 20101124). Same error.
Turned on debugging for developers.
Default exception handler: Coding error detected, it must be fixed by a programmer: PHP catchable fatal error Debug: Argument 3 passed to enrol_database_plugin::db_get_sql() must be an array, boolean given, called in /var/www/html/enrol/database/lib.php on line 359 and defined
* line 351 of /lib/setuplib.php: coding_exception thrown
* line 578 of /enrol/database/lib.php: call to default_error_handler()
* line 359 of /enrol/database/lib.php: call to enrol_database_plugin->db_get_sql()
* line 47 of /enrol/database/cli/sync.php: call to enrol_database_plugin->sync_enrolments()
!!! Coding error detected, it must be fixed by a programmer: PHP catchable fatal error !!!
!! Argument 3 passed to enrol_database_plugin::db_get_sql() must be an array, boolean given, called in /var/www/html/enrol/database/lib.php on line 359 and defined !!
!! Stack trace: * line 351 of /lib/setuplib.php: coding_exception thrown
* line 578 of /enrol/database/lib.php: call to default_error_handler()
* line 359 of /enrol/database/lib.php: call to enrol_database_plugin->db_get_sql()
* line 47 of /enrol/database/cli/sync.php: call to enrol_database_plugin->sync_enrolments()
!!