Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Install Hanging up on upgrade/server move etc? Check this

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

Locked

Views: 1,404

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
14 Jan 2010, 10:23 PM
#1
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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```
    //define('DB_SERVER', 'localhost');
    define('DB_SERVER', 'mysql.jswebconsole.co.uk');
    //define('DB_SERVER', '127.0.0.1:3306');


It seems that these commented out lines are ignored during the installation inspection process
14 Jan 2010, 10:43 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

14 Jan 2010, 10:51 PM
#3
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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)

14 Jan 2010, 10:56 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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:```
if (substr([B]trim([/B]$line[B])[/B],0,2) == '//') continue;

14 Jan 2010, 10:59 PM
#5
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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

Thank you DrByte! :bigups: