- Posts: 22
COMMUNITY FORUM
[SOLVED] Error after Upgrade
- Jose Negron
-
Topic Author
- Offline
- Junior Member
23000 SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0-536' for key 'PRIMARY'
I'm not sure if this began after made the update to Joomla 3.5 or k2 7.
Please Log in or Create an account to join the conversation.
- Jose Negron
-
Topic Author
- Offline
- Junior Member
- Posts: 22
Thanks.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
I am not sure if this is caused by K2. I guess it is caused by a third-party extension. So try to disable some content or K2 plugins that might get triggered when the item is saved.
An other thing you could try it to disable the smart search indexing.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jose Negron
-
Topic Author
- Offline
- Junior Member
- Posts: 22
Thanks.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Michael M. Kadrie
-
- Offline
- New Member
- Posts: 19
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Joomla!'s mod_search or K2 Tools?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Michael M. Kadrie
-
- Offline
- New Member
- Posts: 19
It's not the search that is breaking, but an Ajax search. I'm using RokAjax (which I know slows things even more). The main problem is that they have over 1200 articles on their site. So to search through all of the text as well as tags bogs things down as they are.
But while searching on the default Joomla page (mod_search), and enabling the tag search, things are still very slow.
I should also say that I can't upgrade to K2 2.7 just yet. I tried that and it killed the site. Had to retro back to 2.6.9. So maybe this is fixed in 2.7 but I'll have to wait until another release of K2 to try it out. We are getting ready to launch the site and I can't have anything else delay it like a non-working K2 component. It's working great right now with the exception of not being able to search the tags.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
This is a 3rd party extension so you need to address this issue to the extension's developers.
Finally tag search will always slow your site down (hence the notice, and it being disabled by default), 1200 articles can mean queries searching through thousands of tags. One way to speed things up would be to possibly cache some queries.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Michael M. Kadrie
-
- Offline
- New Member
- Posts: 19
I'm not seeing a response to that, so I have to assume that it is not in your plans. That's fine - I just needed to know that.
Thanks for your responses.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Michael M. Kadrie
-
- Offline
- New Member
- Posts: 19
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
I have implemented this method in a K2 site containing 500k+ items with each item containing 4 - 7 tags at least.
You can understand the impact of such a query and the solution that Google Provides.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.