If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / Down For Maintenance (How to fix)

Down For Maintenance (How to fix)

Started by tamya on 17 Jun 2023, 1:01 PM · Views: 3,480

Results 1 to 8 of 8
17 Jun 2023, 1:01 PM
#1
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Down For Maintenance (How to fix)

Greetings,

I am using ZC 155f, I copied the database to another database before i work on it so i have the original working DB, when i was done i did not like the change i made (changes made in related products table only) and i went back to the original database by renaming it to the original name, now it shows the admin and the store front in "Maintenance Mode".

I checked the configuration table, in it the configuration_value = 'false' where configuration_key = 'DOWN_FOR_MAINTENANCE'.
What should i do to get the site up and running. Thanks a bunch.
URL: http://www.discounthomeoffice.com

17 Jun 2023, 1:29 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Down For Maintenance (How to fix)

The site is not in maintenance mode, the database credentials in the site's /includes/configure.php and/or /admin/includes/configure.php aren't referencing the site's live database.

17 Jun 2023, 1:55 PM
#3
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Down For Maintenance (How to fix)

lat9:

The site is not in maintenance mode, the database credentials in the site's /includes/configure.php and/or /admin/includes/configure.php aren't referencing the site's live database.

Thanks for the reply, both files shows the correct database. Now, when i rename the database and rename it back to the original name, do i loose any credentials?

17 Jun 2023, 2:25 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Down For Maintenance (How to fix)

Not knowing the intricacies of the method you used for the renaming, I'll have to go with *probably *based on the current website display.

17 Jun 2023, 2:37 PM
#5
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Down For Maintenance (How to fix)

lat9:

Not knowing the intricacies of the method you used for the renaming, I'll have to go with *probably *based on the current website display.

Thanks again, when i saw that picture i thought it is the "Down For Maintenance" picture, i see what you are saying now, it is a database connection problem, and i do not have any idea where to start, it has been a while. Thanks.

17 Jun 2023, 3:26 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Down For Maintenance (How to fix)

If your webhost provides a cPanel interface, navigate to your MySql databases and make sure that the database user, password and server settings in your two configure.php files match what the webhost's configuration indicates.

17 Jun 2023, 7:35 PM
#7
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Down For Maintenance (How to fix)

lat9:

If your webhost provides a cPanel interface, navigate to your MySql databases and make sure that the database user, password and server settings in your two configure.php files match what the webhost's configuration indicates.

Thanks a lot for steering me in the right direction.
i found out the user which been in the configuration files for ever has disappeared from the MySql database,
all i did is rename the database twice and the web host support said: "that should not remove the user name from the MySql". and they added the correct user and it is working now.

I appreciate your help and my web host support help, you guys got my back. Thanks a lot.

18 Jun 2023, 11:16 AM
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Down For Maintenance (How to fix)

Thanks for reporting back that, with the "proper" database credentials, the site's back up.