I'm having one of those dreaded "can't get into my own site" moments!
I altered the cookie lifetime in settings.php from 2000000 to 900, opened ftp, uploaded
.....and now I get redirected to this URL every time:
http://www.mysite.com/install.php?profile=default
looking on the drupal.org forum, it seems as though permissions may be my problem. At the moment, it is 644. I just made a comparison between my settings.php and the currently settings.php in the 5.1 tar and the only difference is the cookie length, so I'm stumped.
I don't want to enter any db info on the db config page lest it start to do fresh install. I have backed up db just in case.
anyone had this problem?
On Saturday 21 July 2007 05:39:28 Neil: esl-lounge.com wrote:
I'm having one of those dreaded "can't get into my own site" moments!
I altered the cookie lifetime in settings.php from 2000000 to 900, opened ftp, uploaded
.....and now I get redirected to this URL every time:
http://www.mysite.com/install.php?profile=default
looking on the drupal.org forum, it seems as though permissions may be my problem. At the moment, it is 644.
If it is truly a permissions problem (though I don't recall seeing this behavior for that problem), then set the file to read-only for owner and group and nothing for other.
I just made a comparison between my settings.php and the currently settings.php in the 5.1 tar and the only difference is the cookie length, so I'm stumped.
Shouldn't the $db_url be different also? Or did you create a database using Drupal's default settings?
anyone had this problem?
No.
OK, sorry to have bothered the mailing list with my noob stoopidity....as Jason so rightly said, I overwrote my old settings.php with the default one, without the db settings/password, etc.
I will leave it to the mailing list to decide my punishment.
:-(
----- Original Message ----- From: "Jason Flatt" drupal@oadaeh.net To: support@drupal.org Sent: Saturday, July 21, 2007 3:34 PM Subject: Re: [support] whoops! Changed settings.php and now get redirectedto "Database Configuration" page.
On Saturday 21 July 2007 05:39:28 Neil: esl-lounge.com wrote:
I'm having one of those dreaded "can't get into my own site" moments!
I altered the cookie lifetime in settings.php from 2000000 to 900, opened ftp, uploaded
.....and now I get redirected to this URL every time:
http://www.mysite.com/install.php?profile=default
looking on the drupal.org forum, it seems as though permissions may be my problem. At the moment, it is 644.
If it is truly a permissions problem (though I don't recall seeing this behavior for that problem), then set the file to read-only for owner and group and nothing for other.
I just made a comparison between my settings.php and the currently settings.php in the 5.1 tar and the only difference is the cookie length, so I'm stumped.
Shouldn't the $db_url be different also? Or did you create a database using Drupal's default settings?
anyone had this problem?
No.
-- Jason Flatt http://www.oadaeh.net/ Father of Six: http://www.flattfamily.com/ (Joseph, 14; Cramer, 12; Travis, 10; Angela; Harry, 7; and William, 12:04 am, 12-29-2005) Linux User: http://www.xubuntu.org/ Drupal Fanatic: http://drupal.org/ -- [ Drupal support list | http://lists.drupal.org/ ]
Quoting "Neil: esl-lounge.com" neil@esl-lounge.com:
OK, sorry to have bothered the mailing list with my noob stoopidity....as Jason so rightly said, I overwrote my old settings.php with the default one, without the db settings/password, etc.
This file should be set with read only privileges. That will prevent it from being overwritten without notice unless of course you copy over it with forced overwrite.
Earnie -- http://for-my-kids.com/