If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / Upgrading from my beta of v1.5.5 to v1.5.5

Upgrading from my beta of v1.5.5 to v1.5.5

Started by webskipper on 17 Mar 2016, 8:08 PM · Views: 1,934

Results 21 to 24 of 24
24 Mar 2016, 6:43 PM
#21
drbyte avatar

drbyte

Sensei

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

Post #21 by drbyte

webskipper:

I have done that and am comparing the new db to the live db.

I am discovering many similar strings of the live DB missing the Auto_increment function

demo currencies_id int(11) NOT NULL AUTO_INCREMENT,
Live currencies_id int(11) NOT NULL,

Is this the issue?
It was certainly the issue with your problems with the layout-box-controller.
It could very well be the cause of all manner of other inconsistencies. I think we've already had this discussion.

.
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.

25 Mar 2016, 5:31 PM
#22
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Post #22 by webskipper

webskipper:

I compared the new db to the live db and added the Auto_increment function to the live DB where it was missing.

Is this the issue?

Should these strings be touched?

bigint(15) NOT NULL AUTO_INCREMENT

vs

int(15) NOT NULL AUTO_INCREMENT

OR

char(3) NOT NULL DEFAULT

vs

varchar(3) NOT NULL DEFAULT

Cheers!
v2.2.1

25 Mar 2016, 5:42 PM
#23
drbyte avatar

drbyte

Sensei

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

Post #23 by drbyte

webskipper:

Should these strings be touched?

bigint(15) NOT NULL AUTO_INCREMENT

vs

int(15) NOT NULL AUTO_INCREMENT

OR

char(3) NOT NULL DEFAULT

vs

varchar(3) NOT NULL DEFAULTSince your site is using v155, I'd use whatever the v155 distribution SQL uses, unless you've got specific technical reasons for using otherwise. See /zc_install/sql/mysql_zencart.sql

.
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.

25 Mar 2016, 8:14 PM
#24
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Post #24 by webskipper

DrByte:

Since your site is using v155, I'd use whatever the v155 distribution SQL uses, unless you've got specific technical reasons for using otherwise. See /zc_install/sql/mysql_zencart.sql

I believe that fixed the add/edit cart issue. Thanks.

Cheers!
v2.2.1