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

#   Random Error 1064 after Upgrade

##

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

Less More

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

12 years 7 months ago -  12 years 7 months ago [\#147399](#147399) by [wende](/forum/user/31549-wende "View wende's Profile")  *[Random Error 1064 after Upgrade](/forum/25-install-update/866467-random-error-1064-after-upgrade#147399 "can anyone please help me with following error &#42;&#42;An error has occurred.&#42;&#42;  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 '&gt; 1394150400 AND  1394150400 AND P BY c.category&#95;id ORDER BY Total DESC LIMIT 5")* was created by *[wende](/forum/user/31549-wende "View wende's Profile")*

can anyone please help me with following error
**An error has occurred.**

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 '&gt; 1394150400 AND &lt; 1394229059 GROUP BY c.category_id ORDER BY Total DESC LIMIT' at line 1 SQL=SELECT *, SUM(order_product_quantity) as Total FROM xdmsj_hikashop_order as a LEFT JOIN xdmsj_hikashop_order_product as prod ON a.order_id=prod.order_id LEFT JOIN xdmsj_hikashop_product AS p ON p.product_id=prod.product_id LEFT JOIN xdmsj_hikashop_product_category as cat ON cat.product_id=p.product_id OR cat.product_id=p.product_parent_id LEFT JOIN xdmsj_hikashop_category as c ON cat.category_id=c.category_id WHERE &gt; 1394150400 AND &lt; 1394229059 GROUP BY c.category_id ORDER BY Total DESC LIMIT 5

Last edit: 12 years 7 months ago by [wende](/forum/user/31549-wende "View wende's Profile").

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

12 years 7 months ago [\#147403](#147403) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[1064](/forum/25-install-update/866467-random-error-1064-after-upgrade#147403 "can anyone please help me with following error &#42;&#42;An error has occurred.&#42;&#42;  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 '&gt; 1394150400 AND  1394150400 AND P BY c.category&#95;id ORDER BY Total DESC LIMIT 5")*

Hi,

Please provide us some useful information :
- Your HikaShop version number
- Your Joomla version number
- The context where you have this error
- A link to your website, if possible.

Regards,

---

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

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

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

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

[](#top)
