Topic-icon Problem with JFBsystem plugin

Active Subscriptions:

None
14 years 5 months ago #17526 by jermaa
Hi Alex,

Today i've installed Autotweet compenent that post new K2 articles to our Facebook page. Now JFBConnect won't work anymore. When i save a new K2 Article i get the following error: Fatal error: Call to a member function setupRedirection() on a non-object in /home/..../domains/....../public_html/plugins/system/jfbcsystem/jfbcsystem.php on line 65. The article is saved but i have to return to the K2 component myself.

I've set you plugin (System and Content) as the first one above the Autotweet plugins and also set your plugin as latest but that won't work. Before on Joomla 1.5 both components/plugins worked fine together. i hope we can fix this because we like to use both components.

if you need backend acces please let me know, i will created a profile with admin acces for straight away.

We use the latest version of you component, 4.1 for joomla 1.7.

Kind regards,

Jeroen
The topic has been locked.
Support Specialist
14 years 5 months ago #17536 by alzander
Jeroen,
We're investigating another issue related to that function now, but have a temporary workaround that should work for you now. Please edit the /plugins/system/jfbcsystem/jfbcsystem.php file. At line 42, you'll see:
if (!$app->isAdmin())
{
    jimport ....
    .....
}
You'll want to comment out the first 2 lines and last line by putting two slashes at the beginning of the lines. Don't touch the 10 or so lines in between there.. when done, it should look like:
// if (!$app->isAdmin())
// {
    jimport ....
    .....
// }
We're looking to release 4.1.1 later this week or early next which will clean up a few minor issues that are cropping up, and this will definitely be one.

Sorry for the inconvenience, please let us know how it goes, and thanks for the report,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17537 by jermaa
Alex,

That work fine for now. Whe the new release is there I will install that and see of the problem is solved.

Once again, thanks for your fast support!

Kind regards,

Jeroen
The topic has been locked.
Support Specialist
14 years 5 months ago #17539 by alzander
Glad to hear that worked. The 4.1.0 will have a fix in it which will likely be similar. Of course, if you run into other issues with 4.1.0, or any new ones when 4.1.1 is available, you know where to find us.

Alex
The topic has been locked.