Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another warning #377

Open
ragnar76 opened this issue Jun 28, 2018 · 2 comments
Open

Another warning #377

ragnar76 opened this issue Jun 28, 2018 · 2 comments
Labels
Milestone

Comments

@ragnar76
Copy link

ragnar76 commented Jun 28, 2018

I got this today

at login:
Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /var/www/vhosts-026/admin/inc/auth.php on line 59

after login:
Warning: session_set_cookie_params(): Cannot change session cookie parameters when session is active in /var/www/002-chaosadmins.de/admin/inc/auth.php on line 66

@remrem remrem added this to the 3.7.7 milestone Jul 2, 2018
@remrem remrem added the Bug label Jul 2, 2018
@remrem
Copy link
Contributor

remrem commented Jul 2, 2018

Hello,
Can you try this ?
https://gist.github.com/remrem/a7406aa082c47226466a743d013ea929
I just move
ini_set('session.cookie_httponly', true);
and
session_set_cookie_params(365 * 24 * 60 * 60);
before the session start

@ragnar76
Copy link
Author

ragnar76 commented Jul 5, 2018

hi. it works :) 👍

extragornax added a commit to extragornax/blogotext that referenced this issue Mar 21, 2019
    inc/boot.php

    admin/inc/auth.php

    inc/them.php
    inc/html.php
remrem pushed a commit that referenced this issue May 27, 2019
* Fix #378 #375 #377 #363

    inc/boot.php

    admin/inc/auth.php

    inc/them.php
    inc/html.php

* Travis patch

* Travis patch 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants