Closed (fixed)
Project:
Drupal core
Version:
6.17
Component:
other
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2010 at 06:29 UTC
Updated:
23 Aug 2011 at 07:02 UTC
If $db_dsn is already set in the settings.php, the install aborts with a "Drupal already installed" message.
Tables have been created, but not all steps have been carried out: e.g. UID 1 is "placeholder-for-uid-1".
I'm reporting this as a bug, as the help message says, "To install to a different database, edit the appropriate settings.php file in the sites folder." which is how I got the error in the first place.
Comments
Comment #1
broncomania commentedI have the same error here. I made a profile that works usually and I also try to install the default pressflow installer with the same result. It's the irst time I had a problem lie this. Are there any suggestions or solutions for this problem? the base_url are set correctly and the settings include the db connection infos also.
Comment #2
franzYou shouldn't set the $db_url before installing. These should be set to the default value at default.settings.php and will be changed by the installer once it's finished.
Are you sure you're trying on a fresh DB?
Comment #3
vm commented#2 is correct. The database must be empty and settings.php must be free of any settings for the DB. Those settings get put in the DB during install using the form.
To reinstall drupal the install.txt file should be followed exactly as it was during original install. This includes copying of the default.settings.php file and renaming it settings.php