× Joomla Facebook Connect support forum

Topic-icon Facebook login problem with sefadvance actived

Active Subscriptions:

None
Hello. I have a problem with facebook connection when sefadvance is active on my site.

When I logon from www.XXXXXXXXX.com facebook login works good but if I go in my site with url like this
www.XXXXXXXXX.com/coupon/itemlist.html
when I try to logon I see url like below and page is not displayed.
www.XXXXXXXXX.comcomponent/coupon/itemlist

I have configured sefadvance for ignore JFBConnect but problem still.

Thanks a lot for any feedback.
The topic has been locked.
Support Specialist
14 years 11 months ago #11049 by alzander
Please go into the SEF Advance settings, and change turn off "Redirect Legacy URLs". We've heard good results with this change, and would like to know if it works for you as well. If so, we'll probably add to our Common Support Questions guide as this comes up here and there.

Thanks!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #11055 by m.iannozzi
Hello,
my site is yet configured with legacy url turned off. I have same results with this setting off or on.
If you need I can send you as private message the data for access to my backend/ftp.

Thanks a lot.
The topic has been locked.
Support Specialist
14 years 11 months ago #11058 by alzander
Sure, send us a set of credentials by Private Message. Please make sure you send your actual URL as well so we can look at the site.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #11062 by m.iannozzi
I have send you data for access to my site.
Thanks a lot.
The topic has been locked.
Support Specialist
14 years 11 months ago #11098 by alzander
I just got into your site, and made some minor changes. It's working now, and hopefully, my solution will work for you.

It seems like SEF Advance doesn't like the way that JFBConnect tries to return the user to the current page they are on. I updated JFBConnect's settings to always redirect the user to the Coupons page after logging in, and that fixes the issue. Of course, this means that the user does not remain on the same page they were on.

Unfortunately, I can't debug SEF Advance because it's encrypted. If you want to let them know about the issue, you can tell them that the way we're trying to redirect the user is as follows:
Get the address of the current page:
$return = $uri->toString(array('path', 'query'));

Then, perform a redirect using the controller "$controller->redirect($return);". This works for all other SEF components we've tested with, so hopefully they can help determine why it's not working in theirs.

Finally, and unrelated, while testing, I switched the permissions setting to require the email permission to register. Since you're using Facebook User Only, we'd recommend this setting. Without it, JFBConnect will simply make up an email address for the user, and you won't ever be able to contact them.

Hope this helps,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #11100 by m.iannozzi
Hello Alex.
Thanks a lot for your help. User does not remain on the same page after logon but component now works.
I will contact sefadvance support with your information. So, I hope they will correct sef component.
Thanks a lot again.
The topic has been locked.
Support Specialist
14 years 11 months ago #11105 by alzander
Yeah, sorry we couldn't figure out the exact cause of the conflict, but if they need any information from us, just let us know or have them contact us!

Thanks,
Alex
The topic has been locked.