Topic-icon JFBconnect leading to a 404 error

Support Specialist
13 years 10 months ago #24740 by alzander
Sougatab,
There's some piece of code on your site that either you've put there or is part of a plugin (not part of JFBConnect) that is redirecting the user to:
social-network-for-social-impact/profile

That code has a bug where it's redirecting without a / in front of the path I mentioned above. I don't know where this code is, but you need to fix it. There is no doubt this is the problem. When we disable the redirects in JFBConnect, the user should return to the page they were on when they clicked the Login with Facebook button. On your site, they are going *always* going to the social-network-for-social-impact/profile URL. If we turn on Automatic Registrations within JFBConnect, that process works normally. However, if we leave the "Normal Registration Flow" on where the user has to fill out information, the path is being appended to the JFBConnect registration URL, which is incorrect (likely because of a missing forward / on whatever is causing the redirect).

Again though, with our redirects disabled, the user shouldn't go to the profile page at all. You need to help me understand what is causing that redirect. JFBConnect's redirects work on thousands of sites, so there's something unique about yours that is skipping our setting and we need know what that is.

Hope that helps clarify. I've tried disabling the obvious plugins, but this could be a change that someone made to Joomla itself, or some other thing that can't be manipulated from the admin area.

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

None
13 years 10 months ago #24752 by sougatab
Ok. We will take a look.

Is it fine if we unistall and reinstall JFBConnect? Would you like to save any of your work before we unistall it?
The topic has been locked.
Support Specialist
13 years 10 months ago #24791 by alzander
Sorry for the delay, I missed the question at the bottom of this post. Yes, you can uninstall and reinstall JFBConnect as needed. We leave the configuration settings in the database so that when you reinstall, you don't have to reconfigure or loose any user mappings. Uninstalling should auto-disable the JFBCSystem, User, and Authentication plugins as well, but you may want to verify those have been disabled (or uninstall them manually).

Let us know how your testing goes. We're curious as to where that redirect is coming from as well!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24800 by sougatab
Ok. Thanks Alex.
We'll test and let you know in 2-3 days.
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24918 by sougatab
Alex,

We have uninstalled, reinstalled and used auto tune. The 404 problem has resoved but we are facing a different issue.
When the new user enters the login credentials and reaches the registration page, this page keeps refreshing automatically.
Please take a look and try to register as a new user.

Also we could not install the alphauserpt plugin. The following error occurred:
JInstaller: :Install: Cannot find Joomla XML setup file
Can you please install this plugin in our site?

Thanks!
The topic has been locked.
Support Specialist
13 years 10 months ago #24927 by alzander
Glad to hear you found the 404 issue.

For the continuous refreshing, can you either disable the "Automatically Log Facebook Users In" feature or make the change in the post below, which should fix the problem. If you make the change in the post, please post there if the issue is resolved so that we have the answer in the same spot:
www.sourcecoast.com/forums/jfbconnect/jf...tion-page?p=1#p24788

For the Alpha User Points plugins, those need to be installed through AUP's plugin installer. We don't install extensions on user's sites.

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

None
13 years 10 months ago #24945 by sougatab
Thanks Alex. We have disabled that option and the automatic refresh has stopped.
We have not made any changes to the code.

We will do some more testing and get back to you if we see any issues.
The topic has been locked.
Support Specialist
13 years 10 months ago #24954 by alzander
Sounds good. If you want the Automatic Login functionality, the change in the code above should work. We're still testing it out for stability, but have heard good results.

Thanks, and good luck!
Alex
The topic has been locked.