Topic-icon ipv6 error

Support Specialist
10 years 5 months ago #39008 by alzander
Replied by alzander on topic ipv6 error
Saar,
Our code is agnostic to rtl or different languages. The worst JFBConnect should do is fall back to English... not fail miserably :D

Your issue is intriguing, and the results you just posted narrow things down a lot. If you can see the subscriber information, it means that your server has successfully made an outgoing call to our server to a) fetch your subscription status and b) get the recommendations for your Facebook application. That means that your server simply can't talk to Facebook. There are a few reasons that could be happening:
a) Your server is still trying to partially use IPv6 connections, but can't. This could either be a server mis-configuration (reporting it supports IPv6, but really doesn't) or a firewall issue.
b) Facebook has blocked your IP address. This can happen on shared servers which have many sites that all share the same IP address. If one of those sites gets on FB's bad side (lots 'o spam), it can block the whole IP address, which kills all other sites from connecting.

To test for b), the best thing to do is have your host run a few tests from the command line. Basically, we want to check if command line tools (completely outside of Joomla/PHP) can connect to Facebook:

ping api.facebook.com

A simple ping test that should respond that Facebook acknowleges your server.

nslookup api.facebook.com

Should come back with a server IP address (hopefully in IPv4), for Facebook, like:

Non-authoritative answer:
api.facebook.com canonical name = star.c10r.facebook.com.
Name: star.c10r.facebook.com
Address: 31.13.66.49

wget graph.facebook.com/me

That should download a text file that says:

{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}

Not an exciting message, but it shows that Facebook accepts the request, but throws an error because it's an invalid request.

I hate to just throw a bunch of jargon out at you to test with, but it's really the best I have right now from the info you've given. I do hope we can get this going for you!

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

None
10 years 5 months ago #39034 by moonsun
Replied by moonsun on topic ipv6 error
ok. got autotune to work.... not really sure how....

but still got a problem.
facebook connect works until i disable magic quatos gpc by editing .htaccess and adding those lines:
<IfModule mod_suphp.c>
  suPHP_ConfigPath /home/myusername/public_html/yourJ3folder
  <Files php.ini>
    order allow,deny
    deny from all
  </Files>
</IfModule>

php.ini includes:
safe_mode = off
magic_quotes_gpc = off
extension=pdo.so
extension=pdo_mysql.so
extension=php_pdo.dll
extension=php_pdo_mysql.dll

any suggestions?
The topic has been locked.
Support Specialist
10 years 5 months ago #39041 by alzander
Replied by alzander on topic ipv6 error
Hmmm.. magic_quotes_gpc is required to be off in Joomla 3. Joomla normally won't even install if it's enabled. I mainly bring that up because I'm not even sure how/why you narrowed it down to that setting. magic_quotes_gpc is recommended (but not required) to be disabled in Joomla 2.5.

As for how that would be affecting our integration, I'm honestly a bit clueless. Can you give more information about what is or isn't working? You say "facebook connect works until i disable magic quatos gpc". I'm assuming you mean the login process, correct? If so, can you go to the JFBConnect -> Configuration area and enable the "Debugging Mode" option? See if there are any error messages that appear during log in.

Let me know any messages, errors, or anything else you see as that will help diagnose what could be going wrong.

Thanks,
Alex
The topic has been locked.