Troubleshooting common problems

Last modified: October 19, 2009 - 05:49

Installation troubleshooting

There are many Frequently Asked Questions (FAQs) to assist with troubleshooting. The main link to them is: Troubleshooting FAQ. Some of the more common install FAQs are listed below. If you don't find help here, please go to main Troubleshooting link above and look through the FAQs.

Fatal error: Allowed memory size of n bytes exhausted

The error "Allowed memory size exhausted" indicates that Drupal nees more memory than PHP gives it. This error can bwe resolved by adding an extra line to Drupal's configuration files.

Failed to connect to your MySQL database server

the installtion script cannot connect to the database. Check if the username, password and hostname that you provided are correct.

Cannot create directories 'files' or 'private'

The installation script needs suffient permissions to create two directories inside the sites/default folder.

Cannot write to configuration files settings.php

The installation script needs suffient permissions to write to the configuration files settings.php.

Blank Page (White Screen of Death)

Occasionally the page is completely blank. No content. No errors. Nothing. This is what is referred to as the White Screen of Death. There are several reasons why this might occur

"Your PHP configuration only supports the SQLite database type" on the database configuration page during install

Drupal 7 now requires PHP to have the "PDO" (Php Data Object) extension enabled or compiled in. Older or home-brewed versions of PHP may not have this on by default. If you get this message, check your phpinfo for the "pdo_mysql" extension, or see the instructions for enabling it. Discussion

Other errors

not sure...

clara- - September 5, 2009 - 15:16

I'm not quite sure what to make of this page at the moment.
Most importantly it does not contain information about errors messages I encountered during my installation process.
- missing directories
- wrong permissions for manually set up directories (and I still don't know which permissions are needed, so they arenow set to 777)
- need to reset permissions for settngs.php
- long and repeated error messages about time zones

***
Missing directories and timezone errors need a faq on the the page

Permissions and settings.php are on the page now.
bekasu

 
 

Drupal is a registered trademark of Dries Buytaert.