Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2007
    Posts
    14
    Plugin Contributions
    0

    Default Local copy, trouble copying design from live site

    I'm hoping that I've done enough to earn some responses.

    Had a local site set up but a virus on pc killed that setup. Have a backup of the MySQL database though. The live site is fine.

    Have reinstalled locally but don't seem to be able to copy design down. I have read customisation documentation on here "Things a Zenner should know" etc. and wrestled with this for 2-3 nights now. Re-installed a few times. Copied files and folders over NUMEROUS times. At wits (feeling witless right now) end , lol.

    After the first few tries I noted following attempts:

    1. Have copied whole includes folder over - did not work

    2. Reinstalled ZC and copied languages\english over - did not work

    3. Reinstalled ZC and copied languages\english AND includes\templates\MY CUSTOM FOLDER\ over - did not work

    4. Reinstalled ZC and copied languages\english AND includes\templates\MY CUSTOM FOLDER\ over configue.php file(s) from includes\ over, checking them in Dreamweaver for correct local code references - did not work

    I could go on as I have tried a few other variations and I'm mystified. It's worse when you had it working and do not remember, it was mid last year when I first did it.

    Can it be related to the MySQL database?

    Any ideas? Think I've been looking at this too long!

    Thanks in advance, I will be frequently checking for ANY suggestions.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Local copy, trouble copying design from live site

    Yes most likely a DB thing

    Just follow this tutorial in reverse

    https://www.zen-cart.com/tutorials/index.php?article=99
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Local copy, trouble copying design from live site

    Thanks dude(tte),

    It was the mySql database but the kicker was that the table names had changed. I did not expect that to be the case. I had a guy doing some dev work so I don't know if it was him or me but here's the thing to look out for.


    files: includes/database_tables.php will list the tables names but make sure you look at the includes/configure.php file to see whether you have DB_PREFIX set or not.

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'root');

    I then used the RENAME syntax to change all the table names. The local copy now works.

    Thanks again for the input.

 

 

Similar Threads

  1. Problem installing local copy of live site
    By NoHug4u in forum Installing on a Windows Server
    Replies: 10
    Last Post: 16 Dec 2014, 08:52 PM
  2. How do I make a copy of my live site to use on my local MAMP setup?
    By Treece in forum Installing on a Mac Server
    Replies: 1
    Last Post: 5 May 2011, 02:15 AM
  3. Updating a Local site from a Live one.
    By piker in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 14 May 2010, 03:17 PM
  4. Replies: 3
    Last Post: 12 Apr 2007, 11:27 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR