Page 2 of 9 FirstFirst 1234 ... LastLast
Results 11 to 20 of 82
  1. #11
    Join Date
    Dec 2014
    Location
    United Kingdom
    Posts
    49
    Plugin Contributions
    0

    Default Re: Upgrade strategy ... (and server move)

    Ah .... it seems to be connected now ... dunno why that has suddenly changed.

    I think I just now need to do some customisation of colours.

    Thanks for all your help so far.

  2. #12
    Join Date
    Dec 2014
    Location
    United Kingdom
    Posts
    49
    Plugin Contributions
    0

    Default Re: Upgrade strategy ... (and server move)

    OK - I think I have sort of worked it out ...

    Something a bit odd is going on regarding how various components are connecting.

    If I add the text:
    80.76.216.10 www.petticrows.co.uk
    to my hosts file I see the staging site on the new server and a virgin ZC install with no products.

    If I then remove that line from my hosts file I see a virgin ZC install with my products.

    If I view the site on another PC I see the old site as I expected ... old ZC install

    Something odd is going on when I mess with the hosts file to re-direct the browser to the staging site.

    Any thoughts?

  3. #13
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Upgrade strategy ... (and server move)

    Quote Originally Posted by montello1984 View Post
    OK - I think I have sort of worked it out ...

    Something a bit odd is going on regarding how various components are connecting.

    If I add the text:
    80.76.216.10 www.petticrows.co.uk
    to my hosts file I see the staging site on the new server and a virgin ZC install with no products.

    If I then remove that line from my hosts file I see a virgin ZC install with my products.

    If I view the site on another PC I see the old site as I expected ... old ZC install

    Something odd is going on when I mess with the hosts file to re-direct the browser to the staging site.

    Any thoughts?
    That would be the normal caching that your browser does, as well as IP address caching that your PC does.
    You'll need to clear your browser cache and cookies, and also "flush IP routes" (google for "windows flush routes"). Or just use 2 PCs.
    .

    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.

  4. #14
    Join Date
    Dec 2014
    Location
    United Kingdom
    Posts
    49
    Plugin Contributions
    0

    Default Re: Upgrade strategy ... (and server move)

    OK - had a bit of a clean up and rebooted and using a new browser in private mode and I can now see the staged version.

    Sadly it is not linking to the DB where as when the IP routing was slightly muddled it was ...

    Any tips/ideas?

  5. #15
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Upgrade strategy ... (and server move)

    I still don't really know what you mean by "is not linking to the database".
    .

    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. #16
    Join Date
    Dec 2014
    Location
    United Kingdom
    Posts
    49
    Plugin Contributions
    0

    Default Re: Upgrade strategy ... (and server move)

    The ZC shop is not picking up all the product listings that are contained in the SQL data base and the product images.

    For a while it looked almost done when the browser was obviously getting IP routing a bit confused and all the products were listed.

    Now all I see is what looks like a completely blank ZC install with no product listings as the install is not connecting with the SQL database which contains all the shop details.

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

    Default Re: Upgrade strategy ... (and server move)

    Quote Originally Posted by montello1984 View Post
    The ZC shop is not picking up all the product listings that are contained in the SQL data base and the product images.

    For a while it looked almost done when the browser was obviously getting IP routing a bit confused and all the products were listed.

    Now all I see is what looks like a completely blank ZC install with no product listings as the install is not connecting with the SQL database which contains all the shop details.
    That's exactly symptomatic of having a different DB_PREFIX on the new site than what you had on the old site. Thus, the database is being told to look at tables which are named differently in both databases, thus you're making it look at a completely separate set of data.
    That's why step #1 in my instructions earlier told you to note and use the same prefix on the new site as you did on the old.
    .

    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. #18
    Join Date
    Dec 2014
    Location
    United Kingdom
    Posts
    49
    Plugin Contributions
    0

    Default Re: Upgrade strategy ... (and server move)

    I believe I have:

    Here is the section from the current live site:


    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'petticrows');
    define('DB_SERVER_PASSWORD', '****************');
    define('DB_DATABASE', 'onlineshop');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage


    Here is the same section from the staged site:

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_CHARSET', 'utf8');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'dragon_petticrow');
    define('DB_SERVER_PASSWORD', '**************');
    define('DB_DATABASE', 'dragon_onlineshop');

  9. #19
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Upgrade strategy ... (and server move)

    Quote Originally Posted by montello1984 View Post
    I have had the database copied over by the hosting company.
    Can you explain what you mean by this?
    .

    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.

  10. #20
    Join Date
    Dec 2014
    Location
    United Kingdom
    Posts
    49
    Plugin Contributions
    0

    Default Re: Upgrade strategy ... (and server move)

    My hosting company moved(took a copy) the SQL database from my old Plesk based server (which is currently still live) to my new cPanel server which I am working on at present in the background.

    I didn't migrate the database myself.

    I am operating on the fringes of my expertise here ... (thanks for helping)

 

 
Page 2 of 9 FirstFirst 1234 ... LastLast

Similar Threads

  1. v1.2.x Advice on upgrade strategy from 1.2.6 to 1.5.4
    By gareth-h in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 12 Dec 2015, 01:35 PM
  2. v139h Server move & upgrade - sanity check please
    By bigplaywebguy in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 3 Feb 2012, 07:27 PM
  3. Install Hanging up on upgrade/server move etc? Check this
    By Ryk in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 14 Jan 2010, 11:59 PM
  4. Server move - Problem with url and Server/Version Info - please help!
    By bethalicea in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 7 Jun 2009, 10:07 PM
  5. 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

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