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

#   Filtre de type texte : erreur sql

##

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

Less More

- Posts: 264
- Thank you received: 9
-
-
-

11 years 10 months ago [\#186110](#186110) by [laurent](/forum/user/268-laurent "View laurent's Profile")  *[Filtre de type texte : erreur sql](/forum/5-support-en-francais-french-support-/874162-filtre-de-type-texte-erreur-sql#186110 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Browser(s) name and version -- : FF -- Error-message(debug-mod must be tuned on) -- : 1064 - You have an error in your SQL syntax  Bonjour,  J'ai deux filtres. Un sur les tailles (characteristics) qui fonctionne très bien et l'autre sur une recherche &quot;plain text&quot;. Dans le back-office, lorsque je sélectionne &quot;product description&quot; dans le champ &quot;Appliquer à&quot;, lors de l'enregistrement du filtre, il remplace le tag &quot;product description&quot; par &quot;array&quot; (cf. capture).  Sur le front, si on saisit qq chose dans la zone de texte, on obtient cette erreur :  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 Tailles1.variant&#95;characteristic&#95;id IN (59) AND c.product&#95;quantity!=0 ' at line 1 SQL=SELECT DISTINCT b.&#42; FROM btk3&#95;hikashop&#95;product&#95;category AS a LEFT JOIN btk3&#95;hikashop&#95;product AS b ON a.product&#95;id=b.product&#95;id LEFT JOIN btk3&#95;hikashop&#95;product AS c ON b.product&#95;id=c.product&#95;parent&#95;id LEFT JOIN btk3&#95;hikashop&#95;variant AS Tailles1 ON Tailles1.variant&#95;product&#95;id=c.product&#95;id WHERE b.product&#95;published=1 AND b.product&#95;type = 'main' AND a.category&#95;id IN (12,13,14,16,17) AND (b.product&#95;access = 'all' OR b.product&#95;access LIKE '%,1,%')AND Tailles1.variant&#95;characteristic&#95;id IN (59) AND c.product&#95;quantity!=0 ORDER BY a.ordering ASC LIMIT 0, 20")* was created by *[laurent](/forum/user/268-laurent "View laurent's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4
-- Browser(s) name and version -- : FF
-- Error-message(debug-mod must be tuned on) -- : 1064 - You have an error in your SQL syntax

Bonjour,

J'ai deux filtres. Un sur les tailles (characteristics) qui fonctionne très bien et l'autre sur une recherche "plain text". Dans le back-office, lorsque je sélectionne "product description" dans le champ "Appliquer à", lors de l'enregistrement du filtre, il remplace le tag "product description" par "array" (cf. capture).

Sur le front, si on saisit qq chose dans la zone de texte, on obtient cette erreur :

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 Tailles1.variant_characteristic_id IN (59) AND c.product_quantity!=0 ' at line 1 SQL=SELECT DISTINCT b.* FROM btk3_hikashop_product_category AS a LEFT JOIN btk3_hikashop_product AS b ON a.product_id=b.product_id LEFT JOIN btk3_hikashop_product AS c ON b.product_id=c.product_parent_id LEFT JOIN btk3_hikashop_variant AS Tailles1 ON Tailles1.variant_product_id=c.product_id WHERE b.product_published=1 AND b.product_type = 'main' AND a.category_id IN (12,13,14,16,17) AND (b.product_access = 'all' OR b.product_access LIKE '%,1,%') AND (()) AND Tailles1.variant_characteristic_id IN (59) AND c.product_quantity!=0 ORDER BY a.ordering ASC LIMIT 0, 20

- [ ![Capture&#95;2015-01-11.jpg](/forum/attachment/21603) ](/forum/attachment/21603 "...2015-01-11.jpg") [ ](/forum/attachment/21603?download=1 "...2015-01-11.jpg")

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

11 years 10 months ago [\#186128](#186128) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filtre de type texte : erreur sql](/forum/5-support-en-francais-french-support-/874162-filtre-de-type-texte-erreur-sql#186128 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Browser(s) name and version -- : FF -- Error-message(debug-mod must be tuned on) -- : 1064 - You have an error in your SQL syntax  Bonjour,  J'ai deux filtres. Un sur les tailles (characteristics) qui fonctionne très bien et l'autre sur une recherche &quot;plain text&quot;. Dans le back-office, lorsque je sélectionne &quot;product description&quot; dans le champ &quot;Appliquer à&quot;, lors de l'enregistrement du filtre, il remplace le tag &quot;product description&quot; par &quot;array&quot; (cf. capture).  Sur le front, si on saisit qq chose dans la zone de texte, on obtient cette erreur :  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 Tailles1.variant&#95;characteristic&#95;id IN (59) AND c.product&#95;quantity!=0 ' at line 1 SQL=SELECT DISTINCT b.&#42; FROM btk3&#95;hikashop&#95;product&#95;category AS a LEFT JOIN btk3&#95;hikashop&#95;product AS b ON a.product&#95;id=b.product&#95;id LEFT JOIN btk3&#95;hikashop&#95;product AS c ON b.product&#95;id=c.product&#95;parent&#95;id LEFT JOIN btk3&#95;hikashop&#95;variant AS Tailles1 ON Tailles1.variant&#95;product&#95;id=c.product&#95;id WHERE b.product&#95;published=1 AND b.product&#95;type = 'main' AND a.category&#95;id IN (12,13,14,16,17) AND (b.product&#95;access = 'all' OR b.product&#95;access LIKE '%,1,%')AND Tailles1.variant&#95;characteristic&#95;id IN (59) AND c.product&#95;quantity!=0 ORDER BY a.ordering ASC LIMIT 0, 20")*

Bonjour,

Nous avons corrigé le soucis.
Réléchargez le paquet d'installation de la 2.3.5 via le menu My account&gt;My subscriptions sur notre site et installez le sur le votre et cela ajoutera le patch pour gérer cela comme il faut.

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

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

Less More

- Posts: 264
- Thank you received: 9
-
-
-

11 years 10 months ago [\#186217](#186217) by [laurent](/forum/user/268-laurent "View laurent's Profile")  Replied by *[laurent](/forum/user/268-laurent "View laurent's Profile")* on topic *[Filtre de type texte : erreur sql](/forum/5-support-en-francais-french-support-/874162-filtre-de-type-texte-erreur-sql#186217 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Browser(s) name and version -- : FF -- Error-message(debug-mod must be tuned on) -- : 1064 - You have an error in your SQL syntax  Bonjour,  J'ai deux filtres. Un sur les tailles (characteristics) qui fonctionne très bien et l'autre sur une recherche &quot;plain text&quot;. Dans le back-office, lorsque je sélectionne &quot;product description&quot; dans le champ &quot;Appliquer à&quot;, lors de l'enregistrement du filtre, il remplace le tag &quot;product description&quot; par &quot;array&quot; (cf. capture).  Sur le front, si on saisit qq chose dans la zone de texte, on obtient cette erreur :  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 Tailles1.variant&#95;characteristic&#95;id IN (59) AND c.product&#95;quantity!=0 ' at line 1 SQL=SELECT DISTINCT b.&#42; FROM btk3&#95;hikashop&#95;product&#95;category AS a LEFT JOIN btk3&#95;hikashop&#95;product AS b ON a.product&#95;id=b.product&#95;id LEFT JOIN btk3&#95;hikashop&#95;product AS c ON b.product&#95;id=c.product&#95;parent&#95;id LEFT JOIN btk3&#95;hikashop&#95;variant AS Tailles1 ON Tailles1.variant&#95;product&#95;id=c.product&#95;id WHERE b.product&#95;published=1 AND b.product&#95;type = 'main' AND a.category&#95;id IN (12,13,14,16,17) AND (b.product&#95;access = 'all' OR b.product&#95;access LIKE '%,1,%')AND Tailles1.variant&#95;characteristic&#95;id IN (59) AND c.product&#95;quantity!=0 ORDER BY a.ordering ASC LIMIT 0, 20")*

Impec ! Merci.

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