Topic-icon Logout not working with PHP 7, works fine with PHP 5.6

Active Subscriptions:

None
We upgraded to Joomla 3.6 and PHP 7. Logout on the front-end doesn't work - it appears to do nothing. Chaning to PHP 5.6, and it works fine.
The topic has been locked.
Support Specialist
7 years 8 months ago #59115 by mel
1. Were you logged in via social credentials or via Joomla credentials?
2. Have you tried using the standard Joomla users module (mod_login) to see if the behavior is different?
3. Are there any errors on the console?
4. Are there any PHP errors / warnings on the page?
5. Do you have caching enabled?
6. If possible please provide a specific URL where we can see the behavior in action.

-Melissa
The topic has been locked.
Active Subscriptions:

None
7 years 8 months ago #59116 by jjbong
1. I was logged in with Joomla credentials
2. I used the Community Builder login module, and it worked fine
3. There are no errors on the Java console
4. I have PHP error reporting enabled, and I get no errors in the log
5. I have cleared both the Joomla server cache and the browser cache, and the problem remains
6. Tell me how to send you credentials privately
The topic has been locked.
Support Specialist
You can send us credentials to test with by clicking the mail icon under our names to the left. We'll gladly help test and investigate further if you provide front-end credentials and a URL to test with.

As for other questions:
* Can you please try the mod_login (Joomla login module)? It uses the same mechanism that SCLogin does, so knowing if it works, or not, will narrow things down. CB is completely different.

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

None
7 years 8 months ago #59131 by jjbong
The Joomla mod_login fails completely under PHP 7.0 (doesn't even login, while SCLogin logs in but does not logout). mod_login works fine with PHP 5.6.

So it looks like the problem is not in SCLogin.
The topic has been locked.
Support Specialist
Yeah, definitely sounds like a Joomla issue. Unfortunately, that's not something we'd be able to fix in the SCLogin module then. If you get the Joomla mod_login module to work, but not SCLogin, then we can definitely help investigate further.

As to the Joomla issue, please make sure you are on the latest version of Joomla, currently v3.6.2. There have been some PHP 7.x compatibility updates in the latest few releases. However, the 3.6.2 release can be a bit difficult to upgrade too depending on the version you are on. We even created an overview of the changes in 3.6.1 and 3.6.2 as well as a step-by-step upgrade procedure for upgrading to Joomle 3.6.2 .

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 8 months ago #59139 by jjbong
Thanks for the pointer. I installed 3.6.2, and we still have the problem. Clearly not yours. Thanks for the hellp on this.
The topic has been locked.