[Skip to main content](#vessel-content)

#   1064 mysql error when managing characteristics

##

- **[ogosense](/forum/user/29096-ogosense "View ogosense's Profile")**
- [![ogosense's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar29096.png)](/forum/user/29096-ogosense "View ogosense's Profile") Topic Author
- [ Offline](/forum/user/29096-ogosense)

Less More

- Posts: 19
- Thank you received: 0
-
- [](http://www.ogosense.com)
-

11 years 10 months ago -  11 years 10 months ago [\#184777](#184777) by [ogosense](/forum/user/29096-ogosense "View ogosense's Profile")  *[1064 mysql error when managing characteristics](/forum/25-install-update/873919-1064-mysql-error-when-managing-characteristics#184777 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Mozilla Firefox 34.0 -- Error-message(debug-mod must be tuned on) -- : 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 ') AS c&#95;product&#95;code, p.product&#95;id, 1419965081, 1419965081, 0, 0, product&#95;name, p' at line 1 SQL=INSERT IGNORE INTO eb35v&#95;hikashop&#95;product (product&#95;code, product&#95;parent&#95;id, product&#95;created, product&#95;modified, product&#95;hit, product&#95;last&#95;seen&#95;date, product&#95;name, product&#95;description, product&#95;quantity, product&#95;published, product&#95;sale&#95;start, product&#95;sale&#95;end, product&#95;delay&#95;id, product&#95;tax&#95;id, product&#95;type, product&#95;vendor&#95;id, product&#95;manufacturer&#95;id, product&#95;url, product&#95;weight, product&#95;keywords, product&#95;weight&#95;unit, product&#95;meta&#95;description, product&#95;dimension&#95;unit, product&#95;width, product&#95;length, product&#95;height, product&#95;max&#95;per&#95;order, product&#95;access, product&#95;group&#95;after&#95;purchase, product&#95;min&#95;per&#95;order, product&#95;contact, product&#95;display&#95;quantity&#95;field, product&#95;sales, product&#95;waitlist, product&#95;layout, product&#95;average&#95;score, product&#95;total&#95;vote, product&#95;page&#95;title, product&#95;alias, product&#95;price&#95;percentage, product&#95;msrp, product&#95;canonical, product&#95;warehouse&#95;id, product&#95;quantity&#95;layout, videolink) SELECT CONCAT(p.product&#95;code, '&#95;', ) AS c&#95;product&#95;code, p.product&#95;id, 1419965081, 1419965081, 0, 0, product&#95;name, product&#95;description, product&#95;quantity, product&#95;published, product&#95;sale&#95;start, product&#95;sale&#95;end, product&#95;delay&#95;id, product&#95;tax&#95;id, product&#95;type, product&#95;vendor&#95;id, product&#95;manufacturer&#95;id, product&#95;url, product&#95;weight, product&#95;keywords, product&#95;weight&#95;unit, product&#95;meta&#95;description, product&#95;dimension&#95;unit, product&#95;width, product&#95;length, product&#95;height, product&#95;max&#95;per&#95;order, product&#95;access, product&#95;group&#95;after&#95;purchase, product&#95;min&#95;per&#95;order, product&#95;contact, product&#95;display&#95;quantity&#95;field, product&#95;sales, product&#95;waitlist, product&#95;layout, product&#95;average&#95;score, product&#95;total&#95;vote, product&#95;page&#95;title, product&#95;alias, product&#95;price&#95;percentage, product&#95;msrp, product&#95;canonical, product&#95;warehouse&#95;id, product&#95;quantity&#95;layout, videolink FROM eb35v&#95;hikashop&#95;product AS p, WHERE p.product&#95;id IN (19555,19556,19557,19554,19550,19551,19552,19553,19548,19549,19545,19546,19547,19543,19544,19540,19541,19542,19535,19536,19537,19538,19539,19533,19534) AND ()  Hi all,  When adding a characteristic to the product and try to save I get error message as described.  Please help.  Thanks, Dushan")* was created by *[ogosense](/forum/user/29096-ogosense "View ogosense's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Mozilla Firefox 34.0
-- Error-message(debug-mod must be tuned on) -- : 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 ') AS c_product_code, p.product_id, 1419965081, 1419965081, 0, 0, product_name, p' at line 1 SQL=INSERT IGNORE INTO eb35v_hikashop_product (product_code, product_parent_id, product_created, product_modified, product_hit, product_last_seen_date, product_name, product_description, product_quantity, product_published, product_sale_start, product_sale_end, product_delay_id, product_tax_id, product_type, product_vendor_id, product_manufacturer_id, product_url, product_weight, product_keywords, product_weight_unit, product_meta_description, product_dimension_unit, product_width, product_length, product_height, product_max_per_order, product_access, product_group_after_purchase, product_min_per_order, product_contact, product_display_quantity_field, product_sales, product_waitlist, product_layout, product_average_score, product_total_vote, product_page_title, product_alias, product_price_percentage, product_msrp, product_canonical, product_warehouse_id, product_quantity_layout, videolink) SELECT CONCAT(p.product_code, '_', ) AS c_product_code, p.product_id, 1419965081, 1419965081, 0, 0, product_name, product_description, product_quantity, product_published, product_sale_start, product_sale_end, product_delay_id, product_tax_id, product_type, product_vendor_id, product_manufacturer_id, product_url, product_weight, product_keywords, product_weight_unit, product_meta_description, product_dimension_unit, product_width, product_length, product_height, product_max_per_order, product_access, product_group_after_purchase, product_min_per_order, product_contact, product_display_quantity_field, product_sales, product_waitlist, product_layout, product_average_score, product_total_vote, product_page_title, product_alias, product_price_percentage, product_msrp, product_canonical, product_warehouse_id, product_quantity_layout, videolink FROM eb35v_hikashop_product AS p, WHERE p.product_id IN (19555,19556,19557,19554,19550,19551,19552,19553,19548,19549,19545,19546,19547,19543,19544,19540,19541,19542,19535,19536,19537,19538,19539,19533,19534) AND ()

Hi all,

When adding a characteristic to the product and try to save I get error message as described.

Please help.

Thanks,
Dushan

Last edit: 11 years 10 months ago by [ogosense](/forum/user/29096-ogosense "View ogosense's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3MzkxOS0xMDY0LW15c3FsLWVycm9yLXdoZW4tbWFuYWdpbmctY2hhcmFjdGVyaXN0aWNzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 10 months ago [\#184780](#184780) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[1064 mysql error when managing characteristics](/forum/25-install-update/873919-1064-mysql-error-when-managing-characteristics#184780 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Mozilla Firefox 34.0 -- Error-message(debug-mod must be tuned on) -- : 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 ') AS c&#95;product&#95;code, p.product&#95;id, 1419965081, 1419965081, 0, 0, product&#95;name, p' at line 1 SQL=INSERT IGNORE INTO eb35v&#95;hikashop&#95;product (product&#95;code, product&#95;parent&#95;id, product&#95;created, product&#95;modified, product&#95;hit, product&#95;last&#95;seen&#95;date, product&#95;name, product&#95;description, product&#95;quantity, product&#95;published, product&#95;sale&#95;start, product&#95;sale&#95;end, product&#95;delay&#95;id, product&#95;tax&#95;id, product&#95;type, product&#95;vendor&#95;id, product&#95;manufacturer&#95;id, product&#95;url, product&#95;weight, product&#95;keywords, product&#95;weight&#95;unit, product&#95;meta&#95;description, product&#95;dimension&#95;unit, product&#95;width, product&#95;length, product&#95;height, product&#95;max&#95;per&#95;order, product&#95;access, product&#95;group&#95;after&#95;purchase, product&#95;min&#95;per&#95;order, product&#95;contact, product&#95;display&#95;quantity&#95;field, product&#95;sales, product&#95;waitlist, product&#95;layout, product&#95;average&#95;score, product&#95;total&#95;vote, product&#95;page&#95;title, product&#95;alias, product&#95;price&#95;percentage, product&#95;msrp, product&#95;canonical, product&#95;warehouse&#95;id, product&#95;quantity&#95;layout, videolink) SELECT CONCAT(p.product&#95;code, '&#95;', ) AS c&#95;product&#95;code, p.product&#95;id, 1419965081, 1419965081, 0, 0, product&#95;name, product&#95;description, product&#95;quantity, product&#95;published, product&#95;sale&#95;start, product&#95;sale&#95;end, product&#95;delay&#95;id, product&#95;tax&#95;id, product&#95;type, product&#95;vendor&#95;id, product&#95;manufacturer&#95;id, product&#95;url, product&#95;weight, product&#95;keywords, product&#95;weight&#95;unit, product&#95;meta&#95;description, product&#95;dimension&#95;unit, product&#95;width, product&#95;length, product&#95;height, product&#95;max&#95;per&#95;order, product&#95;access, product&#95;group&#95;after&#95;purchase, product&#95;min&#95;per&#95;order, product&#95;contact, product&#95;display&#95;quantity&#95;field, product&#95;sales, product&#95;waitlist, product&#95;layout, product&#95;average&#95;score, product&#95;total&#95;vote, product&#95;page&#95;title, product&#95;alias, product&#95;price&#95;percentage, product&#95;msrp, product&#95;canonical, product&#95;warehouse&#95;id, product&#95;quantity&#95;layout, videolink FROM eb35v&#95;hikashop&#95;product AS p, WHERE p.product&#95;id IN (19555,19556,19557,19554,19550,19551,19552,19553,19548,19549,19545,19546,19547,19543,19544,19540,19541,19542,19535,19536,19537,19538,19539,19533,19534) AND ()  Hi all,  When adding a characteristic to the product and try to save I get error message as described.  Please help.  Thanks, Dushan")*

Hi,

What kind of characteristic (and value) are you trying to add ?
The query error means that you're adding invalid data because the characteristic you add should be listed in the "CONCAT", just after the coma.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [ogosense](/forum/user/29096-ogosense "View ogosense's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3MzkxOS0xMDY0LW15c3FsLWVycm9yLXdoZW4tbWFuYWdpbmctY2hhcmFjdGVyaXN0aWNzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ogosense](/forum/user/29096-ogosense "View ogosense's Profile")**
- [![ogosense's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar29096.png)](/forum/user/29096-ogosense "View ogosense's Profile") Topic Author
- [ Offline](/forum/user/29096-ogosense)

Less More

- Posts: 19
- Thank you received: 0
-
- [](http://www.ogosense.com)
-

11 years 10 months ago [\#184850](#184850) by [ogosense](/forum/user/29096-ogosense "View ogosense's Profile")  Replied by *[ogosense](/forum/user/29096-ogosense "View ogosense's Profile")* on topic *[1064 mysql error when managing characteristics](/forum/25-install-update/873919-1064-mysql-error-when-managing-characteristics#184850 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Mozilla Firefox 34.0 -- Error-message(debug-mod must be tuned on) -- : 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 ') AS c&#95;product&#95;code, p.product&#95;id, 1419965081, 1419965081, 0, 0, product&#95;name, p' at line 1 SQL=INSERT IGNORE INTO eb35v&#95;hikashop&#95;product (product&#95;code, product&#95;parent&#95;id, product&#95;created, product&#95;modified, product&#95;hit, product&#95;last&#95;seen&#95;date, product&#95;name, product&#95;description, product&#95;quantity, product&#95;published, product&#95;sale&#95;start, product&#95;sale&#95;end, product&#95;delay&#95;id, product&#95;tax&#95;id, product&#95;type, product&#95;vendor&#95;id, product&#95;manufacturer&#95;id, product&#95;url, product&#95;weight, product&#95;keywords, product&#95;weight&#95;unit, product&#95;meta&#95;description, product&#95;dimension&#95;unit, product&#95;width, product&#95;length, product&#95;height, product&#95;max&#95;per&#95;order, product&#95;access, product&#95;group&#95;after&#95;purchase, product&#95;min&#95;per&#95;order, product&#95;contact, product&#95;display&#95;quantity&#95;field, product&#95;sales, product&#95;waitlist, product&#95;layout, product&#95;average&#95;score, product&#95;total&#95;vote, product&#95;page&#95;title, product&#95;alias, product&#95;price&#95;percentage, product&#95;msrp, product&#95;canonical, product&#95;warehouse&#95;id, product&#95;quantity&#95;layout, videolink) SELECT CONCAT(p.product&#95;code, '&#95;', ) AS c&#95;product&#95;code, p.product&#95;id, 1419965081, 1419965081, 0, 0, product&#95;name, product&#95;description, product&#95;quantity, product&#95;published, product&#95;sale&#95;start, product&#95;sale&#95;end, product&#95;delay&#95;id, product&#95;tax&#95;id, product&#95;type, product&#95;vendor&#95;id, product&#95;manufacturer&#95;id, product&#95;url, product&#95;weight, product&#95;keywords, product&#95;weight&#95;unit, product&#95;meta&#95;description, product&#95;dimension&#95;unit, product&#95;width, product&#95;length, product&#95;height, product&#95;max&#95;per&#95;order, product&#95;access, product&#95;group&#95;after&#95;purchase, product&#95;min&#95;per&#95;order, product&#95;contact, product&#95;display&#95;quantity&#95;field, product&#95;sales, product&#95;waitlist, product&#95;layout, product&#95;average&#95;score, product&#95;total&#95;vote, product&#95;page&#95;title, product&#95;alias, product&#95;price&#95;percentage, product&#95;msrp, product&#95;canonical, product&#95;warehouse&#95;id, product&#95;quantity&#95;layout, videolink FROM eb35v&#95;hikashop&#95;product AS p, WHERE p.product&#95;id IN (19555,19556,19557,19554,19550,19551,19552,19553,19548,19549,19545,19546,19547,19543,19544,19540,19541,19542,19535,19536,19537,19538,19539,19533,19534) AND ()  Hi all,  When adding a characteristic to the product and try to save I get error message as described.  Please help.  Thanks, Dushan")*

Hi Jerome,

Thank you for your help, I was adding some bogus characteristic just to see how this thing work.

I added the right one and everything works fine.

Thanks and I wish you a happy New year!

Dushan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3MzkxOS0xMDY0LW15c3FsLWVycm9yLXdoZW4tbWFuYWdpbmctY2hhcmFjdGVyaXN0aWNzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 10 months ago [\#184852](#184852) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[1064 mysql error when managing characteristics](/forum/25-install-update/873919-1064-mysql-error-when-managing-characteristics#184852 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Mozilla Firefox 34.0 -- Error-message(debug-mod must be tuned on) -- : 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 ') AS c&#95;product&#95;code, p.product&#95;id, 1419965081, 1419965081, 0, 0, product&#95;name, p' at line 1 SQL=INSERT IGNORE INTO eb35v&#95;hikashop&#95;product (product&#95;code, product&#95;parent&#95;id, product&#95;created, product&#95;modified, product&#95;hit, product&#95;last&#95;seen&#95;date, product&#95;name, product&#95;description, product&#95;quantity, product&#95;published, product&#95;sale&#95;start, product&#95;sale&#95;end, product&#95;delay&#95;id, product&#95;tax&#95;id, product&#95;type, product&#95;vendor&#95;id, product&#95;manufacturer&#95;id, product&#95;url, product&#95;weight, product&#95;keywords, product&#95;weight&#95;unit, product&#95;meta&#95;description, product&#95;dimension&#95;unit, product&#95;width, product&#95;length, product&#95;height, product&#95;max&#95;per&#95;order, product&#95;access, product&#95;group&#95;after&#95;purchase, product&#95;min&#95;per&#95;order, product&#95;contact, product&#95;display&#95;quantity&#95;field, product&#95;sales, product&#95;waitlist, product&#95;layout, product&#95;average&#95;score, product&#95;total&#95;vote, product&#95;page&#95;title, product&#95;alias, product&#95;price&#95;percentage, product&#95;msrp, product&#95;canonical, product&#95;warehouse&#95;id, product&#95;quantity&#95;layout, videolink) SELECT CONCAT(p.product&#95;code, '&#95;', ) AS c&#95;product&#95;code, p.product&#95;id, 1419965081, 1419965081, 0, 0, product&#95;name, product&#95;description, product&#95;quantity, product&#95;published, product&#95;sale&#95;start, product&#95;sale&#95;end, product&#95;delay&#95;id, product&#95;tax&#95;id, product&#95;type, product&#95;vendor&#95;id, product&#95;manufacturer&#95;id, product&#95;url, product&#95;weight, product&#95;keywords, product&#95;weight&#95;unit, product&#95;meta&#95;description, product&#95;dimension&#95;unit, product&#95;width, product&#95;length, product&#95;height, product&#95;max&#95;per&#95;order, product&#95;access, product&#95;group&#95;after&#95;purchase, product&#95;min&#95;per&#95;order, product&#95;contact, product&#95;display&#95;quantity&#95;field, product&#95;sales, product&#95;waitlist, product&#95;layout, product&#95;average&#95;score, product&#95;total&#95;vote, product&#95;page&#95;title, product&#95;alias, product&#95;price&#95;percentage, product&#95;msrp, product&#95;canonical, product&#95;warehouse&#95;id, product&#95;quantity&#95;layout, videolink FROM eb35v&#95;hikashop&#95;product AS p, WHERE p.product&#95;id IN (19555,19556,19557,19554,19550,19551,19552,19553,19548,19549,19545,19546,19547,19543,19544,19540,19541,19542,19535,19536,19537,19538,19539,19533,19534) AND ()  Hi all,  When adding a characteristic to the product and try to save I get error message as described.  Please help.  Thanks, Dushan")*

Hi,

Thanks for your feedback.
I'll see to improve the class with more checks on the content ; so we will avoid the SQL errors and display a simple message instead.

Happy new year too !

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3MzkxOS0xMDY0LW15c3FsLWVycm9yLXdoZW4tbWFuYWdpbmctY2hhcmFjdGVyaXN0aWNzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.055 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
