Forums / Templates, Stylesheets, Page Layout / After I installed 1x Membership Fee..

After I installed 1x Membership Fee..

Locked

Views: 630

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Mar 2010, 12:40 PM
#1
xiaochin avatar

xiaochin

New Zenner

Join Date:
Feb 2010
Posts:
26
Plugin Contributions:
0

After I installed 1x Membership Fee..

Hi, Everyone!

After I installed 1x Membership Fee.

When customer registered, Going to..show

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
in:
[insert into zen_customers_basket (customers_basket_id, customers_id, products_id, customers_basket_quantity, customers_basket_date_added) values ('','6', ###, '1', '20100319')]

Could somebody tell me what is the problems? Thank you very much.:smile:

19 Mar 2010, 9:02 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: After I installed 1x Membership Fee..

your tables have prefix ? this sql statement tries to alter table called zen_customers_basket .. however , your table might not have the zen_prefix or might be different ..

29 Mar 2010, 11:25 AM
#3
xiaochin avatar

xiaochin

New Zenner

Join Date:
Feb 2010
Posts:
26
Plugin Contributions:
0

Re: After I installed 1x Membership Fee..

Hi, Thank you for your reply.

Yes, you are right, I searched this table from Msql, don't have this.

How can I create this table? Thank you.

:smile: please help.

31 Mar 2010, 10:40 AM
#4
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: After I installed 1x Membership Fee..

Instead of manually adding a prefix to your tables, you can edit both your configure.php files to not use the prefix 'zen_' when accessing your current tables.

Just look for the following line in both your configure.php files:

define('DB_PREFIX', 'zen_');
```and change it to:

```php
define('DB_PREFIX', '');

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store