Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Need help upgrade from 1.3.7 to 1.3.8

Need help upgrade from 1.3.7 to 1.3.8

Locked

Views: 5,981

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
22 Feb 2008, 3:11 AM
#1
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Need help upgrade from 1.3.7 to 1.3.8

I tried to upgrade from 1.3.7 to 1.3.8, but after I click the "Update Database Now", the progress bar was moving slowing but it did not respond. I've waited for over 30 minites now and there is still no response. Is this a common problem and is there anyway that I can upgrade the database directly from PHPMyAdmin? Thanks

22 Feb 2008, 5:18 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Need help upgrade from 1.3.7 to 1.3.8

Did you try starting over?

22 Feb 2008, 9:16 PM
#3
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

I've tried new installation, it worked fine. I have quite a few mods (SEO, Timezone offset, esay populate etc.) Will those interupt the upgrade?

23 Feb 2008, 5:19 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Need help upgrade from 1.3.7 to 1.3.8

Those should not break the upgrade.

But that's one reason for doing a test upgrade on a test copy of your site ... just to be sure!

23 Feb 2008, 1:03 PM
#5
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

How can I solve this problem? Is there anyway I can apply the database patch using PHPMyAdmin? Thanks

23 Feb 2008, 2:14 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Need help upgrade from 1.3.7 to 1.3.8

When you say it hangs on you, what do you see?
Is the page completely blank or do you see some information/progress details?

25 Feb 2008, 9:02 AM
#7
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

It stays at the upgrade database page, did not go any further.

25 Feb 2008, 5:01 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Need help upgrade from 1.3.7 to 1.3.8

lennypeng:

It stays at the upgrade database page, did not go any further.

I don't follow you.
Are you saying that when you click the submit button to start the upgrade, the button does nothing?
Or what exactly is happening?

26 Feb 2008, 9:43 AM
#9
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

After i click the upgrade buttom, the progress bar at the bottom of the browser turned green but nothing happened on the page, it stayed at the upgrade page.

1 Mar 2008, 10:02 PM
#10
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

Hi DrByte, can you tell me what might went wrong? Or is there anyway to upgrade directly in PHPmyAdmin? Cheers

1 Mar 2008, 11:30 PM
#11
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

I've attached a screenshot, it just stayed on this page forever.

2 Mar 2008, 1:47 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: Need help upgrade from 1.3.7 to 1.3.8

Can you open your /cache folder and zip and post the zcInstall log files?

2 Mar 2008, 4:02 AM
#13
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

Thanks, here is the zip file

2 Mar 2008, 4:45 AM
#14
drbyte avatar

drbyte

Sensei

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

Re: Need help upgrade from 1.3.7 to 1.3.8

lennypeng:

Or is there anyway to upgrade directly in PHPmyAdmin?If you want to sort out every possible error manually, sure, go ahead. The 137-to-138 sql script is in the sql folder in the zc_install directory.
You won't have any of the safeties that the installer provides. If it blows up, restore from backup.

2 Mar 2008, 8:38 AM
#15
lennypeng avatar

lennypeng

New Zenner

Join Date:
Nov 2004
Posts:
45
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

Thanks for your advice. Have you found out what might went wrong given the log file? Cheers

2 Mar 2008, 8:54 AM
#16
drbyte avatar

drbyte

Sensei

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

Re: Need help upgrade from 1.3.7 to 1.3.8

The log file hasn't supplied anything obvious.
Unfortunately I cannot duplicate the problems you're experiencing, so I cannot "fix" anything to be sure it doesn't happen again. :(

15 Apr 2008, 9:04 PM
#17
dim_star avatar

dim_star

New Zenner

Join Date:
Jul 2004
Posts:
1
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

I was having this exact error! That is, submitting the db 1.3.7 to 1.3.8 upgrade form and having it hang until I quit the browser.

Running the 'mysql_upgrade_zencart_137_to_138.php' update script line by line through my MySQL client (MySQL server version 5.0.45-community-nt), I found that line 62, which reads...

INSERT INTO query_builder (query_category, query_name, query_description , query_string) VALUES ('email,newsletters', 'Customers who have never completed a purchase', 'For sending newsletter to all customers who registered but have never completed a purchase', 'SELECT DISTINCT c.customers_email_address as customers_email_address, c.customers_lastname as customers_lastname, c.customers_firstname as customers_firstname FROM TABLE_CUSTOMERS c LEFT JOIN TABLE_ORDERS o ON c.customers_id=o.customers_id WHERE o.date_purchased IS NULL');

...was causing the script to hang every time.

I commented out that line and the upgrade script was able to complete successfully. I then added the query_builder record manually through my MySQL client.

Hope this helps any that are having a similar issue!

16 Nov 2008, 10:53 PM
#18
stevietheman avatar

stevietheman

New Zenner

Join Date:
Mar 2007
Location:
Louisville, Kentucky, USA
Posts:
34
Plugin Contributions:
0

Re: Need help upgrade from 1.3.7 to 1.3.8

I had the same problem as dim.star. and his solution worked.

The query_builder insert fails with the error:

#1364 - Field 'query_keys_list' doesn't have a default value