Forum is closed

Jfb connect Fatal Error

Jfb connect Fatal Error

hello,
ust installed 2.0 'stable'....
while in configuring JFBConnect and I click on "Overview" I get a falat error page like this.
Facebook Application Information

Application Name:
Fatal error: Cannot use object of type stdClass as array in /var/www/vhosts/-----.com/httpdocs/administrator/components/com_jfbconnect/views/jfbconnect/tmpl/default.php on line 25

anybody any idea how to cure this?

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Jfb connect Fatal Error

Can you go into the Configuration and ensure that your API and Secret keys are set correctly?  The line that's causing the problem is where JFBConnect is trying to retrieve your Application information from their server.  Obviously, it shouldn't cause a fatal error like that, but I think if you can get those keys set up correctly, you'll be good to go.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24167 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Jfb connect Fatal Error

thanks for the answer,
do I have some problems in to shape the application of facebook, can you explain me that parameters I must use?
you excuse me for the English but I am Italian
thank you

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Jfb connect Fatal Error

Ah ha!  I was incorrect in what I said earlier.  While investigating another issue, we ran into this issue as well.  It seems to be caused when with a combination of a PHP 5.0 or 5.1 library installed (PHP 5.2+ is not affected) and using the JSON wrapper that Facebook includes.  If this is gibberish, don't worry.

If you are comfortable making a change to a file, we'd love to hear if the below change fixes your issue.  It will definitely be included in the next release of JFBConnect as well:

File: /administrator/components/com_jfbconnect/assets/facebook-api/jsonwrapper/jsonwrapper_inner.php
On both lines, add the bolded section within the ( )
Line 9 and line 18:
        $services_json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE);

You're English was fine by the way.  We understood the question, but didn't not realize the problem.  Hopefully the above helps!

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24167 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Jfb connect Fatal Error

thanks for the modify.it has worked perfectly

Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11697
Total Polls:
0
Total Posts:
49105
Posts this week:
7
User Info
 
Total Users:
47920
Newest User:
pyaaye
Members Online:
2
Guests Online:
820

Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program