Topic-icon Unexpected login re-direct

Active Subscriptions:

None
10 years 7 months ago #35906 by nigrob
Just testing after major upgrade to jomsocial, JCBC, payplans and JSPT (which I'd like to remove but that will be another thread).
The SClogin module works as expected using jomsocial username and password. It re-directs to www.justsocieties.net/the-wall-profile/profile
However, when logging in with Facebook or Google it re-directs to www.justsocieties.net/profile which is an empty page. Manually, changing URL to homepage and I see I'm logged in successfully

This may be a jomsocial issue but from your side do you have any ideas.
p.s. testing upgrades on development sites is almost impossible because of all the third party APIs, upgrade tools and license keys that don't respect sub-domains.
The topic has been locked.
Support Specialist
10 years 7 months ago #35911 by alzander
Replied by alzander on topic Unexpected login re-direct
What do you have set for the New User and Returning User redirections in JFBConnect? That may be where the issue lies as there is a separate redirection setting for the social network logins versus the one from the SCLogin module which is for when user's login with their Joomla/JomSocial user credentials.

Let me know and we'll gladly help investigate further.

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

None
10 years 7 months ago - 10 years 7 months ago #35915 by nigrob
Replied by nigrob on topic Unexpected login re-direct
Found the issue - my jomsocial template was not supported by jomsocial 3.0 Changed the tempalte and solved the problem.


Again change the URl and find I'm logged in but not re-directed successfully
The statistics in JFBConnect show that I'm a successful google+ login so I'm confident the google API is correct.
Last edit: 10 years 7 months ago by nigrob.
The topic has been locked.
Support Specialist
10 years 7 months ago #35939 by alzander
Replied by alzander on topic Unexpected login re-direct
If you're seeing a completely blank, white, page, please go to your Joomla Global Configuration area and set Error Reporting to 'maximum'. Then, recreate the white page. Hopefully, there will be a PHP message on that page that will help us diagnose what went wrong.

Let me know what you find, and glad you fixed the redirect issue and are diving into Google integration :)

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

None
10 years 7 months ago #35978 by nigrob
Replied by nigrob on topic Unexpected login re-direct
The error reporting is massive - most xipt the JSPT component
here it is
<<DELETED>>
The topic has been locked.
Support Specialist
10 years 7 months ago #35998 by alzander
Replied by alzander on topic Unexpected login re-direct
Nigel,
That's the error log itself, and it doesn't seem to be showing anything of value. Strict Standards messages are pretty useless. We're looking for a Warning or Fatal error message which could explain what's happening. My guess is that the PHP logging on your server is set to only record the Strict messages and not the important stuff we need.

Did you try setting Error Reporting to Maximum to see if a message was displayed on page? That would be the most helpful we can get.

Thanks,
Alex

P.S. I deleted the log above as it's long and not necessary.
The topic has been locked.
Support Specialist
10 years 7 months ago #35999 by alzander
Replied by alzander on topic Unexpected login re-direct
One thing I noticed from the log you posted was that the last line was:
Strict Standards: Non-static method XiptLibProfiletypes::get
Either the log was truncated or the post was. If there was more in the log, especially a Warning or Fatal error line, please post that as that's what we need to see.

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

None
10 years 7 months ago #36041 by nigrob
Replied by nigrob on topic Unexpected login re-direct
Trying again the URL that opens after click google login is www.justsocieties.net/index.php?option=c....................etc.
It contains no fatal error messages - the server is 1and1 managed and they allow no independent server management configuration.
After returning to home page the strict standards message inside the SCLogin module is :
Strict Standards: Only variables should be assigned by reference in .............................................../htdocs/...................5.4/just_societies_aug2013_upgrade/modules/mod_sclogin/helper.php on line 213
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #36043 by nigrob
Replied by nigrob on topic Unexpected login re-direct
I've disabled the google + login for the moment.
before doing this I did enable Use OpenID if No Google+ Profile Exists:
Then trying login in it directed to google just societies app to request permissions. I granted permissions and then onto the blank page.
The topic has been locked.
Support Specialist
10 years 7 months ago #36067 by alzander
Replied by alzander on topic Unexpected login re-direct
Nigel,
We just released v5.1.1 of JFBConnect. We added some additional error handling to the Google login process. None of the changes will fix the issue you're having, but it may display a more descriptive error message about the problem, which should help us narrow down what's going on.

Please install and then go to Configuration -> Misc and set Error Reporting to Yes. Try to login with Google and let us know if that has any different results.

Thanks,
Alex
The topic has been locked.