Page 1 of 1

"Your browser either does not know how to handle cookies, or refuses to handle them." error for new MantisBT 2.15.0

Posted: 14 Jun 2018, 01:55
by java
installed MantisBT 2.15.0 using Bitnami stack.
I get "Your browser either does not know how to handle cookies, or refuses to handle them." message in the browser (Chrome on Linux) when I try to login as "user". user name and password are correct, I even checked login_count value via " select * from mantis_user_table;" from Mantis mysql table.

the problem is with default mantis cookie configuration.

I tried playing around with cookie settings by adding this to mantis-2.15.0/apps/mantis/htdocs/config/config_inc.php file :
$g_cookie_path = './';
$g_cookie_domain = 'my-domain.com';

- did not help. I know this file is being used because the page won't load if I intentionally put broken code in it.

Re: "Your browser either does not know how to handle cookies, or refuses to handle them." error for new MantisBT 2.15.0

Posted: 17 Oct 2019, 17:37
by pwf
Mantis 2.22.0 -- This is now happening for me with Chrome 77.0.3865.90 on MacOS 10.11.6. Has anyone figured it out?

Re: "Your browser either does not know how to handle cookies, or refuses to handle them." error for new MantisBT 2.15.0

Posted: 19 Feb 2020, 07:28
by ymaingon
Got the same issue.
Works when I use the IP address but not if I'm on the domain.
I updated $g_cookie_domain but it didn't fix it.
It works on firefox, not on chrome.
I've got SSL set.

Re: "Your browser either does not know how to handle cookies, or refuses to handle them." error for new MantisBT 2.15.0

Posted: 02 Mar 2020, 20:49
by pwf
My customers and I are getting this error with all three browsers (Chrome, Firefox, Safari).
I accidentally found a workaround. Bypass the login screen by going directly to
https://[domain and path]/my_view_page.php

MantisBT Version 2.23.0
Schema Version 210
PHP Version 7.0.33

Re: "Your browser either does not know how to handle cookies, or refuses to handle them." error for new MantisBT 2.15.0

Posted: 13 Oct 2020, 05:53
by geeldoon
I installed Mantis and started using it. Later, suddenly it gave me this error: Your browser either does not know how to handle cookies, or refuses to handle them.

I tried to find out $g_cookie_path after searching in forums. But this line is not included in my config_inc.php
Has any body solved this or know this issue?

Re: "Your browser either does not know how to handle cookies, or refuses to handle them." error for new MantisBT 2.15.0

Posted: 30 Aug 2021, 07:01
by digiinteracts
I am able to fix this problem by commenting $g_cookie_path = '/'; in my config_defaults_inc.php

I hope it helps

Re: "Your browser either does not know how to handle cookies, or refuses to handle them." error for new MantisBT 2.15.0

Posted: 30 Aug 2021, 16:30
by cas
Do not change config_defaults_inc.php but change config/config_inc.php