I can't install Drupal6 on my Windows XP sp2. I am at Set Up Database step and i do enter correct database name, user and password and click Save and Continue but it keeps taking me back to the same Set Up Database. Any help on this would be appriciated.

Im using:

Windows XP SP2

HOSTS 127.0.0.1 localhost
127.0.0.1 drupal

Drupal 6.4

WAMP 2.0

C:\wamp\www\drupal\sites\dup
C:\wamp\www\drupal\sites\dup - permissions for folders to EVERYONE
C:\wamp\www\drupal\sites\dup\settings.php

PHP 5.2.6

APACHE 2.2.8

Listen 80 Listen 8080 ServerName drupal:80 Just in case, the IIS was set up to port 8089!! and its not running!

MYSQL 5.0.51B

Port 3306

Ive created a DbDrupal database as copy of MySql database (and renamed the root as drupal_user) and privileges:

INSERT INTO user VALUES('localhost','drupal',PASSWORD('drupal'), 'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y'); FLUSH PRIVILEGES; I can have acess to every table and ive been check the permission on MySql (dbdrupal) everything looks to be fine! Any help would be appreciated!

Comments

Patrick Nelson’s picture

Is there any error message or warning?

Regards

Patrick Nelson
UnderDesign Web Designers and Developers in Nottingham and the UK
www.underdesign.co.uk

lordmarc’s picture

I have the same problem. No error is generated. when you click "Save and continue", you are simply returned to the "Database configuration" screen with all the fields being empty.

ktleow’s picture

This is strange. Can you check your Apache web server's error log file?

-----
http://kahthong.com - A blog, portfolio & personal site
My blog is proudly powered by Drupal

suako’s picture

I had the same problem, and in the apache error log I had the error msg:
"PHP Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\drupal-6.4\\includes\\install.inc on line 187, referer: http://localhost:8080/drupal-6.4/install.php?profile=default&locale=en"

The problem was that I had renamed default.settings.php to settings.php. Instead I should have copied it and named it settings.php (ie have 2 files in /sites/default/). After that was fixed I had no problems anymore.

------------------------------
http://www.Digitalistic.com - mashup or die trying
http://www.Mashup.se - allt om svenska mashups och APIer

Marat’s picture

This solved my problem, Thanks

TheRec’s picture

Yes it solved to for me too, maybe this should be emphasized in the installation procedure, at the moment it says :

  1. Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php.

Maybe adding something like "(default.settings.php must not be renamed or removed)" would avoid this confusion :S Or even better, detect if this file was altered during or before the Database configuration step and report it. Anyways, an error without an error message is certainly not user-friendly !

kanliot’s picture

solved it for me too. Feels like a close call w/ death.

neoliminal’s picture

Perhaps this is a common enough mistake that it should be documented somewhere, or at least produce an error that makes sense.

carlnunes’s picture

As I like to keep my directories clean(to a fault); thank you for keeping this page alive.

Drupal set up database on localhost issue; make sure to keep a copy of default.settings.php or you'll be sorry.

Change name of file to keep.me.settings.php