Installing Drupal : Endless loop at database setting

If you have been encountering an ‘endless loop’ while trying to install Drupal 6.4, you are not alone. 

I encounter the same issue while trying to  install Drupal 6.4 on my local machine. 

At the database setting (or configuration) screen, it goes into an infinite loop without any error message.

The easy way to solve it is to just edit the ’settings.php’ file and change the following to the correct setting.

$db_url = ‘mysql://username:password@localhost/databasename’;

 

The more lengthy possibility is to look at the write permission on the file and apply the correct setting accordingly.

Hope this helps others who may face the same issue.

 

Note to Drupal developers: Perhaps, an extra error message may be necessary for the above scenario. Eg. Is the file permission correct? Why is it going into an infinite loop without error messages?  I believe, having that little extra message, will help others new to Drupal to find their way around much more easily.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*