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

#   1064 on Checkout

##

- **[Joomill](/forum/user/33738-joomill "View Joomill's Profile")**
- [![Joomill's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33738.jpg)](/forum/user/33738-joomill "View Joomill's Profile") Topic Author
- [ Offline](/forum/user/33738-joomill)

Less More

- Posts: 224
- Thank you received: 10
-
-
- [](http://www.joomill.nl)
-

10 years 1 month ago [\#251376](#251376) by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")  *[1064 on Checkout](/forum/27-checkout/886707-1064-on-checkout#251376 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6  Hi i have a user who's get a 1064 error in the checkout. I can't find whats going wrong, Can you help me?  This is the error: Error: 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 'AND category&#95;right &gt;= ) OR (category&#95;left = 121) OR (ca' at line 1 SQL=SELECT &#42; FROM #&#95;&#95;hikashop&#95;category WHERE category&#95;type='product' AND (category&#95;left = 116) OR (category&#95;left = 884) OR (category&#95;left = 700) OR (category&#95;left = 854) OR (category&#95;left = 72) OR (category&#95;left = 81) OR (category&#95;left = 67) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 176) OR (category&#95;left = 95) OR (category&#95;left = 81) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 89) OR (category&#95;left = 21) OR (category&#95;left = 812) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 812) OR (category&#95;left = 176) OR (category&#95;left = 95) OR (category&#95;left = 81) OR (category&#95;left = 77) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 21) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 95) OR (category&#95;left = 81) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 176) OR (category&#95;left = 812) OR (category&#95;left = 116) OR (category&#95;left = 896) OR (category&#95;left = 99) OR (category&#95;left = 89) OR (category&#95;left = 67) OR (category&#95;left = ) OR (category&#95;left = 121) OR (category&#95;left = 898) OR (category&#95;left = 116) OR (category&#95;left = 826) OR (category&#95;left = 536) OR (category&#95;left = 81) OR (category&#95;left = 22) OR (category&#95;left = 21) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 260) OR (category&#95;left = 812) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 21) OR (category&#95;left = 81) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 878) OR (category&#95;left = 708) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 89) OR (category&#95;left = 21) OR (category&#95;left = 121) OR (category&#95;left = 898) OR (category&#95;left = 21) OR (category&#95;left = 22) OR (category&#95;left = 116) OR (category&#95;left = 121) OR (category&#95;left = 910) OR (category&#95;left = 55) OR (category&#95;left = 854) OR (category&#95;left = 89) OR (category&#95;left = 884) OR (category&#95;left = 116) OR (category&#95;left = 72) OR (category&#95;left = 67) OR (category&#95;left = 700) OR (category&#95;left = 121)")* was created by *[Joomill](/forum/user/33738-joomill "View Joomill's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6

Hi i have a user who's get a 1064 error in the checkout.
I can't find whats going wrong,
Can you help me?

This is the error:
Error: 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 'AND category_right &gt;= ) OR (category_left &lt;= 2 AND category_right &gt;= 121) OR (ca' at line 1 SQL=SELECT * FROM #__hikashop_category WHERE category_type='product' AND (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 883 AND category_right &gt;= 884) OR (category_left &lt;= 699 AND category_right &gt;= 700) OR (category_left &lt;= 853 AND category_right &gt;= 854) OR (category_left &lt;= 61 AND category_right &gt;= 72) OR (category_left &lt;= 80 AND category_right &gt;= 81) OR (category_left &lt;= 66 AND category_right &gt;= 67) OR (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 897 AND category_right &gt;= 898) OR (category_left &lt;= 175 AND category_right &gt;= 176) OR (category_left &lt;= 94 AND category_right &gt;= 95) OR (category_left &lt;= 80 AND category_right &gt;= 81) OR (category_left &lt;= 86 AND category_right &gt;= 87) OR (category_left &lt;= 19 AND category_right &gt;= 22) OR (category_left &lt;= 88 AND category_right &gt;= 89) OR (category_left &lt;= 20 AND category_right &gt;= 21) OR (category_left &lt;= 811 AND category_right &gt;= 812) OR (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 897 AND category_right &gt;= 898) OR (category_left &lt;= 811 AND category_right &gt;= 812) OR (category_left &lt;= 175 AND category_right &gt;= 176) OR (category_left &lt;= 94 AND category_right &gt;= 95) OR (category_left &lt;= 80 AND category_right &gt;= 81) OR (category_left &lt;= 76 AND category_right &gt;= 77) OR (category_left &lt;= 86 AND category_right &gt;= 87) OR (category_left &lt;= 19 AND category_right &gt;= 22) OR (category_left &lt;= 20 AND category_right &gt;= 21) OR (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 897 AND category_right &gt;= 898) OR (category_left &lt;= 94 AND category_right &gt;= 95) OR (category_left &lt;= 80 AND category_right &gt;= 81) OR (category_left &lt;= 86 AND category_right &gt;= 87) OR (category_left &lt;= 19 AND category_right &gt;= 22) OR (category_left &lt;= 175 AND category_right &gt;= 176) OR (category_left &lt;= 811 AND category_right &gt;= 812) OR (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 895 AND category_right &gt;= 896) OR (category_left &lt;= 98 AND category_right &gt;= 99) OR (category_left &lt;= 88 AND category_right &gt;= 89) OR (category_left &lt;= 66 AND category_right &gt;= 67) OR (category_left &lt;= AND category_right &gt;= ) OR (category_left &lt;= 2 AND category_right &gt;= 121) OR (category_left &lt;= 897 AND category_right &gt;= 898) OR (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 825 AND category_right &gt;= 826) OR (category_left &lt;= 535 AND category_right &gt;= 536) OR (category_left &lt;= 80 AND category_right &gt;= 81) OR (category_left &lt;= 19 AND category_right &gt;= 22) OR (category_left &lt;= 20 AND category_right &gt;= 21) OR (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 897 AND category_right &gt;= 898) OR (category_left &lt;= 259 AND category_right &gt;= 260) OR (category_left &lt;= 811 AND category_right &gt;= 812) OR (category_left &lt;= 86 AND category_right &gt;= 87) OR (category_left &lt;= 19 AND category_right &gt;= 22) OR (category_left &lt;= 20 AND category_right &gt;= 21) OR (category_left &lt;= 80 AND category_right &gt;= 81) OR (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 897 AND category_right &gt;= 898) OR (category_left &lt;= 877 AND category_right &gt;= 878) OR (category_left &lt;= 707 AND category_right &gt;= 708) OR (category_left &lt;= 86 AND category_right &gt;= 87) OR (category_left &lt;= 19 AND category_right &gt;= 22) OR (category_left &lt;= 88 AND category_right &gt;= 89) OR (category_left &lt;= 20 AND category_right &gt;= 21) OR (category_left &lt;= 2 AND category_right &gt;= 121) OR (category_left &lt;= 897 AND category_right &gt;= 898) OR (category_left &lt;= 20 AND category_right &gt;= 21) OR (category_left &lt;= 19 AND category_right &gt;= 22) OR (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 2 AND category_right &gt;= 121) OR (category_left &lt;= 1 AND category_right &gt;= 910) OR (category_left &lt;= 54 AND category_right &gt;= 55) OR (category_left &lt;= 853 AND category_right &gt;= 854) OR (category_left &lt;= 88 AND category_right &gt;= 89) OR (category_left &lt;= 883 AND category_right &gt;= 884) OR (category_left &lt;= 115 AND category_right &gt;= 116) OR (category_left &lt;= 61 AND category_right &gt;= 72) OR (category_left &lt;= 66 AND category_right &gt;= 67) OR (category_left &lt;= 699 AND category_right &gt;= 700) OR (category_left &lt;= 2 AND category_right &gt;= 121)

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 1 month ago [\#251384](#251384) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[1064 on Checkout](/forum/27-checkout/886707-1064-on-checkout#251384 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6  Hi i have a user who's get a 1064 error in the checkout. I can't find whats going wrong, Can you help me?  This is the error: Error: 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 'AND category&#95;right &gt;= ) OR (category&#95;left = 121) OR (ca' at line 1 SQL=SELECT &#42; FROM #&#95;&#95;hikashop&#95;category WHERE category&#95;type='product' AND (category&#95;left = 116) OR (category&#95;left = 884) OR (category&#95;left = 700) OR (category&#95;left = 854) OR (category&#95;left = 72) OR (category&#95;left = 81) OR (category&#95;left = 67) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 176) OR (category&#95;left = 95) OR (category&#95;left = 81) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 89) OR (category&#95;left = 21) OR (category&#95;left = 812) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 812) OR (category&#95;left = 176) OR (category&#95;left = 95) OR (category&#95;left = 81) OR (category&#95;left = 77) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 21) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 95) OR (category&#95;left = 81) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 176) OR (category&#95;left = 812) OR (category&#95;left = 116) OR (category&#95;left = 896) OR (category&#95;left = 99) OR (category&#95;left = 89) OR (category&#95;left = 67) OR (category&#95;left = ) OR (category&#95;left = 121) OR (category&#95;left = 898) OR (category&#95;left = 116) OR (category&#95;left = 826) OR (category&#95;left = 536) OR (category&#95;left = 81) OR (category&#95;left = 22) OR (category&#95;left = 21) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 260) OR (category&#95;left = 812) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 21) OR (category&#95;left = 81) OR (category&#95;left = 116) OR (category&#95;left = 898) OR (category&#95;left = 878) OR (category&#95;left = 708) OR (category&#95;left = 87) OR (category&#95;left = 22) OR (category&#95;left = 89) OR (category&#95;left = 21) OR (category&#95;left = 121) OR (category&#95;left = 898) OR (category&#95;left = 21) OR (category&#95;left = 22) OR (category&#95;left = 116) OR (category&#95;left = 121) OR (category&#95;left = 910) OR (category&#95;left = 55) OR (category&#95;left = 854) OR (category&#95;left = 89) OR (category&#95;left = 884) OR (category&#95;left = 116) OR (category&#95;left = 72) OR (category&#95;left = 67) OR (category&#95;left = 700) OR (category&#95;left = 121)")*

Hi,

It seems that there is a problem with the data of your categories.
Go in the categories listing and click on the "rebuild" button there.
That should fix the problem.

The following user(s) said Thank You: [Joomill](/forum/user/33738-joomill "View Joomill's Profile")

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

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