Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 50
  1. #11
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Open a backup copy on LocalHost

    Hi Serious, this may be a silly question, but...had your zipped backup actually finished downloading to your p.c before you tried to un-zip it? Sites can get rather large so your file could be a large download hence it may take a little while to download. Just a thought/stab in the dark :-)
    Posted via Mobile Device

  2. #12
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Open a backup copy on LocalHost

    It was a complete download based on file size indicaated on the server and compared to the file on my HDD.

    Trying to download again via FTP but neither FileZilla or Win SCP will let me see the files on my server.

    To quote Charlie Brown................AAAAAAAARRRRRRGGGGGGGHHHHHHHHHH!!!

    Figured out the WinSCP issue....
    Last edited by Serious; 31 Dec 2011 at 09:25 PM.

  3. #13
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Open a backup copy on LocalHost

    Good luck, let us know how it goes. Dont forget its NYE too, dont work all day & night :-)
    Posted via Mobile Device

  4. #14
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Open a backup copy on LocalHost

    Not to worry, I'll take a break after a bit.

    If I wasn't worried about losing my customer info/order history I would start over....

  5. #15
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Open a backup copy on LocalHost

    Still stumbling along...

    Finally got XAMPP installed
    Got my DB copied from my hosts server and installed locally
    Installed ZenCart (fresh install)
    Renamed the zc_install
    Renamed the Admin file
    made the applicable changes in the Admin/Includes/Configure.php file (new admin name in 3 places per the wiki)

    Store is accessible but I'm getting a 404 error when I try to go from the Installation screen (the last one) to the Admin Page.

    What am I forgetting?

  6. #16
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Open a backup copy on LocalHost

    FWIW,
    This is what's showing up in my URL bar;
    http://localhost/zencart/admin/index.php

    Shouldn't it have new admin name instead "admin"?

  7. #17
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Open a backup copy on LocalHost

    Figured it out. Been too long since installing a local copy of ZC...all's well now.

    Back to the topic at hand.

    I've made a backup on my website, copied it to my PC.

    From the WIKI posted earlier in this thread, with my questions in Blue:

    1. On your NEW host, create a new MySQL database. Note the username, password, database name, and host name (usually localhost). Done
    2. Go to your NEW host and upload (FTP) a fresh NEW install using the same version files that you built your other site on.... this will make sure that you get the proper settings in your configure.php files...
    While installing, allow it to install the demo products, so that you can test and be sure that it's working nicely.Done
    a. Install (IMPORTANT: when asked about the database-table-prefix during Database-Setup, use the same prefix that your old store uses. You'll find that in the DB_PREFIX setting of your old store's configure.php file.)Done
    b. Test it.Done
    c. Make backups of the NEW server's /includes/configure.php and /admin/includes/configure.php files by downloading them (FTP) to your PC. Done

    3. On your OLD host, Make a COMPLETE backup of your DATABASE and STORE.
    a. Use either the "Backup MySQL Database" contribution to do the backup of your database, or use phpMyAdmin to export your entire database ... include the "DROP" tables command, and under Data, choose "Complete Inserts" and "Extended Inserts".
    Save the SQL file to your PC for later. Click here for tips on using phpMyAdmin to export database. Done
    b. Download all your old site's files via FTP (or if you have the option, zip them up on the server and download the zip)Wait, wait, WAIT!!
    All of the files? Seems to me that there are cpanel files I don't need. When I did afull backup should all of the files have been included in the backup? see my file list below..


    4. Now upload your OLD files over the NEW files on the NEW server, WITH TWO EXCEPTIONS: Don't overwrite the /includes/configure.php and /NAME_OF_YOUR_RENAMED_ADMIN_FOLDER/includes/configure.php files on the NEW server.
    5. Go back to phpMyAdmin on your NEW server.
    a. Select your NEW database (that you installed the NEW Zen Cart into)
    b. DROP all the tables. (Check them all and scroll down and on "With Selected..." select DROP. Confirm Yes.
    c. Click on the SQL tab across the top (or "Import" on newer phpMyAdmin configurations) and click Browse.
    d. Select the SQL file you made in step 3a when you exported your old database, and click Go. When i set up my local ZC store earlier today i used a backcopy ogf the DB from my live site. Do i need to do this step again? They both have the same names/tables.

    6. Grab the "Fix_Cache_Key" utility to reset your Admin->Sessions->Session Directory key so that it uses the proper folder path for your new server:
    http://www.zen-cart.com/index.php?ma...products_id=82

    Simply upload the file to your NEW Zen Cart folder and open fix_cache_key.php in your browser. It will give you status messages. Delete fix_cache_key.php when you're finished.
    Is step 6 required for a local installation?
    Regarding #3 above.
    This is a list of all of the folders currently on my site:
    (/home/NAME)
    .cpanel
    .htpasswds
    .HttpRequest
    .installatron
    .MirrorSearch
    .sqmailattach
    .sqmaildata
    .trash
    access-logs
    etc
    FEC
    IH2
    mail
    public_html
    sitemapXML
    ssl
    Store_Root
    tmp
    www

    Will I need all of these?

  8. #18
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Open a backup copy on LocalHost

    Re: #3 -- The point was referring to your Zen Cart files. Everything outside of the Zen Cart files is outside the scope of the Zen Cart instructions.
    .

    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.

  9. #19
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Open a backup copy on LocalHost

    That's what I thought, just wanted to be sure.
    So Red gets left behind (so to speak)

    .cpanel
    .htpasswds
    .HttpRequest
    .installatron
    .MirrorSearch
    .sqmailattach
    .sqmaildata
    .trash
    access-logs

    etc
    FEC
    IH2
    mail
    public_html
    sitemapXML
    ssl
    Store_Root
    tmp
    www

  10. #20
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Open a backup copy on LocalHost

    No. EVERYTHING gets left behind, except whatever files under public_html belong to your Zen Cart piece.

    public_html is where your live website content exists. If your Zen Cart files are directly in public_html then you'll pay attention to what's in public_html. If your Zen Cart files are in a subdirectory under public_html, then it's that subdirectory to focus on. Anything else is entirely outside the scope of Zen Cart, and you'll need to assess those yourself.
    .

    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.

 

 
Page 2 of 5 FirstFirst 1234 ... LastLast

Similar Threads

  1. v139f links not working on a site backup on localhost.
    By kevin_a in forum Installing on a Windows Server
    Replies: 10
    Last Post: 26 Jan 2014, 04:02 AM
  2. How to open database backup?
    By PudzPud in forum General Questions
    Replies: 4
    Last Post: 18 Nov 2011, 09:25 PM
  3. How to copy (backup) the database?
    By crystaldreams in forum Basic Configuration
    Replies: 4
    Last Post: 5 Oct 2011, 02:33 PM
  4. localhost to live copy
    By daveky in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 5 Sep 2006, 02:13 PM

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