- Posts: 515
- Thank you received: 22
error message mass action for productfilter
- jouwnaambord.nl
-
Topic Author
- Offline
Less
More
6 years 10 months ago #314737
by jouwnaambord.nl
error message mass action for productfilter was created by jouwnaambord.nl
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : You have an error in your SQL syntax
Hi,
I'm trying to create a mass action to add a priceupdate for several products. After assigning a category I want to filter on a part of the product_name, but when choosing the product_column in the dropdownmenu of the filters I get this errormessage:
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : You have an error in your SQL syntax
Hi,
I'm trying to create a mass action to add a priceupdate for several products. After assigning a category I want to filter on a part of the product_name, but when choosing the product_column in the dropdownmenu of the filters I get this errormessage:
Please Log in or Create an account to join the conversation.
6 years 10 months ago #314743
by nicolas
Replied by nicolas on topic error message mass action for productfilter
Hi,
Could you please do that screenshot again after:
- activating the "error reporting" and "debug mode" settings of the Joomla configuration in order to get more information on the error location
- applying this change in the code of Joomla in order to get the full MySQL query generating that error:
www.hikashop.com/support/forum/product-c...eld-list.html#304882
That will help us understanding the situation and providing a solution.
Could you please do that screenshot again after:
- activating the "error reporting" and "debug mode" settings of the Joomla configuration in order to get more information on the error location
- applying this change in the code of Joomla in order to get the full MySQL query generating that error:
www.hikashop.com/support/forum/product-c...eld-list.html#304882
That will help us understanding the situation and providing a solution.
Please Log in or Create an account to join the conversation.
- jouwnaambord.nl
-
Topic Author
- Offline
Less
More
- Posts: 515
- Thank you received: 22
6 years 10 months ago #314756
by jouwnaambord.nl
Replied by jouwnaambord.nl on topic error message mass action for productfilter
Please Log in or Create an account to join the conversation.
6 years 10 months ago #314758
by nicolas
Replied by nicolas on topic error message mass action for productfilter
Hi,
Thank you, I see what is the problem.
Add the code:
after the line:
in the file administrator/components/com_hikashop/classes/massaction.php and that should fix the problem.
We'll add that patch on our end too for the next version.
Thank you, I see what is the problem.
Add the code:
Code:
$filter['type'] = '`'.$filter['type'].'`';
Code:
$filter['type'] = strip_tags($filter['type']);
We'll add that patch on our end too for the next version.
The following user(s) said Thank You: jouwnaambord.nl
Please Log in or Create an account to join the conversation.
- jouwnaambord.nl
-
Topic Author
- Offline
Less
More
- Posts: 515
- Thank you received: 22
6 years 10 months ago #314778
by jouwnaambord.nl
Replied by jouwnaambord.nl on topic error message mass action for productfilter
Thanks Nicolas!
Please Log in or Create an account to join the conversation.
Time to create page: 0.063 seconds