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

#   SQL error when adding new products

##

- **[ap\_feuerwerk](/forum/user/38730-ap-feuerwerk "View ap&#95;feuerwerk's Profile")**
- [![ap&#95;feuerwerk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38730-ap-feuerwerk "View ap&#95;feuerwerk's Profile") Topic Author
- [ Offline](/forum/user/38730-ap-feuerwerk)

Less More

- Posts: 1
- Thank you received: 0
-
-

11 years 1 month ago [\#213916](#213916) by [ap\_feuerwerk](/forum/user/38730-ap-feuerwerk "View ap&#95;feuerwerk's Profile")  *[SQL error when adding new products](/forum/25-install-update/879227-sql-error-when-adding-new-products#213916 "-- HikaShop version -- : 2.5 -- 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 '),(12,4,)' at line 1 SQL=INSERT IGNORE INTO j8p1d&#95;hikashop&#95;product&#95;category (category&#95;id,product&#95;id,ordering) VALUES (2,4,),(12,4,);  Dear Forummembers,  I installed Hikashop so far i like it and i want to buy the commercial version, but when i want to add new products i get an Sql error:  Can somebody help me to solve this error so i can add items to my webshop.  Thanks a lot")* was created by *[ap\_feuerwerk](/forum/user/38730-ap-feuerwerk "View ap&#95;feuerwerk's Profile")*

-- HikaShop version -- : 2.5
-- 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 '),(12,4,)' at line 1 SQL=INSERT IGNORE INTO j8p1d_hikashop_product_category (category_id,product_id,ordering) VALUES (2,4,),(12,4,);

Dear Forummembers,

I installed Hikashop so far i like it and i want to buy the commercial version, but when i want to add new products i get an Sql error:
Code:

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 '),(12,4,)' at line 1 SQL=INSERT IGNORE INTO j8p1d_hikashop_product_category (category_id,product_id,ordering) VALUES (2,4,),(12,4,);

Can somebody help me to solve this error so i can add items to my webshop.

Thanks a lot

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3OTIyNy1zcWwtZXJyb3Itd2hlbi1hZGRpbmctbmV3LXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#213917](#213917) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[SQL error when adding new products](/forum/25-install-update/879227-sql-error-when-adding-new-products#213917 "-- HikaShop version -- : 2.5 -- 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 '),(12,4,)' at line 1 SQL=INSERT IGNORE INTO j8p1d&#95;hikashop&#95;product&#95;category (category&#95;id,product&#95;id,ordering) VALUES (2,4,),(12,4,);  Dear Forummembers,  I installed Hikashop so far i like it and i want to buy the commercial version, but when i want to add new products i get an Sql error:  Can somebody help me to solve this error so i can add items to my webshop.  Thanks a lot")*

Hi,

See : [ www.hikashop.com/forum/product-category-...-product.html#213487](http://www.hikashop.com/forum/product-category-display/879131-1064-sql-syntax-error-after-saving-a-product.html#213487)

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3OTIyNy1zcWwtZXJyb3Itd2hlbi1hZGRpbmctbmV3LXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) 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.110 seconds

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

[](#top)
