Login-Problems, Phorum 5.2.13, PHP 7.1.8

Posted by zpsc 
Login-Problems, Phorum 5.2.13, PHP 7.1.8
October 19, 2017 03:56AM
Hi,

we have an old Phorum installation (Version 5.2.13). Since we updated from php 5.2.x to Version 7.1.8 we've got sincere problems with the login/authentification process.

The fact, that the issue is not really reproducible makes debugging more difficult as it does not behave as expected. Sometimes it occurs, sometimes not. The only thing we could find out till yet, is that it is probably something with the session-handling. A apache-server restart wipes out the problem.

Short term solution:
Restarting the apache-Server each night.

The issue:
User fill the login form and send it. Then they're redirected to the forum-post-list-page. There they're still logged in. If the navigate to any other page, they're "logged out". The forum is not able to retrieve the login information from the session. If we provide the user_id via the GET-parameter in the URL, the user is recognized correctly.

What could be producing the error?
Re: Login-Problems, Phorum 5.2.13, PHP 7.1.8
October 19, 2017 08:24AM
Are you changing between http and https at any point?

Module: Automatic HTTP Path [www.phorum.org]
Re: Login-Problems, Phorum 5.2.13, PHP 7.1.8
October 20, 2017 05:31AM
Hi Scott,
thanks for you quick response. No, we use phorum only with the http-protocol.

Any other ideas?
Re: Login-Problems, Phorum 5.2.13, PHP 7.1.8
October 20, 2017 07:20AM
I tend to stay far away from the "latest releases" of anything for production.
PHP 7.1.10 is a bug fix, perhaps this will help.
There may be an issue in Apache, since the problem goes away with a restart.
Re: Login-Problems, Phorum 5.2.13, PHP 7.1.8
October 20, 2017 02:10PM
btw. phorum doesn't use the php internal session handling


Thomas Seifert
Re: Login-Problems, Phorum 5.2.13, PHP 7.1.8
June 25, 2026 09:04AM
Dear all,

Can you help on GitHub?

I have created a new ticket to have a new team, to have PHP support improvements, etc.:
- [github.com]

There are two PRs:
- [github.com]
- [github.com]

captcha in GitHub tickets:
- [github.com]

Thanks in advance.
Sorry, only registered users may post in this forum.

Click here to login