Topic-icon Automatic Redirect for Any Registered User with NO CLICK

Active Subscriptions:

None
10 years 6 months ago - 10 years 6 months ago #55797 by abbring
Hi,

First great component, I only have the one issue.

Any time a user that is registered in the Joomla system visits the website for the first time in a 24 hour period, they are automatically redirected to the webpage selected in the configuration "Returning User Redirection."

This is creating issues for emails I am sending out as well as the users clicking on the confirm email link in their inbox (the confirm link I'm sending confirms them in acymailer, not joomla and some users take a day or two before they click it).

This feature should only redirect a user who clicks on the sign up or login button. It shouldn't just redirect users visiting other pages on the Joomla site when they visit any webpage.

For example, I have a "sign up for beta" page and I am inviting users who already signed up for early access to now sign up for beta. These users are being redirected the second the beta page loads to the page that is selected in the the configuration "Returning User Redirection." Here is a screenshot of what I am talking about: screencast.com/t/C4FTkJfu

When I select "same page" in the configuration it sends the person to /index.php which is not the same page in a lot of cases or if they click on it on a custom .html page with the "same page" setting, it sends them to a 404 error when a registered user clicks on the social button.

I need to have this feature only redirect the user to /invite after they click on a social button, not redirect them when they just visit any webpage on the website.

Additionally, even when I select /invite in the the configuration "Returning User Redirection" it redirects them to /invite# (adds the hashtag) which doesn't actually log them in until they have to click the social button again for the second time which is not user friendly!

Please help, thank you!

domain: tidyrank dot com / beta-testers-wanted
Joomla version: latest 3.0.
JFB Version: 6.4.2
Last edit: 10 years 6 months ago by abbring.
The topic has been locked.
Support Specialist
The "Returning User Redirection" and "New User Redirection" pages should *only* be redirected to after the user has authenticated with a social network. There's no other mode where, on page load or otherwise, the user should just be randomly redirected to either of those pages.

Can you open the browser debug tools and go to the Network pane while you're testing. From there, you should be able to see page 'a' (where the user initially lands) and then follow the redirect chain through to 'c' (apparently, the "New User Redirection" page).

Please let me know any 'b' pages in the middle that the user is redirected to on your site. Unless one of those is for option=com_jfbconnect, I don't think there's any way that JFBConnect is causing that redirect chain. If option=com_jfbconnect is in the redirects somewhere, let us know what the specific path is. If it's an authentication URL for JFBConnect, we'll need to understand why the user is trying to be authenticated incorrectly (unless they meant to authenticate).

I've never heard of this issue before, but we'll gladly do what we can to figure it out.

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

None
Hi, thanks for your response.

It is indeed being caused by JFB because if I change the redirection page I'm always redirected to whatever page is set in the configuration.

Also, I have nothing else that would be causing a redirection for someone that is signed into a social account. And the only social account I am using is Google+

This happened to me today while I was visiting the site and it also happened to another user who then reported it to me.

And, unfortunately, I'll have to wait 24 hours to recreate the issue because now it isn't redirecting me. You can sign up on the home page and then visit /beta-testers-wanted and see if you are redirected on page load.

Thank you
The topic has been locked.
Support Specialist
I just tried to register with Google. After the permissions prompt, I was brought to /index.php#

My account wasn't created and I wasn't logged in (or at least I don't think I was).

If I try to register/login with Google+ again, I'm redirected to:
index.php?option=com_jfbconnect&task=authenticate.callback&provider=google&state=xyz&code=xyz#
On that page, it shows a blank white page with the following error:

Error displaying the error page: Application Instantiation Error: Error initialising the session.

Looking through the code in Joomla, that error happens when there's an issue writing to the #__session table in Joomla. I'm not sure what would be causing that and that's in the core portion of Joomla.

Have you tested the suggestions I gave above? This is definitely a bizarre issue. The first thing we'll need to nail down is registration through Google. Since that's not working for me at all, and the strange # sign is being added to the ends of our URLs, something is happening that I'm unfamiliar with.

Thanks,
Alex
The topic has been locked.