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

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
java
Posts: 3
Joined: 19 Nov 2011, 04:56

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

Post 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.
pwf
Posts: 10
Joined: 26 Nov 2012, 02:38

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

Post 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?
ymaingon
Posts: 1
Joined: 19 Feb 2020, 07:25

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

Post 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.
pwf
Posts: 10
Joined: 26 Nov 2012, 02:38

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

Post 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
geeldoon
Posts: 1
Joined: 13 Oct 2020, 05:45

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

Post 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?
digiinteracts
Posts: 1
Joined: 30 Aug 2021, 06:58

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

Post by digiinteracts »

I am able to fix this problem by commenting $g_cookie_path = '/'; in my config_defaults_inc.php

I hope it helps
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

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

Post by cas »

Do not change config_defaults_inc.php but change config/config_inc.php
Post Reply