Forums

[Plugin: WP-FacebookConnect] Page refresh on login and 404 (2 posts)

  1. jamesfow
    Member
    Posted 3 months ago #

    Hi there,
    I've just set up this plugin for my site (http://www.sotolive.com) and everything appears to work fine apart from the actual login process.

    When you click on the 'Connect' button a pop-up appears with the facebook login page. Fine.

    Clicking 'login' then directs you to http://www.sotolive.com/wp-content/plugins/w-pfacebookconnect/xd_receiver.php?fb_login&fname=_opener&guid... (and so on) which appears as a 404 page.

    If I close this window there is no change to the page on which I originally clicked the 'Connect' button - only a manual refresh correctly displays the facebook details.

    So, functionality works fine but there are a few too many steps which might put my users off. Any suggestions for how I can solve this would be greatly appreciated. (I have deactivated the plugin for the time being, but please let me know if you want me to reactivate it to take a look).

    Thanks.

    http://wordpress.org/extend/plugins/wp-facebookconnect/

  2. lschr0der
    Member
    Posted 3 months ago #

    I had the same problem using 2.7.1.
    Well, the plugin states to be compatible up to 2.6 only...
    Fast forward all the way down of this comment for my solution...

    My wordpress-setup is similar to what is described here:
    http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion

    Looking at the html source of the page, please locate "FBConnect.init". What does that javascript call look like?

    The second parameter should read something like this:
    YOUR-BLOG-HOME/wordpress-content/plugins/wp-facebookconnect/

    So, if you directly open
    http://YOUR-BLOG-HOME/wordpress-content/plugins/wp-facebookconnect/fbconnect.php your should not get a 404.

    As it turned out:
    For me it was MY-BLOG-HOME/wordpress/wordpress-content/yaddayadda...
    which couldn't work.

    I modified fbconnect.php:
    Locate this: function this_plugin_path() {
    I used this code snippet for the return:

    return get_option('home').''. WP_PLUGIN_URL.'/' . $path;

    This replaces get_option('siteurl') by the home-url.

Reply

You must log in to post.

About this Topic