-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
[BUG] The web server seems to be incorrectly configured for cookies required for PHP sessions! #5973
Comments
Hello, As the message tells, there seems to be a problem with your PHP sessions. Try to create the following <pre>
<?php
session_start();
$_SESSION['count'] = ($_SESSION['count'] ?? 0) + 1;
var_dump($_SESSION); It should increment by one each time you refresh the page. If that does not work, there is a wrong session configuration in your PHP setup, independent of FreshRSS. A wrong session can also be due to wrong cookie path. Have you maybe installed more than once at different paths? You might have a wrong |
Hello, I'm using Apache 2.4 and don't have any proxy. Here is the result of the Php code:
After 5 refresh here is the result:
I renamed /data/config.php into config.php.old and then relaunched the site but I have:
And nothing new in log.txt. The base_url parameter in config.php seems correct. I have activated error_log in php.ini but can't see anything in the error log. |
I meant to make sure that the |
A fresh reinstall solved the problem, thank you very much for your help. |
Hello,
Describe the bug
I have the error message "The web server seems to be incorrectly configured for cookies required for PHP sessions!"
Just after finishing installation.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should access FreshRss
Environment information (please complete the following information):
Additional context
I'm not using Docker
Content of /freshrss/data/users/_/
[warning] --- Invalid session during login for user=XXXX, nonce=
Thank you for any help.
The text was updated successfully, but these errors were encountered: