Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart 4.0.18 released

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #21  
Old 05-31-2006, 12:37 PM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default

svowl,

Can you please assist with my question below regarding to upgrading my webstore from 4.0.17 to 4.0.18 ?

Thank you
-Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote
  #22  
Old 06-01-2006, 09:14 PM
 
svowl svowl is offline
 

X-Cart team
  
Join Date: Jan 2003
Posts: 937
 

Default

Quote:
Originally Posted by TL408
svowl,

Can you please assist with my question below regarding to upgrading my webstore from 4.0.17 to 4.0.18 ?

Thank you
-Tuan

The table 'xcart_counters' was included in 4.0.18. So, it seems you have applied some patch that contained this table. To upgrade to 4.0.18, do the following:
1) Restore your old X-Cart (4.0.17) - both the files and the database
2) Uncompress the files from the upgrade pack to the directory with X-Cart
3) Check if 'xcart_counters' table exists in the database. If it exists, open the file <xcart_dir>/upgrade/4.0.17-4.0.18/patch.sql and delete this block:

Code:
CREATE TABLE xcart_counters ( type char(1) NOT NULL default '', value int(11) NOT NULL auto_increment, PRIMARY KEY (type,value) ) TYPE=MyISAM;
__________________
Vladimir Semyonov
Lead Software Engineer
Reply With Quote
  #23  
Old 06-02-2006, 01:55 PM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default

Thanks svowl. Your help is greatly appreciated.

-Tuan

Quote:
Originally Posted by svowl
Quote:
Originally Posted by TL408
svowl,

Can you please assist with my question below regarding to upgrading my webstore from 4.0.17 to 4.0.18 ?

Thank you
-Tuan

The table 'xcart_counters' was included in 4.0.18. So, it seems you have applied some patch that contained this table. To upgrade to 4.0.18, do the following:
1) Restore your old X-Cart (4.0.17) - both the files and the database
2) Uncompress the files from the upgrade pack to the directory with X-Cart
3) Check if 'xcart_counters' table exists in the database. If it exists, open the file <xcart_dir>/upgrade/4.0.17-4.0.18/patch.sql and delete this block:

Code:
CREATE TABLE xcart_counters ( type char(1) NOT NULL default '', value int(11) NOT NULL auto_increment, PRIMARY KEY (type,value) ) TYPE=MyISAM;
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote
  #24  
Old 06-25-2006, 12:59 AM
  kustomrides's Avatar 
kustomrides kustomrides is offline
 

eXpert
  
Join Date: Apr 2005
Location: Southern California
Posts: 212
 

Default

[quote="svowl"]
Quote:
Originally Posted by TL408
svowl,

Open the file <xcart_dir>/upgrade/4.0.17-4.0.18/patch.sql and delete this block:

Code:
CREATE TABLE xcart_counters ( type char(1) NOT NULL default '', value int(11) NOT NULL auto_increment, PRIMARY KEY (type,value) ) TYPE=MyISAM;

Did this after encountering the SQL error. Thanks for saving a late night upgrade for me. Love this forum!
__________________
x-cart Gold 4.7.4
RedHat Linux 7.2; Pearl 5.20.2; PHP 5.5.26; MySQL 5.6.27, server 5.1.54;
Ruby 2.1.5p273; Python 3.4.2;

Several mods in menu and skin, BSCE shipping-per-product, CDSEO Pro
Reply With Quote
Reply
   X-Cart forums > News and Announcements



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:26 AM.

   

 
X-Cart forums © 2001-2020