That's not an issue we've heard of before. From looking at the code, it looks like the code that's throwing the error shouldn't be causing any problems, but also can be removed without any issues either. To remove, please edit the /plugins/user/jfbconnectuser/jfbconnectuser.php file. Around line 59, you'll see:Admin logout error:
Fatal error: require(): Cannot redeclare class jfbcfactory in .../plugins/user/jfbconnectuser/jfbconnectuser.php on line 61
// Tell Facebook to delete session information stored for this user.
$factoryFile = JPATH_ROOT . '/components/com_jfbconnect/libraries/factory.php';
require_once($factoryFile);
SCLogin v4.0 is not meant to be used with JFBConnect v6.1. There is a completely new login button system with the 6.1 release that the older SCLogin module won't recognize. The new version allows for selecting the button image for each social network.Front-end:
Double google authentication image (after downgrading SC Login to previous version) because 4.1.1 broke in back end.
Please try going to the Advanced Parameters area and disabling the Caching option.Front-end:
Invalid token upon login
Are you clicking the "Logout" button, or is the attempt to logout not intentional? My guess is that it has to do with the require issue you mentino above.Front-end:
Hangs attempting to log-out after successfully logging-in.
That's not an issue we've heard of before. From looking at the code, it looks like the code that's throwing the error shouldn't be causing any problems, but also can be removed without any issues either. To remove, please edit the /plugins/user/jfbconnectuser/jfbconnectuser.php file. Around line 59, you'll see:
We just did further testing to narrow things down. Although the Joomla documentation says that the renderField call is available "since 3.2", it's actually only available in 3.2.4 (or 3.3.0) and higher.UNRESOVLED 1 - Upgraded module (again) to SC Login 4.1.1 and it breaks the back-end per previous thread. Tried (again) changing the three bits of code without success.
if (version_compare(JVERSION, '3.2.3', '<='))
foreach ($form->getFieldsets() as $fiedsets => $fieldset)
{
$html[] = '<ul class="adminformlist">';
foreach ($form->getFieldset($fieldset->name) as $field)
{
$label = $field->getLabel();
$input = $field->getInput();
$html[] = '<li>' . $label . $input . '</li>';
}
$html[] = '</ul>';
}
Have you gone into the Advanced settings of the SCLogin module and disabled the caching option? If so, and you still have issues, can you try disabling the Joomla -> Global Configuration caching option and see if that fixes the problem? That's not meant to be a permanent solution, but will help narrow down the cause.UNRESOVLED 2 - INVALID TOKEN is only for the joomla registration log-in from the SC Module after upgrading to 6.1. Facebook login works correctly.
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.