Results 1 to 10 of 10
  1. #1
    Join Date
    May 2016
    Posts
    188
    Plugin Contributions
    0

    help question 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 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default 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.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    May 2016
    Posts
    188
    Plugin Contributions
    0

    Default 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?

  4. #4
    Join Date
    May 2016
    Posts
    188
    Plugin Contributions
    0

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

    blankdelete
    Last edited by CSGODeimos; 6 Jul 2016 at 03:31 PM.

  5. #5
    Join Date
    May 2016
    Posts
    188
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte View Post
    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. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default 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.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    May 2016
    Posts
    188
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte View Post
    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.

  8. #8
    Join Date
    May 2016
    Posts
    188
    Plugin Contributions
    0

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

    Quote Originally Posted by mc12345678 View Post
    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

  9. #9
    Join Date
    May 2016
    Posts
    188
    Plugin Contributions
    0

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

    Never mind, finally fixed it.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default 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!
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Can't restore database after moving from localhost
    By Annie_zaz in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 16 Sep 2013, 11:48 AM
  2. Moving Files from WAMP to Server. Please Help.
    By solarguy in forum Installing on a Linux/Unix Server
    Replies: 15
    Last Post: 14 Jul 2010, 08:46 PM
  3. moving from localhost to live
    By yamadan in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Feb 2010, 07:37 AM
  4. Z.C Installation ok on localhost but not on web server
    By Kami123 in forum Installing on a Windows Server
    Replies: 3
    Last Post: 26 Aug 2009, 02:46 PM
  5. Transferring from localhost to server?
    By Nimbuz in forum General Questions
    Replies: 2
    Last Post: 4 Nov 2007, 05:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg