Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    May 2010
    Posts
    84
    Plugin Contributions
    0

    red flag Question about upgrading

    Hi,

    We have been planning to upgrade to the latest version. We think the developer might not have done it quite right. Most likely he has copied the existing site to a demo folder and then upgraded it to the latest version. We realised that he should have installed the latest version in the demo folder first and then carried over the customisation. We want to know if we are better off starting in a new demo folder again or trying to fix what he has done?

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,515
    Plugin Contributions
    126

    Default Re: Question about upgrading

    I'd suggest starting over. Most likely the number of file you changed in your cart is small compared to the number of core Zen Cart files which have changed. Start with the latest then bring your customizations over.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Question about upgrading

    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    May 2010
    Posts
    84
    Plugin Contributions
    0

    Default Re: Question about upgrading


  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Question about upgrading

    Not much really. Just that people get scared because the 2nd one looks daunting. It seems most people just want to click a button and have the upgrade done for them, having been spoiled by Microsoft for too many years.
    The 1st is just presented from a different angle, with a few tweaks that I've found make things go more smoothly and minimize risk of lost data.

    Read and study both. It's all useful info.
    .

    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
    May 2010
    Posts
    84
    Plugin Contributions
    0

    Default Re: Question about upgrading

    Hi,

    Been trying to import the old database into the new database using phpmyadmin but because the file is very big, it keeps timing out with the message saying connection has reset. Any suggestion?

  7. #7
    Join Date
    May 2010
    Posts
    84
    Plugin Contributions
    0

    Default Re: Question about upgrading

    Have successfully imported the big database using bigdump.

    Now working on the two configure.php files (for the demo_shop). Noticed a few changes which I am not sure.

    admin/includes/configure.php
    define HTTP_CATALOG_SERVER: is this my_domain.com or my_domain.com/demo_shop?
    define DIR_WS_ADMIN and DIR_WS_HTTPS_ADMIN: this used to be the admin folder name but what do we put in the latest version since the codes are quite different now?
    define DIR_FS_ADMIN: this used to be admin folder path, how do we put in the details in the latest version? It has realpath(dirname(__FILE__) . '/../') . '/'
    define SQL_CACHE_METHOD: this used to be 'database' but do we keep it as 'none' now?
    define DIR_FS_SQL_CACHE: is this public_html/cache or public_html/demo_shop/cache

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Question about upgrading

    Quote Originally Posted by waterbender View Post
    admin/includes/configure.php
    define HTTP_CATALOG_SERVER: is this my_domain.com or my_domain.com/demo_shop?
    http://your_domain.com
    Quote Originally Posted by waterbender View Post
    define DIR_WS_ADMIN and DIR_WS_HTTPS_ADMIN: this used to be the admin folder name but what do we put in the latest version since the codes are quite different now?
    define DIR_FS_ADMIN: this used to be admin folder path, how do we put in the details in the latest version? It has realpath(dirname(__FILE__) . '/../') . '/'
    Those were changed to allow the file to auto-detect your admin foldername, thus meaning you do NOT need to edit this file when you rename your admin folder.
    Quote Originally Posted by waterbender View Post
    define SQL_CACHE_METHOD: this used to be 'database' but do we keep it as 'none' now?
    Either is fine.
    Quote Originally Posted by waterbender View Post
    define DIR_FS_SQL_CACHE: is this public_html/cache or public_html/demo_shop/cache
    It needs to be the complete server path to your cache folder. So if your store is in a folder named demo_shop then it needs to be set to /var/users/username/public_html/demo_shop/cache
    Basically take your DIR_FS_CATALOG value and add /cache to the end.
    .

    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
    May 2010
    Posts
    84
    Plugin Contributions
    0

    Default Re: Question about upgrading

    Thanks DrByte

    So I guess I will leave these intact
    define DIR_WS_ADMIN and DIR_WS_HTTPS_ADMIN
    define DIR_FS_ADMIN

    By the way, regarding define DB_PREFIX, if my existing database uses 'zen_', do I keep using 'zen_' or should I leave it blank?

  10. #10
    Join Date
    May 2010
    Posts
    84
    Plugin Contributions
    0

    Default Re: Question about upgrading

    I put 'zen_' in the configure.php file. I hope that would be okay. Going through zc_install now

    If you wish to change the database table prefixes, enter the new prefix below. NOTE: please verify that the prefix name is not already used in your database, as we do not check for such duplication. Using an already-existing table prefix will corrupt your database.
    Enter the NEW Table-Prefix:
    should I use 'zen_' or blank or new prefix?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Question about upgrading
    By dickus in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 7 Mar 2016, 10:51 AM
  2. Question about upgrading with Cherry Zen template
    By nyrainman in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 4 Aug 2014, 04:11 PM
  3. Question about Upgrading
    By jenstudio in forum Upgrading to 1.5.x
    Replies: 10
    Last Post: 22 Nov 2012, 07:55 AM
  4. question about upgrading
    By mythcastle in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 18 Mar 2012, 02:32 PM
  5. General question about upgrading Admin area
    By MCanes in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 May 2007, 02:55 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