Hello,
I really like the module and love using it.
But I have issues since I updated the module to latest stable release.
Here is the error:
warning: Missing argument 2 for Facebook::__construct(), called in /home/xxxx/public_html/sites/all/modules/fb/fb.module on line 228 and defined in /home/XXXX/public_html/sites/all/modules/fb/facebook-platform/php/facebook.php on line 63.
I appreciate your reply.
Regards.
Comments
Comment #1
Dave Cohen commentedWhen you upgrade from 2.x to 3.x, you have to get the latest version of facebook's client libraries. Read the README.txt.
Comment #2
beautifulmindHello,
Thanks for the information. I really appreciate it.
Regards.
Comment #3
beautifulmindHello
I read the README.txt and installed the module accordingly, but it fails each time.
Here is the error I get:
PHP Fatal error: Access to undeclared static property: Facebook::$CURL_OPTS in /home/xxxxxx/public_html/sites/all/modules/fb/fb.module on line 234
I've already checked that my hosting provider supports curl & openSSL
Regards.
Comment #4
Dave Cohen commentedI think you have an old version of facebook's libraries. The README.txt describes where to get the newer one.
Comment #5
beautifulmindWell, I have downloaded the libraries from the link provided in the README.txt. is the link point to old libraries? Again, I followed all the steps mentioned in the README.txt
Thanks.
Comment #6
beautifulmindAlso, How can I prove that I have followed all the steps mentioned in the README.txt?
Thanks for your co-operation so far.
Comment #7
beautifulmindHello,
Can I have any update please? is there anything you can do with this? I've tried with a clean install of 6.x-3.0 beta1, but no help. Are you sure the library you are talking about is the one which should be used with the module?
Thanks.
Comment #8
Dave Cohen commentedIf you have a file called facebook-platform/php/facebook.php, that looks like the old libraries that go with the 2.x branch.
The libraries that go with 3.x will be a directory called facebook-php-sdk or something close to that.
Comment #9
beautifulmindYeah, that's what I did. I downloaded a zip file from an external website (not facebook) and copied it to respective directory. When updating, I removed all the files of previous version. Did I do in correct way?
[edit] I copied the content of extrated zip file
Comment #10
beautifulmindI have installed the RC3 and followed all the steps, the issue is the same.
Regards.