× Joomla Facebook Connect support forum

Topic-icon Fatal error: Class 'JSimpleXML' not found

Active Subscriptions:

None
15 years 2 months ago #8667 by mfbb
Hi Guys

Firstly thanks for a superb extension,

In a nut shell I am gett the below error when I click on the overview tab in the joomla back end administrator

Fatal error: Class 'JSimpleXML' not found in /home/mjjcommu/public_html/site/administrator/components/com_jfbconnect/assets/sourcecoast.php on line 137

If someone can help me out or point me in the right direction that would be great

Many Thanks

Gaz
The topic has been locked.
Support Specialist
15 years 2 months ago #8670 by alzander
We wish every user would say we had a superb extension.. even while they're getting a fatal error :)

That's an error we've never seen before, but can actually see immediately how it might crop up. Not sure why you're having it, but the following 1 (or 2) things should fix it. Hopefully, you don't mind making 2 small edits to a file. Both of these are in the /administrator/components/com_jfbconnect/asset/sourcecoast.php file:
1) At the top, there's a few jimport(...) statements. Add this one:
jimport('joomla.utilities.simplexml');
2) At line 138, there's the following line:
$xmlParser = new JSimpleXML;
Add a () to the end of it:
$xmlParser = new JSimpleXML();

Please let us know if that fixes things for you. As above, we've never heard of this issue, and JFBConnect is used on a lot of sites.. however, right upon looking at that file, I can see those issues.. so hopefully that will nip it in the bud quickly, and you'll be on your way.

If that doesn't help, let us know, and we'll do what we can to find another solution. Also, if you would, let me know what version of Joomla and PHP you're using.

Thanks!
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #8671 by mfbb
Perfect,

Worked first time by following number one.

Huge thanks.

Gaz
The topic has been locked.
Support Specialist
15 years 2 months ago #8676 by alzander
Fantastic! Really sorry that you ran into that issue. Hit us out of the blue, in all honesty, but glad our solution worked!

If you run into anything else, let us know, and good luck.
The topic has been locked.
Support Specialist
15 years 2 months ago #8775 by alzander
Hey Sonic :)
Just wanted to let you know JFBConnect v3.2 is out now. It has a ton of improvements and new features, which you may want to take advantage of. Additionally, it has the fix for the issue you posted about above, so you shouldn't have any issues upgrading.

For more information on the new release, so you can tell if you want any of the new features, see:
www.sourcecoast.com/blog/item/106-jfbconnect-32-sneak-peek

If you choose to upgrade, see our Upgrade Guide (basically, just re-install the extensions over the top of what you have):
www.sourcecoast.com/extensions/jfbconnect/upgrade-guide

Then, check the configuration guide for any questions you may have about the new features.

Good luck, and hopefully you won't run into any issues with the new release!
The topic has been locked.