Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error message on BP-FB connect

  • Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    I’m running WPMU 2.7.1, BP RC-2, and I’d like to use the BP-FBconnect plugin. I can activate the plugin with no problem, but when I add in the FB information (API and Secret), I get the following error:

    Warning: fopen(http://api.new.facebook.com/restserver.php) [function.fopen]: failed to open stream: Operation not permitted in /mysite/wp-content/plugins/bp-fbconnect/wp-facebookconnect/facebook-client/facebookapi_php5_restlib.php on line 1939

    Fatal error: Call to undefined function simplexml_load_string() in /mysite/wp-content/plugins/bp-fbconnect/wp-facebookconnect/facebook-client/facebookapi_php5_restlib.php on line 1870

    Has anyone else seen this error or does anyone know what it means?

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The BPFBConnect plugin is not underdevelopment nor supported by the original author, unless the situation has changed very recently. I suggest you post this in the larger BPFBConnect thread to see if all who choose to use it regardless can sort it out.

    Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    Thanks, DJ Paul. I did post it there also; haven’t heard anything yet.

    Since you mentioned that you’re already using PHP5, the only other thing I can think about is to check if this module is actually enabled in your server.

    Upload this script to your root directory…

    <? phpinfo(INFO_MODULES); ?>

    And look under SimpleXML.

    Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    Thanks, Toly. Is there anything in particular that I should name the script? And how do I run it?

    you can call it whatever you want, as long as the file ends in .php. Then just view that file on your website. e.g. say you call it test.php, view it on http://yoursite.com/test/php.

    It’s not really a script, just a php function that outputs php information.

    You can use any name you want… phpinfo.php for instance and add the code I posted in my previous post. Upload the file to your server and go to… http://yoursite.com/phpinfo.php to get all the php info. Find the title SimpleXML and check below if it is enabled.

    Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    Thanks, guys!! I ran the test and only saw XML, so I checked with my hosting provider and they activated SimpleXML for me.

    Now the BP-FB plugin works!! I am still getting a few other errors, but it’s functioning.

    Thanks again. :)

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.