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
    Posts
    26,010
    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

    http://tutorials.zen-cart.com/index.php?article=99
    Zen-Venom Get Bitten
    Get Your Business Found

  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. Dreamweaver Local Site Easy Php Trouble.
    By Arquetipo in forum General Questions
    Replies: 4
    Last Post: 18 May 2008, 10:18 PM
  2. Error cloning live site on local server
    By ckosloff in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 6 May 2008, 08:29 PM
  3. Local copy. Problems copy subdirs over.
    By bakerman in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Sep 2007, 07:22 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
  •