1.53.01 Logout error

Post Reply
Ralf
Posts: 54
Joined: 23 Sep 2018, 18:13

1.53.01 Logout error

Post by Ralf »

Clicking the Logout button leads to an error page of the browser.
Obviously the generated URL is not a valid target.
soplanning
Site Admin
Posts: 405
Joined: 31 Aug 2017, 15:58

Re: 1.53.01 Logout error

Post by soplanning »

Hello
Did you fill a specific logout url in soplanning settings ?
Nothing changed on this part of the tool, we can't reproduce the issue
Ralf
Posts: 54
Joined: 23 Sep 2018, 18:13

Re: 1.53.01 Logout error

Post by Ralf »

Strange, I see that it is working well on your demo server now, but not on my installation (debian 12), where there is a valid return URL in the settings and a correct link behind the logout button, but a jump to a wrong URL in the browser. :?

Can you give me a list of required php modules? Probably I miss something. For example, I already learned earlier, that php-gd is required and I discovered that php-mbstring is necessary since 1.53.
Ralf
Posts: 54
Joined: 23 Sep 2018, 18:13

Re: 1.53.01 Logout error

Post by Ralf »

Whatever URL you enter in "Your SOPlanning url" in the settings, it is saved, but has no effect.

You can shutdown and reconnect and it is still there on the settings, but it is not written to the database.
There is a line in the database table planning_config with cle = LOGOUT_REDIRECT, valeur = (whatever it is*) and commentaire = Optional redirect url after logout (for exemple to return on your own intranet)....
*) not linked to what you enter in the settings

So it works only, if the value in the database is already the URL that you want. :cry:

Actually, I have set the URL to an (existing) URL of my choice in your demo and at logut it does not redirect to that, but back to your demo.

I have hacked the database of my own server and set the desired URL in LOGOUT_REDIRECT and it works according to that URL at logout, regardless what (other) URL I save in the settings menu. :!:
soplanning
Site Admin
Posts: 405
Joined: 31 Aug 2017, 15:58

Re: 1.53.01 Logout error

Post by soplanning »

I think you are using the wrong field.
The field you used is for the planning url (used for email link, etc).
Please go to settings in the "Miscellaneous" tab, and use field "Redirection url when logout".
Ralf
Posts: 54
Joined: 23 Sep 2018, 18:13

Re: 1.53.01 Logout error

Post by Ralf »

You are right.
Stupid me...
Thank you for your time.
This subject is solved.
Post Reply