I am installing drupal 6.15 on Windows XP SP3 with IIS and PHP 5.2.9-2.
i keep getting stuck at the database configuration screen.
I have installed MySQL, I have created a DB called drupal, made a user called drupal.
the script keeps running fine until the DB config, then on entering values it keeps coming back to the same screen again n again asking for user id, password, db name.
i reset permissions to 777 and it gave me this error
"PHP has encountered an Access Violation at 00E72B6B"
i have no idea how to fix it.
the same issue occurs on Win2k3 with the same setup.
heeeeelp!

Comments

vm’s picture

what files are in the site/default folder?

djm263’s picture

settings.php and a folder called files.

vm’s picture

thats likely the problem.

According to INSTALL.txt you first make a copy of default.settings.php and rename it settings.php. This would mean you should have 2 files in your sites/default/folder and they should be:

default.settings.php
settings.php

djm263’s picture

did that too. even with both files i get the same problem.

djm263’s picture

this error:
PHP has encountered an Access Violation at 00E32B6B
is persistent. I just tried to install phpmyadmin and got the same problem when i tried to login to the DB.
its maybe a DB access problem that PHP is facing but somehow its able to create the tables in the DB schema.
weird.

ivan zugec’s picture

If you can't connect to the database it could mean that the db user account is not setup properly or mysql is not running.
A good way to test php and mysql is working is get phpMyAdmin installed if you have not already. Also are you running mysql on a different port?

djm263’s picture

it is able to connect to the DB. it just shows me the screen again because the DB is populated wth 43 tables. DB running at 3306.

vm’s picture

if the DB is already populated drupal is not going to reinstall over top of it without using a prefix for the tables. to connect to an already existing database you should edit settings.php and alter $db_url with the proper information.

djm263’s picture

I dropped the schema and tried again, same problem.

nicholascarrigg’s picture

I had the same problem. Just reinstall Drupal. Make sure you copy the default.settings.php, rename it to settings.php, then put it back into the default folder. This fixed my problems--you just have to do it in the right order.