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

#   Update 3.3.0

##

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

Less More

- Posts: 26
- Thank you received: 1
-
-

8 years 9 months ago [\#288406](#288406) by [Terresco](/forum/user/518-terresco "View Terresco's Profile")  *[Update 3.3.0](/forum/25-install-update/893885-update-3-3-0#288406 "-- HikaShop version -- : 3.3.0 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.2.2 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  Hello,  I just update with Joomla Updater to 3.3.0 from 3.2.2 I think and I get the following message. Products doesn't apears, just error message.  1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  I have tried to correct the data base in Joomla tools Tks for help")* was created by *[Terresco](/forum/user/518-terresco "View Terresco's Profile")*

-- HikaShop version -- : 3.3.0 Business
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.2.2
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1

Hello,

I just update with Joomla Updater to 3.3.0 from 3.2.2 I think and I get the following message. Products doesn't apears, just error message.

1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1

I have tried to correct the data base in Joomla tools
Tks for help

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

8 years 9 months ago [\#288448](#288448) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Update 3.3.0](/forum/25-install-update/893885-update-3-3-0#288448 "-- HikaShop version -- : 3.3.0 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.2.2 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  Hello,  I just update with Joomla Updater to 3.3.0 from 3.2.2 I think and I get the following message. Products doesn't apears, just error message.  1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  I have tried to correct the data base in Joomla tools Tks for help")*

Hi,

Please do the modification as explained in [ www.hikashop.com/support/forum/install-u...mbiguous.html#287405](https://www.hikashop.com/support/forum/install-update/893519-1052-column-product-id-in-where-clause-is-ambiguous.html#287405), activate the "error reporting" and the "debug mode" settings of the Joomla configuration and check the page with the error again.
It will provide the full MySQL query which creates the problem and more information on the error. That will help us understand the situation.

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

8 years 9 months ago [\#288454](#288454) by [Terresco](/forum/user/518-terresco "View Terresco's Profile")  Replied by *[Terresco](/forum/user/518-terresco "View Terresco's Profile")* on topic *[Update 3.3.0](/forum/25-install-update/893885-update-3-3-0#288454 "-- HikaShop version -- : 3.3.0 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.2.2 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  Hello,  I just update with Joomla Updater to 3.3.0 from 3.2.2 I think and I get the following message. Products doesn't apears, just error message.  1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  I have tried to correct the data base in Joomla tools Tks for help")*

Hello,

With debug mode and error report on Maximun, that's the message I get:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
Call stack
\# Function Location
1 () JROOT/libraries/joomla/database/driver/mysqli.php:650
2 JDatabaseDriverMysqli-&gt;execute() JROOT/libraries/joomla/database/driver.php:1652
3 JDatabaseDriver-&gt;loadObject() JROOT/administrator/components/com_hikashop/classes/filter.php:456
4 hikashopFilterClass-&gt;getProductList() JROOT/components/com_hikashop/views/product/tmpl/filter.php:100
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:695
6 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2197
7 hikashopView-&gt;loadTemplate() JROOT/components/com_hikashop/views/product/tmpl/listing.php:219
8 include() JROOT/libraries/src/MVC/View/HtmlView.php:695
9 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2197
10 hikashopView-&gt;loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
11 Joomla\CMS\MVC\View\HtmlView-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2186
12 hikashopView-&gt;display() JROOT/components/com_hikashop/views/product/view.html.php:29
13 ProductViewProduct-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:820
14 hikashop_getLayout() JROOT/components/com_hikashop/views/category/tmpl/listing.php:124
15 include() JROOT/libraries/src/MVC/View/HtmlView.php:695
16 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2197
17 hikashopView-&gt;loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
18 Joomla\CMS\MVC\View\HtmlView-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2186
19 hikashopView-&gt;display() JROOT/components/com_hikashop/views/category/view.html.php:26
20 CategoryViewCategory-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
21 Joomla\CMS\MVC\Controller\BaseController-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:1907
22 hikashopController-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:1649
23 hikashopController-&gt;listing() JROOT/libraries/src/MVC/Controller/BaseController.php:710
24 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:1885
25 hikashopController-&gt;execute() JROOT/components/com_hikashop/hikashop.php:79
26 require_once() JROOT/libraries/src/Component/ComponentHelper.php:382
27 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:357
28 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
29 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
30 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:303
31 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/index.php:49

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

8 years 9 months ago [\#288455](#288455) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Update 3.3.0](/forum/25-install-update/893885-update-3-3-0#288455 "-- HikaShop version -- : 3.3.0 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.2.2 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  Hello,  I just update with Joomla Updater to 3.3.0 from 3.2.2 I think and I get the following message. Products doesn't apears, just error message.  1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  I have tried to correct the data base in Joomla tools Tks for help")*

Hi,

So there is a problem with one of the filters configured on your website. You can go in the menu Display&gt;Filters and disable them one by one until you don't have the problem and keep the one(s) creating the error disabled for now.
Also, do the modification I talked about so that we can get the full MySQL query creating the error.

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

8 years 9 months ago [\#288503](#288503) by [Terresco](/forum/user/518-terresco "View Terresco's Profile")  Replied by *[Terresco](/forum/user/518-terresco "View Terresco's Profile")* on topic *[Update 3.3.0](/forum/25-install-update/893885-update-3-3-0#288503 "-- HikaShop version -- : 3.3.0 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.2.2 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  Hello,  I just update with Joomla Updater to 3.3.0 from 3.2.2 I think and I get the following message. Products doesn't apears, just error message.  1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  I have tried to correct the data base in Joomla tools Tks for help")*

Hello,

If I disable all the filters it correct the display problem but as soon as I put one filter the problem come back. I need the filters for a Search menu if I remember well.

The full SQL error mesage it that one:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1 SELECT DISTINCT b.product_id FROM xfxwq_hikashop_product_category AS a LEFT JOIN xfxwq_hikashop_product AS b ON a.product_id=b.product_id WHERE (b.product_published = 1) AND (b.product_type = 'main') AND (a.category_id IN (21)) AND (b.product_quantity!=0) AND ((b.product_access = 'all' OR b.product_access LIKE '%,9,%')) )
Call stack
\# Function Location
1 () JROOT/libraries/joomla/database/driver/mysqli.php:650
2 JDatabaseDriverMysqli-&gt;execute() JROOT/libraries/joomla/database/driver.php:1652
3 JDatabaseDriver-&gt;loadObject() JROOT/administrator/components/com_hikashop/classes/filter.php:456
4 hikashopFilterClass-&gt;getProductList() JROOT/components/com_hikashop/views/product/tmpl/filter.php:100
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:695
6 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2197
7 hikashopView-&gt;loadTemplate() JROOT/components/com_hikashop/views/product/tmpl/listing.php:219
8 include() JROOT/libraries/src/MVC/View/HtmlView.php:695
9 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2197
10 hikashopView-&gt;loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
11 Joomla\CMS\MVC\View\HtmlView-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2186
12 hikashopView-&gt;display() JROOT/components/com_hikashop/views/product/view.html.php:29
13 ProductViewProduct-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:820
14 hikashop_getLayout() JROOT/components/com_hikashop/views/category/tmpl/listing.php:124
15 include() JROOT/libraries/src/MVC/View/HtmlView.php:695
16 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2197
17 hikashopView-&gt;loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
18 Joomla\CMS\MVC\View\HtmlView-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2186
19 hikashopView-&gt;display() JROOT/components/com_hikashop/views/category/view.html.php:26
20 CategoryViewCategory-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
21 Joomla\CMS\MVC\Controller\BaseController-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:1907
22 hikashopController-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:1649
23 hikashopController-&gt;listing() JROOT/libraries/src/MVC/Controller/BaseController.php:710
24 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:1885
25 hikashopController-&gt;execute() JROOT/components/com_hikashop/hikashop.php:79
26 require_once() JROOT/libraries/src/Component/ComponentHelper.php:382
27 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:357
28 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
29 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
30 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:303
31 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/index.php:49

Thanks

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

8 years 9 months ago [\#288508](#288508) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Update 3.3.0](/forum/25-install-update/893885-update-3-3-0#288508 "-- HikaShop version -- : 3.3.0 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.2.2 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  Hello,  I just update with Joomla Updater to 3.3.0 from 3.2.2 I think and I get the following message. Products doesn't apears, just error message.  1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  I have tried to correct the data base in Joomla tools Tks for help")*

Hi,

Thank you for the additional details.
Change the line: Code:

$query='SELECT DISTINCT b.product_id'.$fieldsLimits.' '.preg_replace("/ORDER BY.*?(?=\\s*LIMIT&#124;\\)&#124;$)/mi", "", $copy_query);

to: Code:

$query='SELECT DISTINCT b.product_id'.$fieldsLimits.' '.$copy_query;

in the file /administrator/components/com_hikashop/classes/filter.php and that should fix the issue.

The following user(s) said Thank You: [Terresco](/forum/user/518-terresco "View Terresco's Profile")

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

8 years 9 months ago [\#288516](#288516) by [Terresco](/forum/user/518-terresco "View Terresco's Profile")  Replied by *[Terresco](/forum/user/518-terresco "View Terresco's Profile")* on topic *[Update 3.3.0](/forum/25-install-update/893885-update-3-3-0#288516 "-- HikaShop version -- : 3.3.0 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.2.2 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  Hello,  I just update with Joomla Updater to 3.3.0 from 3.2.2 I think and I get the following message. Products doesn't apears, just error message.  1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1  I have tried to correct the data base in Joomla tools Tks for help")*

Hello, perfect all is in order now. Thank you very much for the help.

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

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