Forums / Upgrading from 1.3.x to 1.3.9 / 1253 COLLATION Error Message

1253 COLLATION Error Message

Locked

Started by cactusrunning on 10 Nov 2010, 11:23 PM · Views: 1,676

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
10 Nov 2010, 11:23 PM
#1
cactusrunning avatar

cactusrunning

Zen Follower

Join Date:
Sep 2009
Posts:
137
Plugin Contributions:
0

1253 COLLATION Error Message

I tried upgrading to 1.3.9h, but as soon as I clicked "upgrade database" it brought up this error message:

1253 COLLATION 'latin1_general_ci' is not valid for CHARACTER SET 'utf8'
in:
[CREATE TABLE zen_counter_history_clean as SELECT * FROM zen_counter_history WHERE 1 GROUP BY startdate COLLATE latin1_general_ci;]

I haven't seen this error message in another thread... can someone please help me get this fixed? Is this a language thing or a counter history thing?:huh:

But when I go to my website it says "the website is currently down for maintenance to the public." It is functional for me though.... does this mean the upgrade is actually taking place?

10 Nov 2010, 11:28 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 1253 COLLATION Error Message

I haven't seen this error message in another thread... can someone please help me get this fixed?

DrByte:

That collation error comes from the fact that the system defaults to latin1, not utf8, but your database is utf8.

You can override that by editing the /zc_install/includes/installer_params.php to set DB_CHARSET from latin1 to utf8

Post #31
http://www.zen-cart.com/forum/showthread.php?t=162378

Zen-Venom Get Bitten

10 Nov 2010, 11:51 PM
#3
cactusrunning avatar

cactusrunning

Zen Follower

Join Date:
Sep 2009
Posts:
137
Plugin Contributions:
0

Re: 1253 COLLATION Error Message

Thanks... I didn't go back to Aug in my search results. I got the language issue changed. Now I am getting the "Skipped Upgrade Statements: 3" error. Here they are:

SKIPPED: Cannot insert configuration_key "SHOW_SPLIT_TAX_CHECKOUT" because it already exists

SKIPPED: Cannot add index idx_prod_id_orders_id_zen to table orders_products because it already exists.

SKIPPED: Cannot add index idx_cust_id_orders_id_zen to table orders because it already exists.

I would like to go ahead and Skip these, but am not given an option. **I do not have any add ons.... What's next?

11 Nov 2010, 12:06 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 1253 COLLATION Error Message

Skipped because it already exists can be ignored

Zen-Venom Get Bitten

11 Nov 2010, 12:20 AM
#5
cactusrunning avatar

cactusrunning

Zen Follower

Join Date:
Sep 2009
Posts:
137
Plugin Contributions:
0

Re: 1253 COLLATION Error Message

I understand it can be ignored, but it won't let me continue with the upgrade. All it says is "you may proceed to Skip Upgrades," but there is not an option. If I re-click "Upgrade Database" it takes me back to this start page with the errors.

Where is "Skip Upgrades" if not on the main page?

Otherwise, does this mean the remaining files have been upgraded? Although on this upgrade skip I am only on

* Welcome
* License
* Prerequisites
* Database Setup

** * Database Upgrade**
* System Setup
* Store Setup
* Admin Setup
* Finished

11 Nov 2010, 12:54 AM
#6
cactusrunning avatar

cactusrunning

Zen Follower

Join Date:
Sep 2009
Posts:
137
Plugin Contributions:
0

Re: 1253 COLLATION Error Message

Another thought -- am I supposed to go into zc_install and delete out certain files/folders to get rid of them and allow the upgrade to run?