[Plugin: Simple Facebook Connect] Login Redirects Back To "Register For This Site"
First, let me apologize if this was already discussed. I did try and find a topic related to this issue but didn’t locate one – user error I’m sure. AND I’m certain it’s something boneheaded that I am doing, so I’ll apologize for that too.
The issue as stated in the title is just that. If you hit:
and follow thru with using facebook to log in, it returns you to
Every other aspect of the plugin seems to work just fine for me, this is why I’m sure it’s something I overlooked. Any suggestions?
Thank you in advance. I certainly do appreciate the work and effort you’ve put into this plugin. Real slick.
Same problem here!
It works before, certainly something to do with a facebook update…
Have you connected your FB account to your WP account already? Log in normally, then go to Users->Your Profile and connect the two accounts there.
Hey again Otto
Yep, the WP account & FB are connected.
My FB page is https://www.facebook.com/maximurdok
jk_ brought up the facebook update ( good point! ), and I just now had a thought about the https
Do you think either would be effecting the plugin? I have the new timeline layout on my facebook page ( why I included the link )
Like I said, seems to me that everything else ( as in sidebar widgs I’m using & Like ) is working just fine, its pulling feeds and allowing “like” to follow thru – its just reversing back on itself with the login from the wp-login – I’ve had a couple friends try it out as well with the same results.
Any other ideas?
Thanks for the quick follow up.
I was having very strange things happening with facebook login redirecting back to the login page but not logging in…
finally had to pull the plug(in).
Hoping this is fixed soon!
Nothing wrong with the plugin as far as I know, so without more information on the problem, then I have to say it’s not likely to be fixed soon.
I don’t know what other information I could possibly share. If I’m missing something please let me know and I’ll share additional info.
Under WordPress>Users>Your Profile>Facebook Connect – everything seems in order. It’s connected.
In WordPress>In the plugs settings for SFC token checks I have:
User ID and Access Token found! Automatic profile publishing is ready to go!
Application Access Token found! Automatic application wall publishing is ready to go!
Fan Page Access Token found! Automatic fan page publishing is ready to go!
Should there be more? Are these all the tokens?
Can you rule out the recent FB update causing this issue. Can you also rule out my FB’s https setting as a possible cause? I got nothing else that I can pin point. I’ve spent a fair amount of time going over all the settings. I shut down anything I thought may conflict with SFC…anything that had anything to do with facebook, such as Meebo toolbar. Does a list exist anywhere with possible conflicting plugins?
And please, correct me if I am wrong – would a new user to my site have to first register for the site ( as normal, as in prior to installing the plugin ), then go to their User Settings and enable WP<->FB connect in order to connect to the site using FB in the future? Just curious.
I know supporting plugins, especially free ones gets old fast – so I really do appreciate your time Otto. Seriously. I have no problem contributing to your beer fund if we can figure this issue out. That would be the least I could do.
i’m always redirected to “/wp-login.php?action=register”
If it’s sending you to action=register, then you have the registration module activated and you don’t have the WP account and the FB accounts connected. I cannot see any other way that this is possible to occur.
would a new user to my site have to first register for the site ( as normal, as in prior to installing the plugin ), then go to their User Settings and enable WP<->FB connect in order to connect to the site using FB in the future?
No. When they register using their FB credentials, the account gets automatically connected to their Facebook user, so it already starts connected.
Ok,…so now it’s working.
I just logged in to continue troubleshooting and it didn’t double back on itself.
Logged in like butter.
I wish I had something to post for others having this same issue, but regrettably I don’t know why it started working. Very strange, but I’m not gonna complain. Just wish I knew what would cause this issue in the first place.
Guess all I can say is install it, and leave it be for a while. Everything is working fine.
I’m having the same issue. If I install a fresh copy it works for one login and then goes back to redirecting all logins to the registration page.
If anyone is interested in hunting down the bug I will pay you. PM me. I really love this plugin otherwise.
For me the problem was that i was logged in facebook. So i guess some cookies are messing things up. Tried a different browser just to be sure and indeed it worked as it should. To be more specific, what is causing this is triggering action “sfc_login_new_fb_user”. In sfc-register.php, “sfc_register_redirect()” is hooked to it and is doing wp_redirect(site_url(‘wp-login.php?action=register’, ‘login’));
That’s happening in lines 10-14.
Same problem as everyone else. I actually did a restore on the server account from a backup just to get into my admin panel. Yeah, I should have FTP’d in and removed the plugin, but whatever …
I love this plugin, Otto, but I just can’t use the register capability (or have it turned on). If ‘entr’ is correct, this will pose a problem for many people. Fortunately, we decided not to allow registrations and have posters use Facebook.
There’s only one other issue with the plugin, but that’s for another thread. Otherwise, I am very optimistic about using it long term and definitely buying you a beer if I can get the rest working.
Cookies! I never thought of that. Entr’s suggestion is a good one. Love to know what Otto thinks. So I’ve been trying to figure out why this started working for me all of a sudden – I didn’t change browsers, nothing different. So I dunno. I just installed this again, on a different site, different server.
I started having the same issues as before. What I did this time was un-install a few things. This wasn’t my site, I was helping a friend with her existing site. What I shut down was a Meebo plugin, it had a Facebook doodad on it, I believe a “LIKE” feature. And she also had a comment plugin for Facebook that wasn’t being used. Seeing how really those were redundant anyway and she didn’t need those any more I shut ’em off, actually I removed both entirely.
And presto, it worked. BUT, the last time when I installed SFC I didn’t have those other plug ins. Honestly it seemed like SFC started working all by itself – which you and I know just doesn’t happen. However, I would suggest that you give this plug in a little time regardless. When I did the install Facebook was changing a bunch of things. To totally spit ball an idea – maybe this plug in needs just a little time to get all its ducks in a row from your server, to Facebook’s API, to your web browser. I’m sure that’ll get a snicker or two but I have no other suggestions, especially since mine seem to just start working after about a week of half assing around.
Ken of Kentropolis. Not to dis Otto in any way at all, but if you are looking for a social media log in, Google + is a good option and there is a WP plug in floating around here on the WP site. It plays nice with SFC too – I actually have both FB & G+ log ins for my WP site ( http://www.maxmurdok.com/wp-login.php ) The only thing I would like to do is change the graphics to something consistent with WP or my theme.
No idea if this will help anyone but there ya go….
There is indeed a Google plugin now. Works perfectly with SFC. 😉
- The topic ‘[Plugin: Simple Facebook Connect] Login Redirects Back To "Register For This Site"’ is closed to new replies.