FacebookBridge Error

I am getting the following error in FacbookBridge when a user updates their settings:

Warning: Missing argument 1 for FacebooksettingsAction::handlePost(), called in /home/epic4life/epic4life.com/social/lib/settingsaction.php on line 84 and defined in /home/epic4life/epic4life.com/social/plugins/FacebookBridge/actions/facebooksettings.php on line 80

Any ideas?

Comments

  • @kentopolis What version of the software are you using? FacebookBridge pre 0.9.7 is broken and unusable due to changes in Facebook's api.
  • Jordan I am using 0.9.7 fix the latest... and I get this error when I go to connect and make any changes under facebook...

    www.gametwit.com

    Warning: Missing argument 1 for FacebooksettingsAction::handlePost(), called in /home/gametwit/public_html/lib/settingsaction.php on line 84 and defined in /home/gametwit/public_html/plugins/FacebookBridge/actions/facebooksettings.php on line 80

    Warning: Cannot modify header information - headers already sent by (output started at /home/gametwit/public_html/plugins/FacebookBridge/actions/facebooksettings.php:80) in /home/gametwit/public_html/lib/htmloutputter.php on line 109
  • @ufshane I'm petty sure that you can just ignore warnings in your php settings, it's not the same as an error. You would add the following to your php.ini
    display_errors = Off
  • problem is it is not posting to facebook so there is def something wrong... when i first installed the bridge it worked, it was not until i went to the user settings for facebook saved them, received the error then it stopped working
  • @ufshane Ok, I'll run those warnings by the dev and check it out when they're online. Do you see anything in the logfiles that give any more helpful information?
  • let me muster up some logs
  • Kinda odd but this is what I get when I hit save


    2011-05-03 14:18:05 LOG_DEBUG: [www.gametwit.com:26911.c80910d4 GET /settings/facebook] MysqlSchema::ensureTable: ALTER TABLE twitter_synch_status MODIFY COLUMN foreign_id bigint not null , MODIFY COLUMN last_id bigint not null
    2011-05-03 14:18:05 LOG_DEBUG: [www.gametwit.com:26911.c80910d4 GET /settings/facebook] MysqlSchema::ensureTable: ALTER TABLE notice_to_status MODIFY COLUMN status_id bigint not null
    2011-05-03 14:18:11 LOG_DEBUG: [www.gametwit.com:26925.9a07d781 POST /settings/facebook] MysqlSchema::ensureTable: ALTER TABLE twitter_synch_status MODIFY COLUMN foreign_id bigint not null , MODIFY COLUMN last_id bigint not null
    2011-05-03 14:18:11 LOG_DEBUG: [www.gametwit.com:26925.9a07d781 POST /settings/facebook] MysqlSchema::ensureTable: ALTER TABLE notice_to_status MODIFY COLUMN status_id bigint not null
  • @ufshane try running from the scripts directory php checkschema.php
    You should do that after enabling any plugins just to be safe.
  • did not work at first but then I saw you had the php file name wrong its checkschema.php

    Testing now
  • Hmm ok no change
  • hello,
    In my app, facebook plugin has been integrated and notices are posting there successfully. But whenever I try to delete or favour notice, i get the following error:

    facebookclient.php - Could not deleted Facebook item: xxx_xxx for sanamin (3), fbuid xxx - (API error: CurlException: 60: SSL certificate problem, verify that the CA cert is OK. Details:
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed) item already deleted on Facebook?

    What I am missing here?
  • I got it.. there was a problem with my server settings, ssl was disabled so add these lines in facebook.php curl request
    CURLOPT_SSL_VERIFYPEER => false,
    CURLOPT_SSL_VERIFYHOST => 2

    its solved now
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID