Topic-icon Cannot fetch FB app

Active Subscriptions:

None
11 years 1 month ago #32372 by LeGiangAnh
Hello,

I got the message after used AutoTune:
Error
Facebook Application information not found. Please run AutoTune to fetch your settings.
Although AutoTune show no error but this error still appears:
screencast.com/t/Ws4qIb6rVPrr
screencast.com/t/XURsCi8Lp

Please help.

Thanks,
Giang Anh
The topic has been locked.
Support Specialist
11 years 1 month ago #32377 by alzander
Replied by alzander on topic Cannot fetch FB app
Giang,
I'm not sure, we've never seen that data not stored properly and causing the error to display that you posted. Are you doing all your testing on the same site? Even with that message, most functionality of JFBConnect should still work, so it shouldn't stop you from configuring registration/login and other features. It would be best if we can help diagnose and fix the problem though.

If it's all on the same site, would it be possible to private message us a set of super admin credentials so we can investigate further? You can private message me by clicking the arrow under my picture (<----) and hitting the mail icon.

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

None
11 years 1 month ago #32378 by LeGiangAnh
Replied by LeGiangAnh on topic Cannot fetch FB app
Hi Alex,

It's all the same site. danhgia.net

I will send you the message now.
The topic has been locked.
Support Specialist
11 years 1 month ago #32388 by alzander
Replied by alzander on topic Cannot fetch FB app
Anh,
Thanks for the credentials. I don't have a great answer yet, but want you to know we are looking into the matter. When I try to save the FB App configuration using Autotune, I'm getting an error about Empty Migration Values or something like that, which is preventing things from saving properly. We'll be investigating further and hopefully have a good answer/solution for you tomorrow.

Again, most features of JFBConnect should work just fine with that warning message in the Overview area, you just want see a little extra status there. We'll get you going though.

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

None
11 years 1 month ago #32389 by LeGiangAnh
Replied by LeGiangAnh on topic Cannot fetch FB app
Hello,

Currently I cannot use Open Graph with that error.

Thanks,
Giang Anh
The topic has been locked.
Support Specialist
11 years 1 month ago #32394 by alzander
Replied by alzander on topic Cannot fetch FB app
I investigated a lot today and made a lot of progress. Unfortunately, while I was changing a piece of code using extPlorer, I made a mistake and the site is now returning a fatal error.

I'm very close to figuring out the problem, but will need you to undo a change I made since I can't access the site anymore. Can you edit the /administrator/componenst/com_jfbconnect/common/scconfig.php file. Around line 113, you'll see:
if (strpos($setting, "autotune_") !== false)
        {
            $value = @unserialize($value); // Suppress the notice that the string may not be serialized in the first place
            echo "Unserializing... <br/>";
            print_r ($value);
        }
Remove the echo and print statement, so it looks like:
if (strpos($setting, "autotune_") !== false)
        {
            $value = @unserialize($value); // Suppress the notice that the string may not be serialized in the first place
        }
That will get the site back online.
The topic has been locked.
Support Specialist
11 years 1 month ago #32395 by alzander
Replied by alzander on topic Cannot fetch FB app
As to the actual problem, it looks to be an encoding issue of the special characters in your Application Name. We've never seen that be a problem before, but something is happening when we read the information back out of the database and it's simply coming back empty.

Once we can test again, I think we know a solution, but need to implement it.

Very sorry for the inconvenience, but we'll get you going soon.

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

None
11 years 1 month ago #32399 by LeGiangAnh
Replied by LeGiangAnh on topic Cannot fetch FB app
Hello.

I edited the file and the site is back.

Thanks,
Giang Anh
The topic has been locked.
Support Specialist
11 years 1 month ago #32401 by alzander
Replied by alzander on topic Cannot fetch FB app
Thanks for the quick edit, and sorry again for that mistake.

We created a test FB Application and used all the same settings that you used in yours. With those settings, we could easily recreate the problem you're having. The issue is settings like "Đánh Giá" which are being stored in the database incorrectly and which cause reading out of the data to be a problem.

The temporary fix is to:
* Edit your Facebook Application (at developers.facebook.com) and change the following characters to standard English/Latin characters: App Name, App Details (Tagline, Description and Explanation for Permissions) and Page Tab Name
* Then, go into Autotune, and hit "Refresh" in the top right of the FB App section
* Try your Overview page again and see if the error is gone
* If so, re-edit your FB Application and set the settings however you want
* Do not re-run Autotune again or the problem characters will be re-imported

That should get things working again. We are looking into why those characters aren't saved properly in the database and should have an answer soon, but don't want to slow you down anymore.

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

None
11 years 1 month ago #32405 by LeGiangAnh
Replied by LeGiangAnh on topic Cannot fetch FB app
Hello,

It works. However I see some strange message in the Overview page: screencast.com/t/7yGjbaXvV0xP
Is its expected behavior?

Thanks,
Giang Anh
The topic has been locked.