Zen Cart Logo
Forums / General Questions / Index page will not load, admin loads, changed databse password

Index page will not load, admin loads, changed databse password

Locked

Views: 1,777

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
27 Jun 2010, 12:42 AM
#1
elarya avatar

elarya

New Zenner

Join Date:
Mar 2008
Posts:
55
Plugin Contributions:
0

Index page will not load, admin loads, changed databse password

Hello all,

I am stumped. I have been working with my host all evening trying to figure out why my website will not load. It is at c r o c h e t g a r d e n .com

Earlier, I changed my password for my database. I then went in and changed the passwords in both config files.

I also, (I do not think this is related but posting it anyway in case) deleted files out of shop.old directory. This was where my shop was at a couple of years ago, until I moved it to the main directory. When there is an update, the old files go into the .old directory for backup.

After changing my password in both the config files in both the includes folder and the admin folder, I uploaded, and I get the error on the main page that the site cannot connect to the database.

I have version 1.39d. The only add on I have is for exporting addresses.

My host is stumped, as am I. Thank you in advance!

27 Jun 2010, 3:42 AM
#2
elarya avatar

elarya

New Zenner

Join Date:
Mar 2008
Posts:
55
Plugin Contributions:
0

Re: Index page will not load, admin loads, changed databse password

I wanted to give an update. I also have been working with my with this dilemma. I did get the index page of my website to come up, but only by reverting to my old password.

Here is what I have so thus so far:

Reverting to old password:
index of site: Works
index of admin page: Works
index of forum: Works

Changing to new password (and also all config files)
index of site: Does not work
index of admin page: Works
index of forum: Works

So this is where I am at. I have quadruple checked to make sure that the password is spelled correctly in config file that pertains to the index of the website page, and my host has also triple checked too.

Has anyone seen this before? Thank you in advance! :)

27 Jun 2010, 4:15 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Index page will not load, admin loads, changed databse password

Remember, if your configure.php files are marked as read-only (as they're supposed to be), then any attempts to update the file with changes will fail, whether it tells you it failed or not.
Mark the file as writable first, then make your changes, and make it read-only again.

27 Jun 2010, 4:19 AM
#4
elarya avatar

elarya

New Zenner

Join Date:
Mar 2008
Posts:
55
Plugin Contributions:
0

Re: Index page will not load, admin loads, changed databse password

Yes, changed the CHmod to 644 when uploading. Also, to check that they were indeed containing the new password, I FTPd the file to an empty file then opened it in the text editor, and password was changed.

So far, I cannot find anything on the topic of this happening elsewhere. Sometimes, I think my computer is haunted :)

27 Jun 2010, 5:34 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Index page will not load, admin loads, changed databse password

After you uploaded the file, what permissions did you set on it? Maybe you set them too low and the server can't read it?

27 Jun 2010, 1:59 PM
#6
elarya avatar

elarya

New Zenner

Join Date:
Mar 2008
Posts:
55
Plugin Contributions:
0

Re: Index page will not load, admin loads, changed databse password

Good morning! :)

I left them all at 644 for the time being to make sure they would all be the same. I also then tried them at 444. Are those too low?

27 Jun 2010, 8:17 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Index page will not load, admin loads, changed databse password

Every server is different. I can't answer that question. Your hosting company can tell you what the acceptable permission levels are.