- Posts: 142
COMMUNITY FORUM
an error in your SQL syntax; ..finder_taxonomy_map
- theant
-
Topic Author
- Offline
- Premium Member
Less
More
12 years 1 week ago #112099
by theant
an error in your SQL syntax; ..finder_taxonomy_map was created by theant
Hi
saving and publishing K2 items I get this error in backend:
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=UPDATE `zacw3_finder_taxonomy_map` SET `link_id`='2',`node_id`='5' WHERE
can you help me to fix this?
Thanks
saving and publishing K2 items I get this error in backend:
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=UPDATE `zacw3_finder_taxonomy_map` SET `link_id`='2',`node_id`='5' WHERE
can you help me to fix this?
Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
12 years 1 week ago #112100
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
Hello,
Update Joomla!, K2 and make sure your DB structure is up to date.
Update Joomla!, K2 and make sure your DB structure is up to date.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- theant
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 142
12 years 1 week ago #112101
by theant
Replied by theant on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
It is J! 2.5.9 with K2 2.6.6 and I've just done some db maintenance and optimization
Please Log in or Create an account to join the conversation.
- theant
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 142
12 years 1 week ago #112102
by theant
Replied by theant on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
Please, other suggestion to fix the issue?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
12 years 4 days ago #112103
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
Maybe you should restore a backup, maybe the db maintenance and optimization caused this.
I think this caused from com_finder though not 100% sure though.
I think this caused from com_finder though not 100% sure though.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- theant
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 142
12 years 4 days ago #112104
by theant
Replied by theant on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
I already restored the db table from a clean new installation.
:(
:(
Please Log in or Create an account to join the conversation.
- theant
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 142
12 years 3 days ago #112105
by theant
Replied by theant on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
After restored the finder_taxonomy_map table, I get new warning:
Duplicate entry '13-1' for key 'PRIMARY' SQL=INSERT INTO `zacw3_finder_links_termsd` (`link_id`, `term_id`, `weight`) SELECT 13, `term_id`, ROUND(SUM(`context_weight`), 8) FROM `zacw3_finder_tokens_aggregate` WHERE `map_suffix` = 'd' GROUP BY `term` ORDER BY `term` DESC
Duplicate entry '13-1' for key 'PRIMARY' SQL=INSERT INTO `zacw3_finder_links_termsd` (`link_id`, `term_id`, `weight`) SELECT 13, `term_id`, ROUND(SUM(`context_weight`), 8) FROM `zacw3_finder_tokens_aggregate` WHERE `map_suffix` = 'd' GROUP BY `term` ORDER BY `term` DESC
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
12 years 2 days ago #112106
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
Hmm, If you can log into the admin try to clear all finder and smart finder terms. (be sure to delete them from the trash as well).
If that doesn't resolve the issue you might want to look for professional assistance or restore a full backup of your db.
If that doesn't resolve the issue you might want to look for professional assistance or restore a full backup of your db.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- vlado jr.
-
- Offline
- New Member
Less
More
- Posts: 1
11 years 11 months ago - 11 years 11 months ago #112107
by vlado jr.
Replied by vlado jr. on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
Hello!
It's a clash between J2.5 default smart search plugin and K2 smart search plugin respectively.
I've stumbled upon the same problem but the simplest and fastest way to get rid of this issue is to disable default J2.5 'Content - Smart Search' plugin (I reckon You'll b using K2 for publishing articles etc.).
I'm sorry I can't do better at the moment but I'm also new to J2.5 and am still working out all the quirks. If I find a better solution I'll let u know soon enough.
P.S.
Would also b nice if You were to opt Your DB tables and so forth. Especially if You were doing a migration from a previous version of Joomla. Might b u have some 'cracked' tables or entries that've misbehaved. Try turning on Joomla error reporting and debug and see what they have to say about it.
It's a clash between J2.5 default smart search plugin and K2 smart search plugin respectively.
I've stumbled upon the same problem but the simplest and fastest way to get rid of this issue is to disable default J2.5 'Content - Smart Search' plugin (I reckon You'll b using K2 for publishing articles etc.).
I'm sorry I can't do better at the moment but I'm also new to J2.5 and am still working out all the quirks. If I find a better solution I'll let u know soon enough.
P.S.
Would also b nice if You were to opt Your DB tables and so forth. Especially if You were doing a migration from a previous version of Joomla. Might b u have some 'cracked' tables or entries that've misbehaved. Try turning on Joomla error reporting and debug and see what they have to say about it.
Please Log in or Create an account to join the conversation.
- VietPublic
-
- Offline
- Senior Member
11 years 9 months ago #112108
by VietPublic
Replied by VietPublic on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
My K2 have An 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=UPDATE `xxx_finder_taxonomy_map` SET `link_id`='26',`node_id`='3' WHERE
But no have error when creating new joomla article.
I am using K2 ver 2.6.7 and joomla 3.1.1
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=UPDATE `xxx_finder_taxonomy_map` SET `link_id`='26',`node_id`='3' WHERE
But no have error when creating new joomla article.
I am using K2 ver 2.6.7 and joomla 3.1.1
Please Log in or Create an account to join the conversation.
- VietPublic
-
- Offline
- Senior Member
11 years 9 months ago - 11 years 9 months ago #112109
by VietPublic
Replied by VietPublic on topic Re: an error in your SQL syntax; ..finder_taxonomy_map
my solution is empty xxx_finder_taxonomy_map table :)
Please Log in or Create an account to join the conversation.