Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Install Hanging up on upgrade/server move etc? Check this

    Having spent some considerable time tracking down a problem with an installation hanging up, the following may help others...

    1. When you run the installation, a log file is added to the cache directory.

    2. If you have commented out old defines in the configure files - at least in the database section - you may well have problems. For example, I had
    Code:
     //define('DB_SERVER', 'localhost');
      define('DB_SERVER', 'mysql.jswebconsole.co.uk');
      //define('DB_SERVER', '127.0.0.1:3306');
    According to the error log, there was trouble connecting to the database at "localhostmysql.jswebconsole.co.uk127.0.0.1:3306" !

    It seems that these commented out lines are ignored during the installation inspection process
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

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

    Default Re: Install Hanging up on upgrade/server move etc? Check this

    Thanks Ryk, I've fixed it so that won't happen from v1.3.9 onwards.
    .

    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.

  3. #3
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Install Hanging up on upgrade/server move etc? Check this

    Thank you - any chance of publishing the fix because I'm doing upgrades daily and would like to add it to my "master" copy. (Not that I'll be caught out again by this, but it may save me some time)
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

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

    Default Re: Install Hanging up on upgrade/server move etc? Check this

    /zc_install/includes/functions/general.php
    line 478
    wrap trim() around $line, as shown:
    Code:
           if (substr(trim($line),0,2) == '//') continue;
    .

    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
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Install Hanging up on upgrade/server move etc? Check this

    Thank you DrByte!
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

 

 

Similar Threads

  1. Replies: 9
    Last Post: 31 May 2015, 01:03 PM
  2. Upgrade strategy ... (and server move)
    By montello1984 in forum Upgrading to 1.5.x
    Replies: 81
    Last Post: 31 Jan 2015, 10:58 AM
  3. upgrade . install new template etc
    By Princess Mahi in forum General Questions
    Replies: 3
    Last Post: 18 Mar 2013, 10:53 PM
  4. 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
  5. I can't Log In to Admin after install/move to a new server
    By uni in forum Installing on a Windows Server
    Replies: 19
    Last Post: 2 Oct 2008, 07:37 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