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

#   Unable to delete the product image

##

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

Less More

- Posts: 17
- Thank you received: 0
-
-

11 years 9 months ago [\#186367](#186367) by [sanket.pattekar](/forum/user/35472-sanket-pattekar "View sanket.pattekar's Profile")  *[Unable to delete the product image](/forum/26-product-category-display/874208-unable-to-delete-the-product-image#186367 "-- url of the page with the problem -- : None -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.1 -- Browser(s) name and version -- : IE -- Error-message(debug-mod must be tuned on) -- : 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 '))' at line 1 SQL=SELECT file&#95;path FROM q6nw3&#95;hikashop&#95;file WHERE file&#95;path IN ('shampoo&#95;100ml&#95;break&#95;over&#95;720&#95;16813.jpg') AND (file&#95;ref&#95;id != 77 OR file&#95;id IN ())  Hi  I am getting error while deleting the image attached to a product (Attached error message). The only way I can delete this file is to delete it from Mysql table &#42;&#95;hikashop&#95;file.  Please suggest  ~Sanket")* was created by *[sanket.pattekar](/forum/user/35472-sanket-pattekar "View sanket.pattekar's Profile")*

-- url of the page with the problem -- : None
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.1
-- Browser(s) name and version -- : IE
-- Error-message(debug-mod must be tuned on) -- : 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 '))' at line 1 SQL=SELECT file_path FROM q6nw3_hikashop_file WHERE file_path IN ('shampoo_100ml_break_over_720_16813.jpg') AND (file_ref_id != 77 OR file_id IN ())

Hi

I am getting error while deleting the image attached to a product (Attached error message). The only way I can delete this file is to delete it from Mysql table *_hikashop_file.

Please suggest

~Sanket

- [ ![Error.png](/forum/attachment/21654) ](/forum/attachment/21654 "Error.png") [ ](/forum/attachment/21654?download=1 "Error.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQyMDgtdW5hYmxlLXRvLWRlbGV0ZS10aGUtcHJvZHVjdC1pbWFnZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 9 months ago [\#186387](#186387) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Unable to delete the product image](/forum/26-product-category-display/874208-unable-to-delete-the-product-image#186387 "-- url of the page with the problem -- : None -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.1 -- Browser(s) name and version -- : IE -- Error-message(debug-mod must be tuned on) -- : 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 '))' at line 1 SQL=SELECT file&#95;path FROM q6nw3&#95;hikashop&#95;file WHERE file&#95;path IN ('shampoo&#95;100ml&#95;break&#95;over&#95;720&#95;16813.jpg') AND (file&#95;ref&#95;id != 77 OR file&#95;id IN ())  Hi  I am getting error while deleting the image attached to a product (Attached error message). The only way I can delete this file is to delete it from Mysql table &#42;&#95;hikashop&#95;file.  Please suggest  ~Sanket")*

Hi,

Thank you for your feedback. We added a patch on our end in order ot fix the issue.
Please download again the install package of HikaShop via the menu My account&gt;My subscriptions on our website and install it on your website and that will add the patch on your website and it should then work fine.

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

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

[](#top)
