Topic-icon Updating from Joomla 2.5.20 to 3.3.0

Active Subscriptions:

None
10 years 3 days ago - 10 years 3 days ago #43993 by kevdal
Prior to updating Joomla, I checked and found JFBconnect v 6.0.6 was compatible with 2.5 and 3. Therefore, I left it active.

After updating received this error
Fatal error: Class 'SCStringUtilities' not found in /home/iamhr1111/public_html/components/com_jfbconnect/libraries/widget.php on line 65

I went into my phpmyadmin and turned off all items for JFBConnect although the rest of the site functions.

I thought I would just reinstall JFBConnect which it does fine except when I go to autotune, it errors indicating it can't find component. I'm guessing that's because I have everything for it disabled. When I enable it errors.

I've looked over widget.php here is line 65 - 81...Any suggestions on what to look at?

Thanks,

Kevin

Edit: I realized that i had not uninstalled JFBConnect prior to re-installing. After I did I was able to install just fine. the majority of my settings were already populated.

As I have a couple other sites I'll be updating is there anything I should be aware of when upgrading? or is it best to uninstall and reinstall it?

$paramList = SCStringUtilities::replaceNBSPWithSpace($paramList);
$params = explode(' ', $paramList);

$count = count($params);
for ($i = 0; $i < $count; $i++)
{
$params[$i] = str_replace('"', '', $params[$i]);
if (strpos($params[$i], '=') === false && $i > 0)
{
$previousIndex = $this->findPreviousParameter($params, $i - 1);
//Combine this with previous entry and space
$combinedParamValue = $params[$previousIndex] . ' ' . $params[$i];
$params[$previousIndex] = $combinedParamValue;
unset($params[$i]);
}
}
return $params;
Last edit: 10 years 3 days ago by kevdal.
The topic has been locked.
Support Specialist
10 years 3 days ago #43997 by alzander
From what I'm reading above, it sounds like an uninstall and then re-install worked for you and you're good to go on the site with the fatal error, correct? If not, let me know so we can knock that issue out.

In general, when moving from Joomla 2.5 to 3.x, I'd recommend:
* Uninstalling JFBConnect (your settings will still be intact)
* Performing the Joomla 3.x update
* Re-installing JFBConnect

A direct upgrade to Joomla 3.x *should* work though, and I'm not sure why you ran into issues. Re-installing JFBConnect (even without uninstalling first) should also be a viable option as that will re-install all our files and run through our installer routine, which will check for any inconsistencies. That process can never be 100% fool-proof with the number of server and Joomla configurations, but it works very, very well.

My only guess is that there were some file/directory permission errors on your system that weren't letting our files be read. By uninstalling, all our files would have been deleted... then re-installing would have replaced them with the correct Joomla permissions.

I hope that helps explain and get you going. If you have any other questions or run into any issues, just let me know.

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

None
10 years 2 days ago #44016 by kevdal
Thank you for your response. All is good, and I appreciate the feedback on completing the next upgrade.

Kevin
The topic has been locked.
Support Specialist
10 years 2 days ago #44025 by alzander
No problem, I'm glad to hear we could help. If you run into anything else, just let me know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks,
Alex
The topic has been locked.