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

#   1024 mysql error

##

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

Less More

- Posts: 4
- Thank you received: 0
-
-

9 years 4 months ago [\#274578](#274578) by [akaishu](/forum/user/47264-akaishu "View akaishu's Profile")  *[1024 mysql error](/forum/26-product-category-display/891259-1024-mysql-error#274578 "Hi,  When I unpublish a product and then I try to access to this product by url, it gives me this 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 right(file&#95;path, 4)='.zip' order by file&#95;ordering' at line 1  I would like to know how to control that error so I can change the view to say for example, this product no longer exist or something like that, do you have any idea about how to that?  Thanks")* was created by *[akaishu](/forum/user/47264-akaishu "View akaishu's Profile")*

Hi,

When I unpublish a product and then I try to access to this product by url, it gives me this 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 right(file_path, 4)='.zip' order by file_ordering' at line 1

I would like to know how to control that error so I can change the view to say for example, this product no longer exist or something like that, do you have any idea about how to that?

Thanks

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

9 years 4 months ago [\#274581](#274581) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[1024 mysql error](/forum/26-product-category-display/891259-1024-mysql-error#274581 "Hi,  When I unpublish a product and then I try to access to this product by url, it gives me this 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 right(file&#95;path, 4)='.zip' order by file&#95;ordering' at line 1  I would like to know how to control that error so I can change the view to say for example, this product no longer exist or something like that, do you have any idea about how to that?  Thanks")*

Hello,

You should activate the debug mode in order to get the call stack and know in which file the issue is coming from.
Because I'm sorry there is not "right(file_path, 4)" in HikaShop source code.
So for me, it's not something from HikaShop itself but from a third party plugin.

Regards,

PS : When you create a subject, please fill the form to provide details about your website ; it really help the team to help you...

---

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

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

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