I installed 6.4 in a subfolder to test it. I belong to those idiots, who do not take backups: from now on, I promise to make them regularly. When I deleted the 6.4 installation, I accidentally deleted the settings.php file of my production site, which is 4.7.3.
Could someone please help me and add here a comment: what are the most important default lines of the file? I tried to edit the 6.4 file, but it does not work (?) I believe that I have the correct database, user name, password and prefix. What else is needed? Did the 6.4 installation make something else? Now I get the message: wrong database or user name or password.
Or, is there somewhere a repository of previous Drupal versions? I need the default.settings.php file.
Comments
hmmm....
Never did a 4.x installation so I can't really help you :/
But... I'd say you are on the right track since I've done a similar thing with 6.x. I know that the 6.x settings.php file only has 1 really important line (obviously the database details)... the rest aren't required.
Try this....
Take a look at the 4.7 default settings.php file.
Install another drupal site (test site).
Compare the new settings.php file with the default and look for anything major.
Best of luck!
Snyder Technologies
4.7 settings.php
http://cvs.drupal.org/viewvc.py/drupal/drupal/sites/default/settings.php...
And yes, the $db_url SHOULD be the only customization needed ... but if there's been any modifications your guess is better than mine.
.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Thank you!
Two answers in twelve minutes, this is the response time at the Drupal Forum! Thank you so much, dman and pegleglax!
Now I am afraid that I do not have the correct password of the database user: I cannot find any other reason. I added another user, but since the database does not know this new one, the result is a long list of errors. After creating the second one, I tried to add the first user with the same username and propably with a different password. Did not work.
Perhaps this was ment to be my destiny: otherwise I would have used version 4.7.3 and the legendary category module rest of my life. Well, I will wait for any other help during this weekend...
well....
it sounds like you really pissed off you installation lol
my guess would be the password is incorrect. try resetting it in phpmyadmin. I don't know what other advise to give you other than to make sure $db_url has correct credentials supplied.
here is what I would do if I were you.
1) new installation
> download drupal 4.7 fresh from the server
> create a new DB.
> hook 'em up
2) drupal triple heart bypass surgery
> delete the tables in the installation you just made
> export the tables from your old DB to your desktop
> import those tables to the new installation
Best of luck.... If it doesn't work, crack open a bottle of Jack and go to town. :)
Snyder Technologies