Results 1 to 10 of 16

Hybrid View

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

    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.

  2. #2
    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?

  3. #3
    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

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

    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.

  5. #5
    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?

  6. #6
    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?

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

    Default Re: Question about upgrading

    Quote Originally Posted by waterbender View Post
    By the way, regarding define DB_PREFIX, if my existing database uses 'zen_', do I keep using 'zen_' or should I leave it blank?
    In order to use the data from another database, you must use the same DB_PREFIX in the new site as you had in the old one.
    .

    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.

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

    Default Re: Question about upgrading

    Thank you :)

 

 

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