× Joomla Facebook Connect support forum

Topic-icon Lose Navigation After Connect with Facebook

Active Subscriptions:

None
14 years 10 months ago #1204 by Corsulian
My login module and connecting with Facebook have always worked just fine on my site. However, the successful connection brings up the site in a new window with no navigation scroll bars or menus. Just a navigation bar and no apparent way to get these things back.

This is while using Mozilla Firefox 3.0.10, Joomla 1.5.10, and the latest JFBConnect. No JomSocial or CB integration.
The topic has been locked.
Support Specialist
14 years 10 months ago #1208 by alzander
I've only heard of this once or twice, and normally, after I give the following advice, I never hear back. If it doesn't work for you, can you post your site (IM'ing it to me is fine) so I can see the code the login module is generating?

1. Check your callback URL is to the root of your site, not to an interior page. <!-- m --><a class="postlink" href="www.yoursite.com/">www.yoursite.com/ (nothing after the trailing slash).
2. Check the login module parameters and try different login pages to see if you can narrow down certain pages that if set to, you have the problem.

Report back anything you find, and if you need more assistance, just let us know!
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #1241 by Corsulian
I actually had no callback URL listed in the Canvas section. I added it but it had no effect.

I have it set not to redirect on a Joomla login. I tried setting it to redirect to a few different areas on a Facebook login but, no matter what I selected, the home page always came up.

<!-- m --><a class="postlink" href="www.corsulian.com">www.corsulian.com
The topic has been locked.
Support Specialist
14 years 10 months ago #1243 by alzander
It seems to be working for me in Firefox. Is there a particular browser your using that you're seeing that result?

Both when I first logged in (registering and creating a new user) and when I return to the site, I'm getting directed to this page:
index.php?option=com_content&view=category&layout=blog&id=14&Itemid=25

I can navigate fine and I see scroll bars. Let me know if there's anything else I can do to help narrow it down.
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #1244 by Corsulian
I use Firefox 1.9.0.10 - though IE7 is showing the same thing.

Good - that's where I had set the redirection just as a test.

I switched it back to "home" and, oddly enough, when I tried to log in with Facebook just now, I received the cross-domain error receiver URL:

The Facebook Connect cross-domain receiver URL (<!-- m --><a class="postlink" href="http://***/index.php?option=com_jfbconnect&view=xdreceiver&format=raw#fname=_opener&%7B%22t%22%3A3%2C%22h%22%3A%22fbCancelLogin%22%2C%22sid%22%3A%220.255%22%7D">http://***/index.php?option=com_jfbconn ... .255%22%7D) must have the application's Connect URL (www.corsulian.com/">www.corsulian.com/) as a prefix. You can configure the Connect URL in the Application Settings Editor.

This has happened before so I did what I always do in this case: log into Facebook, click Connect on my site, and then click Logout on my site. At that point, I can login with Facebook just fine.

Still giving me no navigation. I tried with another Facebook account - same result.
The topic has been locked.
Support Specialist
14 years 10 months ago #1252 by alzander
The cross-domain receiver error can probably be resolved using this post:
<!-- m --><a class="postlink" href="www.cmsmarket.com/forum/viewtopic.php?f=38&t=102">www.cmsmarket.com/forum/viewtopic.php?f=38&t=102

I attached a picture from your site. This is the screen I see directly after logging in (previously registered the other day). Is there anything special you may be doing? Can you attach a similar picture so? Maybe that will help give me a better idea of what's going on.
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #1517 by Corsulian
Attached examples for both IE and Mozilla.
The topic has been locked.
Support Specialist
14 years 10 months ago #1530 by alzander
The only times we've heard of this happening, we've provided the following suggestion: Create a new Facebook application, leave most settings at their default, grab the API/Secret key and try logging in then. There seems to be some setting within the Facebook application that can cause this to happen. No one has ever responded back by comparing their 'old' FB app settings with the 'new' default settings. If this works for you, and you want to use your old application, please let us know if you find the 'bad' setting. We'd love to get more information on it to either work-around it or call it out to not use it in the future.

For instructions on the minimum app settings required, use this link:
<!-- m --><a class="postlink" href="www.sourcecoast.com/extensions/jfbconnec...ration-guide?start=1">www.jfbconnect.com/jfbconnect-se ... ns?start=1
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #1591 by Corsulian
So I created a new application, updated the keys, and tested things out: worked just as intended.

When logged into <!-- m --><a class="postlink" href="www.corsulian.com">www.corsulian.com, I could connect with Facebook without a problem.

I then decided to follow the cross-domain receiver error instructions as well just to make sure that didn't happen.

Now, upon navigating to <!-- m --><a class="postlink" href="corsulian.com">corsulian.com, I was expected to be redirected to www.corsulian.com">www.corsulian.com. I was not redirected. When I tried connecting by Facebook while still at corsulian.com">corsulian.com and that's when the whole "new window with no navigation" weirdness appeared. That was probably always the case but I just never bothered to type "www" for my own site.

I repeated the steps a few times to confirm.

<!-- m --><a class="postlink" href="www.corsulian.com">www.corsulian.com works just fine.
<!-- m --><a class="postlink" href="corsulian.com">corsulian.com sporadically throws the cross-domain receiver error and, when it doesn't, it opens the site in a new window with no navigation.

It seems the problem may lie somewhere in the redirect - but I compared the two app settings just to make sure and I was surprised to find differences as I had only filled in the minimum things for both:

Deltas:

Profiles tab
Publisher Mode
Old App: Inline
New App: Dialog (Legacy)

Canvas tab
Canvas Callback URL
Old App: <!-- m --><a class="postlink" href="www.corsulian.com/">www.corsulian.com/
New App: <!-- m --><a class="postlink" href="www.corsulian.com">www.corsulian.com

Advanced tab
Session Secret Whitelist Exception
Old App: Disable
New App: Enable
The topic has been locked.
Support Specialist
14 years 9 months ago #1609 by alzander
Thanks for letting us know the differences! We'll definitely do some testing with them to see if we can get the errors to arise and then try to narrow down the cause.

As for redirecting, it appears this still isn't set up.
I'm assuming you updated the .htaccess file with the commands in the other thread, correct?
If that isn't working, are you using an Apache web-server? .htaccess is only recognized by Apache, not Microsoft IIS (as far as I know)
Can you paste your .htaccess file here? We can have a look-see and see if anything seems out of the ordinary.
The topic has been locked.