Reviewed & tested by the community
Project:
Facebook Connect
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2012 at 21:51 UTC
Updated:
26 Sep 2017 at 15:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
one_orange_cat commentedDon't know if you've tried this, but I only got mine working when I renamed the downloaded SDK folder to 'facebook-php-sdk' and put it in sites/all/libraries.
<edit> Probably useful to note that I have Libraries API module installed! </edit>
Comment #2
wxman commentedI'm afraid I already tried that. It's in sites/all/libraries/facebook-php-sdk/src, and the libraries module is installed. Thanks for trying.
Comment #3
one_orange_cat commentedAgain I'm guessing you've tried this, but as you're using latest dev version of libraries which has the new cache_libraries table (vs recommended) have you tried emptying that table/clearing caches?
Comment #4
wxman commentedI'm using Libraries API 7.x-2.0-alpha2+2-dev. I use the admin toolbar, and I use the flush all caches every time. Still no luck.
Comment #5
wxman commentedSo far I've tried different versions of the SDK, all three versions of the libraries module (currently 7.x-2.0-alpha2), cleared the cache_libraries table, but still nothing. others have this working, so I know it does. What else could I be doing wrong? Could it have something to do bring a multi site?
Comment #6
wxman commentedI dug around the code, and made a test edit of fbconnect.module function _facebook_client_load_include(). I started by printing the variable $sdk_path. Every time it came out blank, so I commented out the else:
The library loads perfectly if I leave the else statement commented out.
Comment #7
internetdevels commentedthis patch fixed problem for me
Comment #8
wxman commentedThanks. The patch works here too.
Comment #9
Exploratus commentedHad the same issue, this patch fixed it right up. Thanks! Is this commited?
Comment #10
astutonetDespite its importance, this module seems rather abandoned and maybe the patch in #7 has not yet been implemented because the category and subject of this post was a support request, not a bug information.
I also had the problems presented in this issue and after trying various solutions, the patch provided solve my problems.
I was leaving the module when I found the solution presented in this post.
Thank you. I hope this patch will be commited soon.
Comment #11
jcisio commentedWhen a patch is "needs work", it has less chance to be reviewed. I don't know why it was NW, to move to NR.
Comment #12
Chris Charlton3-4 years later? Bump.
Comment #13
Chris CharltonComment #14
Chris CharltonPatch #7 is good.
Comment #15
Chris Charlton(friendly) Bump. :)