Topic-icon Error 1146

Active Subscriptions:

None
9 years 4 months ago #60792 by marsco
Error 1146 was created by marsco
I am having a bit of a challenge. I am receiving Error 1146...see attached screenshot. I understand the application is trying to find a table for k2_categories, the challenge is...I don't have k2 installed anywhere on my domain.

I was reading posts from a few years ago that indicated the issue had been addressed. I guess the ghosts have come back into the machine.

Is there an easy fix for this challenge?

Thanks.
File Attachment:
The topic has been locked.
Support Specialist
9 years 4 months ago #60812 by mel
Replied by mel on topic Error 1146
We haven't heard of anyone having this problem lately. There are only 2 places where this problem could occur:

1. Our 'Open Graph - K2' plugin. Can you check to see whether this plugin is installed or enabled? If so you can remove it.
2. Our JFBConnect content plugin. If you have our content plugin enabled, it is configured in the JFBConnect backend > Social area. Can you make sure the 'Content Plugin - K2 Like' and 'Content Plugin - K2 Comments' sections are not present? If we're detecting old files on your system we might be showing these tabs.

-Melissa
The topic has been locked.
Active Subscriptions:

None
9 years 4 months ago #60816 by marsco
Replied by marsco on topic Error 1146
Mel,

I checked the plugins and the Open Graph k2 was present, but has now been uninstalled. The Content Plugin - K2 Like' and 'Content Plugin - K2 Comments' are both still showing.
The topic has been locked.
Support Specialist
9 years 4 months ago #60821 by mel
Replied by mel on topic Error 1146
You mentioned that K2 is not installed anywhere. However:

* The Open Graph - K2 plugin should only have been installed if the /components/com_k2 folder was found on your site.
* Those tabs in the Social backend should only be showing if we're detecting K2 in your database extensions table. Please check your database #__extensions table. If there is an element=com_k2 and type=component and enabled=1, then JFBConnect thinks K2 is still installed.

-Melissa
The topic has been locked.
Active Subscriptions:

None
9 years 4 months ago #60833 by marsco
Replied by marsco on topic Error 1146
Mel,

I have checked the database tables, root folder, sub folders etc....k2 is nowhere to be found. I may be able to live with the error since it does not seem to affect functionality. However, if there is something else I might try to clear it....I would appreciate any suggestions.
The topic has been locked.
Support Specialist
9 years 4 months ago #60837 by mel
Replied by mel on topic Error 1146
My last reply was from looking directly at our code to see what we're doing on checking whether K2 is installed or not. Without getting into your backend or DB, I honestly don't have another suggestion right now. If you just want to let it alone, that's fine, but let me know if you do see any other strange behavior.
The topic has been locked.
Active Subscriptions:

None
9 years 3 months ago #60845 by marsco
Replied by marsco on topic Error 1146
Mel,

Thanks for your time. For now I will live with the error. It does not seem to be affecting any functionality. I will reserve the right to reach out again if something gets wonky....lol.

Thanks for all your help.
The topic has been locked.
Support Specialist
9 years 3 months ago #60852 by alzander
Replied by alzander on topic Error 1146
The check that we use is in the /administrator/components/com_jfbconnect/views/social/tmpl/default.php file. At line 14, we make the following call:
$k2IsInstalled = JFBConnectUtilities::isJoomlaComponentEnabled('com_k2');
Simply change that to:
$k2IsInstalled = false;
Then, the error should go away.

With that said, the check we do for k2 is in the database. We're making the following query:
SELECT extension_id FROM #__extensions WHERE 'type' = 'component' AND 'element' = 'com_k2'
Try to run that query to see if something comes back for you. If so, let us know the details of that row, because something seems to be indicating K2 is installed in your database.

I hope that helps,
Alex
The topic has been locked.