× Joomla Facebook Connect support forum

Topic-icon Problem with redirect and Login Module 2.0.3

Active Subscriptions:

None
14 years 11 months ago #933 by bcagalj
Hi !

I am using the latest login module. I redirect my user to an article after Facebook login. My url looks like this:

/index.php?option=com_community&view=frontpage&Itemid=117&lang=de

The & is a problem because I don't get my Itemid and some modules are not shown properly. It happens only on the Facebook login. Logout and Joomla login works. I am using the 2.0.1 component.

I tried to resolve it by myself .. looked in controller.php ... but I have also some weird issues. No echos and changes to the file are shown. I also changed the redirect url but the old one is still used. Is this some kind of caching issue ? I also deleted the files in cache directory !?

Can you please help me ? Thank you .
The topic has been locked.
Support Specialist
14 years 11 months ago #941 by alzander
I thought i got rid of most of those & 's before, but it's possible one's missed. The only I'm seeing I wouldn't think is affecting you from your description, but possibly I'm mis-reading it.

When you say it's on Facebook login, you're saying when you click the blue "Connect" button and login that way, correct? This isn't the auto-logging in..?

Either way, the one suggestion I have right now, is to look in the components/com_jfbconnect/helpers/facebookhelper.php file and add the ', false' statement on line 152 as below:
$mainframe->redirect(JRoute::_($return), false);

Again, I don't think this is your issue. If you could say whether it's only for new users or FB users logging back in, and the exact method, we'll try to help further.
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #992 by FMO
ok so, as you asked I reply in this thread.

=>> Previous post: <!-- m --><a class="postlink" href="www.cmsmarket.com/forum/index.php?f=38&t=219&rb_v=viewtopic">www.cmsmarket.com/forum/index.ph ... =viewtopic

I modified the facebookhelper.php as you suggested but adding "false" doesn't help. The annoying amp; still in the url.
I didn't have this problem with stable version. I'm going to uninstall all files and the DB table too to start a fresh installation then I will report the result here.
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #995 by FMO
I already tried a fresh installation (uninstalled all comp, plugs and mod then deleted the 2 tables) but still doesn't work :(
The topic has been locked.
Active Subscriptions:

None
I'm having the same problem. Was there any other way to fix this.
My register url is coming up as index.php?option=com_jfbconnect&view=loginregister

I've tried the changes suggested in the forum link below, but still no luck. The amp; problem is very persistent.

[url:p6411vs6]http&#58;//www.cmsmarket.com/forum/index.php?f=38&t=49&start=20&hilit=$mainframe+%26amp;gt;redirect+JRoute&#58;&#58;_+$return+,+false+;&rb_v=viewtopic[/url:p6411vs6]

UPDATE: I ended up fixing this by uninstalling the component 2.1.0test and installing 2.0.1
The topic has been locked.
Support Specialist
14 years 11 months ago #1106 by alzander
This issue will be fixed in the upcoming 2.1 release (imminently due). For those of you who are affected by it now and need it fixed, you can edit your /components/com_jfbconnect/helpers/facebookhelper.php file, ~line 154, add the ', false' as below:
$mainframe->redirect(JRoute::_($return, false));
The topic has been locked.