Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Aug 2006
    Posts
    15
    Plugin Contributions
    0

    Default Upgrade and move questions for newbie

    Hi, I have been confronted with an issue I'm a little unsure how to tackle.

    I have not used zen-cart before which makes this a little more difficult.
    I need to move a zen-cart (version 1.2.5) from a previous developers server to my server which already has version 1.3.0.1 (installed via fantastico which I prefer at this time to auotmate updates).

    I have both FTP and phpMyAdmin access to the current server.

    What is the best way to move this cart? I did not want to upgrade the current site because it's on another server and I am so far unfamilar with zen-cart.

    My initial thought was to install 1.2.5 on my development server and install the current version there. Then upgrade it to 1.3.0.1 and then move that data to the new server. However, I cannot find where to get an older version of zen-cart.

    Also, I cannot find any instructions on restoring zen-cart. Is it best to export the sql from the current site and then run that sql on the new site using phpMyAdmin.

    I'm sorry if these questions have been asked before but I could not find all the answers to these questions and it's a little overwhelming.

    What would be the best way for me to make this move?

    Thanks,
    Damien.

  2. #2
    Join Date
    Aug 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Upgrade and move questions for newbie

    That's OK. I think I just found the answer here.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Upgrade and move questions for newbie

    What was the solution that worked for you?

    NOTE: the current version of Zen Cart is v1.3.0.2 and you should use the Full Zen Cart v1.3.0.2 Download from here to upgrade ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Aug 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Upgrade and move questions for newbie

    Thanks for the reply Ajeh and sorry for the late response. I have not found a solution yet.
    I have downloaded the files and database to my home server. The front end (customer section) seems to work fine but the admin section wont load any pages. I have probably done something wrong.

    The upgrading tutorial I was using on this site I can not longer find. But it said that I should be installing the current version of Zen cart of the server and then removing the database and all files apart from the two configure.php files. Then upload the current files and database and upgrade from there.

    Does this sound correct? It sounds a little strange to me. Can someone point me to a URL that has the most correct way tio upgrade a site?

    Thanks
    Damien.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrade and move questions for newbie

    high level instructions:

    1. install zen cart on new server, (with demo products)... thus in new database on same server
    2. tweak it to display properly. WRITE DOWN EVERY SETTING CHANGE YOU MAKE IN THE ADMIN AREA

    To prepare for "real" upgrade:
    3. backup old database
    4. import old database overtop of new database
    5. run zc_install on new server, and choose Database Upgrade
    6. re-do all the admin-side settings changes you made in #2
    7. TEST TEST TEST

    When ready to go "live", copy files from development folder to real server, and repeat steps 3-6 on real server



    Here is the server-swap documentation:
    http://www.zen-cart.com/wiki/index.p...Switch_Servers
    .

    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.

  6. #6
    Join Date
    Aug 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Upgrade and move questions for newbie

    Thanks DrByte, the link to the tutorial that you left is great. I am doing this now but I am left with more questions.

    1. Is it normal for the zen-cart files to take up 140MBs of HDD space? The The site is mygroceryshop.com.au if that helps. It is quite large but I feel that 140MB can't be right.

    2. Is there some maintence that can be done to remove any reduntant stuff like files or unused items?

    The database itself is 14MB in size.

    I just wanted some thoughts on this to put my mind at ease. It could take me 16 hours to upload this stuff to the new server.

    Thanks.
    flame

  7. #7
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Upgrade and move questions for newbie

    Can you run a search over your cart to find out files more than 2 MB
    Also, are you storing sessions in files
    That might be one reason for space but 140 MB
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  8. #8
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrade and move questions for newbie

    Typically your "images" folder contains the most data.

    For a test/work-area, you could skip the images folder, as long as you can live with broken-image links on your products showing while testing.
    .

    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. #9
    Join Date
    Aug 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Upgrade and move questions for newbie

    Thanks for your responses guys. I have it running on the new server. It took a very long time to upload the files but it's working.

    I don't have shell access to the server so I'll have to write or find a php script to search for files over 2MB.

  10. #10
    Join Date
    Jan 2005
    Location
    Austin, TX
    Posts
    93
    Plugin Contributions
    0

    Default Re: Upgrade and move questions for newbie

    Quote Originally Posted by DrByte
    high level instructions:

    1. install zen cart on new server, (with demo products)... thus in new database on same server
    2. tweak it to display properly. WRITE DOWN EVERY SETTING CHANGE YOU MAKE IN THE ADMIN AREA

    To prepare for "real" upgrade:
    3. backup old database
    4. import old database overtop of new database
    5. run zc_install on new server, and choose Database Upgrade
    6. re-do all the admin-side settings changes you made in #2
    7. TEST TEST TEST
    I cannot get past Step 4. I get SQL errors.

    Error
    SQL query:

    -- Dumping data for table 'address_format'---

    INSERT INTO address_format( address_format_id, address_format, address_summary )
    VALUES ( 1, '$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country', '$city / $country' ) , ( 2, '$firstname $lastname$cr$streets$cr$city, $state $postcode$cr$country', '$city, $state / $country' ) , ( 3, '$firstname $lastname$cr$streets$cr$city$cr$postcode - $statecomma$country', '$state / $country' ) , ( 4, '$firstname $lastname$cr$streets$cr$city ($postcode)$cr$country', '$postcode / $country' ) , ( 5, '$firstname $lastname$cr$streets$cr$postcode $city$cr$country', '$city / $country' ) ;

    MySQL said:
    #1062 - Duplicate entry '1' for key 1

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Images questions Thumbs and Larger Newbie Question
    By brians34 in forum General Questions
    Replies: 7
    Last Post: 15 Jan 2012, 01:05 AM
  2. Newbie questions about shipment/payment settings (for Sweden)
    By Erik011 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Jan 2008, 07:23 PM
  3. move and upgrade procedure
    By godt in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 21 Jan 2008, 07:56 AM
  4. newbie upgrade questions
    By zas in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 3 Dec 2006, 10:39 PM
  5. 2 newbie questions: breadcrumbs and css
    By texasdawn in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Oct 2006, 01:51 PM

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