Blank page while installing drupal from cvs

Submitted by ravisagar on Wed, 12/02/2009 - 09:01

I downloaded the latest drupal from the cvs using the command below.

cvs -z6 checkout drupal

When I tried to install the drupal it gave me a blank page when I clicked on "Install drupal in english". I tried everything from re-downloading the code to commeting some lines in the file but all in vain but finaly I have fixed it. I know it is kinda dirty way of fixing things. I saw this page while searching for solution. Though I did not apply the patch. I made the change in the includes/ file manually.

In the function "function drupal_detect_database_types()" Replace this portion of the code.

foreach (file_scan_directory(DRUPAL_ROOT . '/includes/database', '/^[a-z]*$/i', array('recurse' => FALSE)) as $file) {
include_once "{$file->filepath}/";
include_once "{$file->filepath}/";
$drivers[$file->filename] = $file->filepath;


foreach (glob('./includes/database/*/{install,database}.inc', GLOB_BRACE) as $file) {
$drivers[max(explode('/', $file, -1))] = $file;

Drupal rocks!