Jira Courses, Training and Consulting: Sparxsys Trainings
Thanks for coming here, I hope you are enjoying learning here, I have also written some books in case you want to learn a bit more :)
If you need my help with Drupal, Linux, Jira, Scripting, Automation or want to contact me then raise a ticket for me please :) and I will get back to you, promise. At Sparxsys we provide Atlassian consultancy services, reach out to me at ravi at sparxsys dot com

Blank page while installing drupal from cvs

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

  1. cvs -z6 -d:pserver:anonymous:<a href="mailto:anonymous@cvs.drupal.org">anonymous@cvs.drupal.org</a>:/cvs/drupal 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 install.inc 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 http://drupal.org/node/298391 while searching for solution. Though I did not apply the patch. I made the change in the includes/install.inc file manually.

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

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

with

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

Drupal rocks!

Similar posts

Subscribe

* indicates required

Please confirm that you would like to from Sparxsys:

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices.

Want to contact me?