Topic-icon Error after installing JFBConnect with Joomla 3.0

Active Subscriptions:

None
Hi,

I've purchased the JFBConnect today, and installed in the Extension Manager.

However, after that, the administrator page does not open anymore. It displays an error:
"Server error
The website encountered an error while retrieving http:///cupons/administrator/index.php. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request."

In the administrator folder, an error_log file was generated with the following error:

[06-Mar-2013 15:10:44 America/Denver] PHP Fatal error: Class JFBConnectModelUserMap cannot extend from interface JModel in ../public_html/cupons/administrator/components/com_jfbconnect/models/usermap.php on line 12

Please let me know what I did wrong... :-)

Regards,
Rafael Diel
The topic has been locked.
Support Specialist
11 years 1 month ago #31604 by alzander
We've never heard of that error before and the error message itself sounds like you installed a different version than what's available in our download area. Can you let me know the name of the file you installed so we can check what may be happening?

As for a temporary solution, the best thing I can suggest is editing the /plugins/system/jfbcsystem/jfbcsystem.php file. Around line 44, you'll see:
function __construct(& $subject, $config)
    {
        jimport('joomla.filesystem.file');
        $libFile = JPATH_ROOT . '/components/com_jfbconnect/libraries/facebook.php';
        if (!JFile::exists($libFile))
Edit that by simply adding 'return;' after the { on the 2nd line above. When done, it should look like:
function __construct(& $subject, $config)
    {
        return;  // ADD THIS
        jimport('joomla.filesystem.file');
        $libFile = JPATH_ROOT . '/components/com_jfbconnect/libraries/facebook.php';
        if (!JFile::exists($libFile))
That should prevent our system plugin from activating and *should* let you in. Once in, check the version of JFBConnect installed and let us know.. or just re-install JFBConnect again, making sure you use v5.0 for Joomla 3.0.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 1 month ago #31650 by acexgames
Thanks for your help Alex

In fact, I did install the wrong version for JFBConnect. Now everything is OK.

Thanks again.

Regards,
Rafael
The topic has been locked.
Support Specialist
11 years 1 month ago #31652 by alzander
Rafael,
Glad to you got it going. The latest v5.0 release should have checks that prevent you from installing the Joomla 2.5 version inside Joomla 3.0. Do you know what version you had installed previously? I'd like to know so that if we need to update our installation process to better prevent incorrect installations, we can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 1 month ago #31653 by acexgames
Hi Alex.

Sorry, but I've deleted the previous files, so I can't see the version.

The one I'm using now (working 100%) is the JFBConnect-5.0-Joomla30_20130220_unzip_first

Cheers,
Rafael Diel
The topic has been locked.
Support Specialist
11 years 1 month ago #31665 by alzander
Rafael,
No problem, worth asking to see if we should investigate further.

Thanks, and good luck,
Alex
The topic has been locked.