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

#   Getting error 1064 (SQL Error) Adding to Cart

##

- **[solovchik](/forum/user/35531-solovchik "View solovchik's Profile")**
- [![solovchik's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35531-solovchik "View solovchik's Profile") Topic Author
- [ Offline](/forum/user/35531-solovchik)

Less More

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

11 years 11 months ago [\#184530](#184530) by [solovchik](/forum/user/35531-solovchik "View solovchik's Profile")  *[Getting error 1064 (SQL Error) Adding to Cart](/forum/27-checkout/873868-getting-error-1064-sql-error-adding-to-cart#184530 "-- url of the page with the problem -- :   www.losangelescoffeeandtea.com/ver2/inde...e-styles/main-menu-2  -- HikaShop version -- : HikaShop Starter 2.3.5 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : Firefox, Chrome... -- Error-message(debug-mod must be tuned on) -- : I have just installed the Starter Version of the HikaShop and I am getting an Error when I am trying to get the product to cart... &quot;Error in SQL syntax&quot; ----- 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 '127,128) ORDER BY a.ordering ASC' at line 1 SQL=SELECT a.&#42;, b.&#42; FROM hw8sy&#95;hikashop&#95;product&#95;category AS a LEFT JOIN hw8sy&#95;hikashop&#95;category AS b ON a.category&#95;id = b.category&#95;id WHERE a.product&#95;id IN(,127,128) ORDER BY a.ordering ASC  I have just installed the Starter Version of the HikaShop and I am getting an Error when I am trying to get the product to cart... &quot;Error in SQL syntax&quot; ----- 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 '127,128) ORDER BY a.ordering ASC' at line 1 SQL=SELECT a.&#42;, b.&#42; FROM hw8sy&#95;hikashop&#95;product&#95;category AS a LEFT JOIN hw8sy&#95;hikashop&#95;category AS b ON a.category&#95;id = b.category&#95;id WHERE a.product&#95;id IN(,127,128) ORDER BY a.ordering ASC")* was created by *[solovchik](/forum/user/35531-solovchik "View solovchik's Profile")*

-- url of the page with the problem -- : [ www.losangelescoffeeandtea.com/ver2/inde...e-styles/main-menu-2](http://www.losangelescoffeeandtea.com/ver2/index.php/module-styles/main-menu-2)
-- HikaShop version -- : HikaShop Starter 2.3.5
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.4
-- Browser(s) name and version -- : Firefox, Chrome...
-- Error-message(debug-mod must be tuned on) -- : I have just installed the Starter Version of the HikaShop and I am getting an Error when I am trying to get the product to cart... "Error in SQL syntax"

---

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 '127,128) ORDER BY a.ordering ASC' at line 1 SQL=SELECT a.*, b.* FROM hw8sy_hikashop_product_category AS a LEFT JOIN hw8sy_hikashop_category AS b ON a.category_id = b.category_id WHERE a.product_id IN(,127,128) ORDER BY a.ordering ASC

I have just installed the Starter Version of the HikaShop and I am getting an Error when I am trying to get the product to cart... "Error in SQL syntax"

---

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 '127,128) ORDER BY a.ordering ASC' at line 1 SQL=SELECT a.*, b.* FROM hw8sy_hikashop_product_category AS a LEFT JOIN hw8sy_hikashop_category AS b ON a.category_id = b.category_id WHERE a.product_id IN(,127,128) ORDER BY a.ordering ASC

- [ ![Screen&#95;Shot&#95;2014-12-27&#95;at&#95;4&#95;11&#95;23&#95;PM.png](/forum/attachment/21377) ](/forum/attachment/21377 "...4&#95;11&#95;23&#95;PM.png") [ ](/forum/attachment/21377?download=1 "...4&#95;11&#95;23&#95;PM.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3Mzg2OC1nZXR0aW5nLWVycm9yLTEwNjQtc3FsLWVycm9yLWFkZGluZy10by1jYXJ0P3RtcGw9bWFya2Rvd24=) 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 11 months ago [\#184551](#184551) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Getting error 1064 (SQL Error) Adding to Cart](/forum/27-checkout/873868-getting-error-1064-sql-error-adding-to-cart#184551 "-- url of the page with the problem -- :   www.losangelescoffeeandtea.com/ver2/inde...e-styles/main-menu-2  -- HikaShop version -- : HikaShop Starter 2.3.5 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4 -- Browser(s) name and version -- : Firefox, Chrome... -- Error-message(debug-mod must be tuned on) -- : I have just installed the Starter Version of the HikaShop and I am getting an Error when I am trying to get the product to cart... &quot;Error in SQL syntax&quot; ----- 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 '127,128) ORDER BY a.ordering ASC' at line 1 SQL=SELECT a.&#42;, b.&#42; FROM hw8sy&#95;hikashop&#95;product&#95;category AS a LEFT JOIN hw8sy&#95;hikashop&#95;category AS b ON a.category&#95;id = b.category&#95;id WHERE a.product&#95;id IN(,127,128) ORDER BY a.ordering ASC  I have just installed the Starter Version of the HikaShop and I am getting an Error when I am trying to get the product to cart... &quot;Error in SQL syntax&quot; ----- 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 '127,128) ORDER BY a.ordering ASC' at line 1 SQL=SELECT a.&#42;, b.&#42; FROM hw8sy&#95;hikashop&#95;product&#95;category AS a LEFT JOIN hw8sy&#95;hikashop&#95;category AS b ON a.category&#95;id = b.category&#95;id WHERE a.product&#95;id IN(,127,128) ORDER BY a.ordering ASC")*

Hi,

Nicolas already gave you a reply by mail ; please do not send multiple messages for the same problem.
A patch as been made and the HikaShop 2.3.5 package has been updated (because the automatic updates are not launch yet).

Regards,

---

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

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

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