Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Upgrade stuck after clicking "Upgrade"

Upgrade stuck after clicking "Upgrade"

Locked

Views: 1,301

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
2 Nov 2010, 1:11 AM
#1
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

Upgrade stuck after clicking "Upgrade"

Hi,

I'm installing a test upgrade of 1.3.9h, and after I click "Upgrade" in the ZC_INSTALL, I get this message:

Warning: This script should ONLY be used to upgrade your Zen Cart™ database schema through the versions listed below. We HIGHLY RECOMMEND doing a full backup of your database prior to performing any upgrades on it!

But the page has no button or anything on it.

Am I missing something?

I read the instructions, and think I have everything set right... the site actually WORKS, but I get messages about needing a database patch... but cannot upgrade the DB.

2 Nov 2010, 1:28 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Upgrade stuck after clicking "Upgrade"

Sounds symptomatic of an incomplete upload of the contents of the zc_install folder(s)

2 Nov 2010, 1:33 AM
#3
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

Re: Upgrade stuck after clicking "Upgrade"

OK, I will re-upload and try again, then let you know what happens.

Thanks!

DrByte:

Sounds symptomatic of an incomplete upload of the contents of the zc_install folder(s)

2 Nov 2010, 1:42 AM
#4
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

Re: Upgrade stuck after clicking "Upgrade"

No luck... I re-uploaded everything, and still have the same problem. It gets the the next page after clicking "Upgrade", and it's done. Nothing. No error or anything.

Yet I can get into Admin and site, but with DB Patch errors.

The only thing that shows as a problem on the "Check settings" page is a warning: "PHP Output Buffering (gzip) = OFF" has a yellow exclamation point.

Everything else is checked as OK.

Strange.

2 Nov 2010, 2:06 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Upgrade stuck after clicking "Upgrade"

In your /cache/ folder will be several zcInstall-xxxxxx.log files (as long as you look there immediately after you get that blank page). What do they contain?

2 Nov 2010, 2:20 AM
#6
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

Re: Upgrade stuck after clicking "Upgrade"

I found this?:

[01-Nov-2010 22:16:35] PHP Warning: require(includes/templates/template_default/templates/database_upgrade_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/vermonts/public_html/vtstuff/zc_install/includes/templates/template_default/common/tpl_main_page.php on line 31
[01-Nov-2010 22:16:35] PHP Warning: require(includes/templates/template_default/templates/database_upgrade_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/vermonts/public_html/vtstuff/zc_install/includes/templates/template_default/common/tpl_main_page.php on line 31
[01-Nov-2010 22:16:35] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/database_upgrade_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vermonts/public_html/vtstuff/zc_install/includes/templates/template_default/common/tpl_main_page.php on line 31

2 Nov 2010, 2:22 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Upgrade stuck after clicking "Upgrade"

rcrosier:

[01-Nov-2010 22:16:35] PHP Warning: require(includes/templates/template_default/templates/database_upgrade_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/vermonts/public_html/vtstuff/zc_install/includes/templates/template_default/common/tpl_main_page.php on line 31
Yup. As I expected. Missing files.

You're missing at least the following file:
/zc_install/includes/templates/template_default/templates/database_upgrade_default.php

2 Nov 2010, 2:41 AM
#8
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

Re: Upgrade stuck after clicking "Upgrade"

Well, I think you found something, but I don't quite understand why it happened.

Looks like the Windows Extractor chopped off a letter from the zip file. I have this file: database_upgrade_default.ph (no "PHP")

I did it again, and it came out the same, but then I did it to ANOTHER location, and it was OK..???

I ran the DB upgrade, and it looks like I got ONE exception:

Cannot insert configuration_key "DEFINE_PAGE_NOT_FOUND_STATUS" because it already exists

2 Nov 2010, 4:39 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Upgrade stuck after clicking "Upgrade"

You can safely ignore that exception.