- Posts: 5
COMMUNITY FORUM
MySQL Error on use Joomla search module
- LTM Walter
-
Topic Author
- Offline
- New Member
Less
More
10 years 3 months ago #135949
by LTM Walter
MySQL Error on use Joomla search module was created by LTM Walter
Hi,
My website suddenly gives an SQL error when I try to search on it. The 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 published=1' at line 1 SQL=SELECT id FROM #__k2_tags WHERE LOWER(name) LIKE AND published=1
The website:
NVRO
I have no idea why this error is suddenly popping up and currently I have no idea how to fix it. I have googled a bunch but no one seems to have had this particular error
Hopefully someone here can help, many thanks in advance.
My website suddenly gives an SQL error when I try to search on it. The 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 published=1' at line 1 SQL=SELECT id FROM #__k2_tags WHERE LOWER(name) LIKE AND published=1
The website:
NVRO
I have no idea why this error is suddenly popping up and currently I have no idea how to fix it. I have googled a bunch but no one seems to have had this particular error
Hopefully someone here can help, many thanks in advance.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 3 months ago #135956
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic MySQL Error on use Joomla search module
Hello,
Try reinstalling K2 (do NOT unistall it first).
If that does not work let me know.
Try reinstalling K2 (do NOT unistall it first).
If that does not work let me know.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- LTM Walter
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 3 months ago #135963
by LTM Walter
Replied by LTM Walter on topic MySQL Error on use Joomla search module
Hi,
I have reinstalled K2 succesfully but the error still remains.
I have reinstalled K2 succesfully but the error still remains.
Please Log in or Create an account to join the conversation.
- alexandria
-
- Offline
- Senior Member
Less
More
- Posts: 41
10 years 3 months ago - 10 years 3 months ago #135988
by alexandria
Replied by alexandria on topic MySQL Error on use Joomla search module
Hello,
I'm not expert but maybe you can try to disable searching in tags in k2 search plugin
I'm not expert but maybe you can try to disable searching in tags in k2 search plugin
Last edit: 10 years 3 months ago by alexandria.
Please Log in or Create an account to join the conversation.
- LTM Walter
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 3 months ago #136013
by LTM Walter
Replied by LTM Walter on topic MySQL Error on use Joomla search module
Hi,
Disabling the tags in the K2 search plugin did solve the problem for now, so thank you for your input. However we obviously would like to keep searching in K2 tags because we do not add tags for no reason :)
So if anyone has a solution that let's us keep searching using K2 tags I'd gladly hear it.
Disabling the tags in the K2 search plugin did solve the problem for now, so thank you for your input. However we obviously would like to keep searching in K2 tags because we do not add tags for no reason :)
So if anyone has a solution that let's us keep searching using K2 tags I'd gladly hear it.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 3 months ago #136031
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic MySQL Error on use Joomla search module
@LTM Walter
What's your Joomla! version? Which K2 version are you using?
What's your Joomla! version? Which K2 version are you using?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- LTM Walter
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 3 months ago #136059
by LTM Walter
Replied by LTM Walter on topic MySQL Error on use Joomla search module
My Joomla version is 3.3.6
My K2 version is 2.6.9
My K2 version is 2.6.9
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 3 months ago #136065
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic MySQL Error on use Joomla search module
Try to replace the file plugins/search/k2/k2.php with this file: github.com/joomlaworks/k2/blob/master/plugins/search/k2.php . Let me know if that solves your issue.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- LTM Walter
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 3 months ago #136163
by LTM Walter
Replied by LTM Walter on topic MySQL Error on use Joomla search module
Hi,
This seems to have solved the issue! Thank you so much!
This seems to have solved the issue! Thank you so much!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 3 months ago #136183
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic MySQL Error on use Joomla search module
You 're welcome.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.