Zen Cart Logo
Forums / General Questions / Help Moving My Installation With My Theme From Localhost To An Online Server

Help Moving My Installation With My Theme From Localhost To An Online Server

Locked

Views: 1,034

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
6 Jul 2016, 1:58 PM
#1
csgodeimos avatar

csgodeimos

Zen Follower

Join Date:
May 2016
Posts:
191
Plugin Contributions:
0

Help Moving My Installation With My Theme From Localhost To An Online Server

Hey Guys,

I need a little help here, using 1.5.5 with Sheffield Responsive Blue 2.0. I finally finished my website on my local server and wanted to upload it to an online server. I tried just ftping it all but that didn't work so I found this tutorial. I followed it step-by-step but both times I get the error "ERROR 0071: There appears to be a problem with the database. Maintenance is required."

This is driving me nuts. Any help?

Website is https://www.westnewtonsupply.com but you'll just see "ERROR 0071: There appears to be a problem with the database. Maintenance is required."

Sorry if this is the wrong section, wasn't sure where to ask.

Thank you in advance.

Ash

6 Jul 2016, 2:07 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Help Moving My Installation With My Theme From Localhost To An Online Server

What's the DB_PREFIX in your configure.php files, on localhost, and on the live server?

If you're importing data from localhost where "fred_" is used as a prefix, then you can't use "mary_" as a prefix on the live server. You'd need to use the same prefix on the live server .... in this example, set it to "fred_".

Ideally it's best to leave it blank. But if you've started with a prefix already on local, then you'll need to continue using it on live server.

6 Jul 2016, 2:23 PM
#3
csgodeimos avatar

csgodeimos

Zen Follower

Join Date:
May 2016
Posts:
191
Plugin Contributions:
0

Re: Help Moving My Installation With My Theme From Localhost To An Online Server

Ahhh, it comes up as _zen so I have to go into the current configure.php in includes and admin/includes and change it?

6 Jul 2016, 2:24 PM
#4
csgodeimos avatar

csgodeimos

Zen Follower

Join Date:
May 2016
Posts:
191
Plugin Contributions:
0

Re: Help Moving My Installation With My Theme From Localhost To An Online Server

blankdelete

6 Jul 2016, 2:30 PM
#5
csgodeimos avatar

csgodeimos

Zen Follower

Join Date:
May 2016
Posts:
191
Plugin Contributions:
0

Re: Help Moving My Installation With My Theme From Localhost To An Online Server

DrByte:

What's the DB_PREFIX in your configure.php files, on localhost, and on the live server?

If you're importing data from localhost where "fred_" is used as a prefix, then you can't use "mary_" as a prefix on the live server. You'd need to use the same prefix on the live server .... in this example, set it to "fred_".

Ideally it's best to leave it blank. But if you've started with a prefix already on local, then you'll need to continue using it on live server.

Ahhh, it comes up as _zen so I have to go into the current configure.php in includes and admin/includes and change it?

Or should I create another new mysql db and use _zen as a prefix then drop the tables, import tables from old db?

6 Jul 2016, 2:46 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Help Moving My Installation With My Theme From Localhost To An Online Server

If you have already imported the database to a current database, then it could continue to be used, but yes it would be a cleaner operation if your local database was applied to a completely clean database, whether the same one as current or a new one.

As to the changes, yes, update of the prefix in the two files is all that is needed for the current database, but if change databases then credentials need to match there as well for both files.

6 Jul 2016, 3:01 PM
#7
csgodeimos avatar

csgodeimos

Zen Follower

Join Date:
May 2016
Posts:
191
Plugin Contributions:
0

Re: Help Moving My Installation With My Theme From Localhost To An Online Server

DrByte:

What's the DB_PREFIX in your configure.php files, on localhost, and on the live server?

If you're importing data from localhost where "fred_" is used as a prefix, then you can't use "mary_" as a prefix on the live server. You'd need to use the same prefix on the live server .... in this example, set it to "fred_".

Ideally it's best to leave it blank. But if you've started with a prefix already on local, then you'll need to continue using it on live server.

You're awesome, it works. Thanks so much, having an issue with the menu which I couldn't fix on the local site either, would you be able to check it out? http://www.westnewtonsupply.com

Thanks again mate.

6 Jul 2016, 3:36 PM
#8
csgodeimos avatar

csgodeimos

Zen Follower

Join Date:
May 2016
Posts:
191
Plugin Contributions:
0

Re: Help Moving My Installation With My Theme From Localhost To An Online Server

mc12345678:

If you have already imported the database to a current database, then it could continue to be used, but yes it would be a cleaner operation if your local database was applied to a completely clean database, whether the same one as current or a new one.

As to the changes, yes, update of the prefix in the two files is all that is needed for the current database, but if change databases then credentials need to match there as well for both files.

It's fixed now mate, it was the prefix that was the issue.

Would you be able to have a look at my menu buttons, I can't align them and I've been trying for over a week - http://www.westnewtonsupply.com

6 Jul 2016, 6:27 PM
#9
csgodeimos avatar

csgodeimos

Zen Follower

Join Date:
May 2016
Posts:
191
Plugin Contributions:
0

Re: Help Moving My Installation With My Theme From Localhost To An Online Server

Never mind, finally fixed it.

6 Jul 2016, 6:45 PM
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Help Moving My Installation With My Theme From Localhost To An Online Server

Good to see that all the issues so far identified have been resolved. Thanks for letting everyone know!