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
Can't login after update to 1.2.14 #3805
Comments
I found the bug: |
This might have to do with Firefox trying real hard to cache files that have changed, namely the JavaScript files, which have changed between releases. So, maybe just that upgrade issue. We've done a number of things to "trick" the various browsers from Caching expired JavaScript and CSS, but they keep making it more difficult. |
It doesn't matter of type browser. Also I tried to clear all cache and reinstall browsers. Working only one way - first login with admin or user with similar rights like admin |
Are you using the LDAP integration? Just curious. |
@TheWitness, only Built-in Authentication |
I use different DNS name for cacti - http://cacti.***.com.by/cacti |
No errors in apache log |
You might have to share your access log's, I'm betting there are some 304's or 302's in there, and where they are redirecting ain't working. Something in the Web Server configuration. Someone reported the same problem the other day, and their $url_path variable in config.php was wrong too. |
@TheWitness thanks |
So, being that this appears to be a Mac, I'm not going to be of much help. It may have something to do with SameSite cookies. Go into the config.php.dist, and pull out the setting from there and disable it. The config.php has changed quite a bit in recent versions, and the SameSite implementation in PHP7 was not very robust. |
and one more thing |
Oh, that's something completely different. Put the following in your document root index.php
|
No restart required. |
This is not really a bug then. Web server configuration. I'll close, you can still comment though. |
in config.php $url_path = '/cacti/'; to $url_path = '/'; solverd the problem |
Is it need to change $url_path in new versions cacti or will be solved? |
You only need to do that if you keep replacing your |
Cacti 1.2.14/Centos7/MariaDB/Apache
Users can't login after update
But I can use their logins and all's ok
In logs cacti and apache nothing criminal
It doesn't depend from browsers and cookies
The text was updated successfully, but these errors were encountered: