Page 1 of 1

CMSimple_XH 1.7.4 – Requirements Check gives a warning

Posted: Thu Mar 04, 2021 5:37 pm
by roze
I have a CMSimple_XH website on my Synology NAS for personal use.

I want to make the update from CMSimple_XH 1.7.3 to CMSimple_XH 1.7.4


I make a CMSimple_XH 1.7.4 – Requirements Check
Hmm, there appear to be minor issues!
CMSimple_XH 1.7.4 may not run smoothly on this server with the current PHP configuration!
The warning is:
Checking that session.use_only_cookies is off – warn
What do I have to do?

Re: CMSimple_XH 1.7.4 – Requirements Check gives a warning

Posted: Fri Mar 05, 2021 6:47 am
by olape
I don't want to get too far ahead of myself. @cmb --> But is it possible that there is an error in the check here?

Code: Select all

$checks['session.use_only_cookies is off'] = ini_get('session.use_only_cookies') ? 'okay' : 'warn';
The statement is, check that session.use_only_cookies is off. But it checks if session.use_only_cookies is okay, so 1.

I think the check is correct, only the statement is wrong. It should be, in my opinion session.use_only_cookies is on.

--> In the PHP ini session.use_only_cookies should be set to 1

Re: CMSimple_XH 1.7.4 – Requirements Check gives a warning

Posted: Fri Mar 05, 2021 10:11 pm
by cmb
olape wrote:
Fri Mar 05, 2021 6:47 am
I think the check is correct, only the statement is wrong. It should be, in my opinion session.use_only_cookies is on.
Indeed, thanks! Fixed that right away.

@roze: if you're using that on a NAT, I suppose the CMSimple_XH installation is not available outside your LAN (i.e. no foreign visitors can visit). In that case, you can just ignore that warning. Or do as Olaf suggested:
olape wrote:
Fri Mar 05, 2021 6:47 am
--> In the PHP ini session.use_only_cookies should be set to 1
After changing that, you need to restart your Webserver.

Re: CMSimple_XH 1.7.4 – Requirements Check gives a warning

Posted: Mon Mar 08, 2021 11:43 am
by roze
All Thanks.

I'll make a back-up and then perform the update.

I use this website on m NAS only @home.

Re: CMSimple_XH 1.7.4 – Requirements Check gives a warning

Posted: Mon Mar 08, 2021 12:55 pm
by roze
the update works fine on the Synology NAS.