hi all. i just installed Mantis (remote server) and configured the site and posted a few test issues. everything works great except search filters. they do not work at all, or on any filter category.
i'm basing this off the Mantis website Demo. i see when you set filters in the Demo, then click Apply Filter button, only issues matching those filter settings are listed below. i also see that whichever filters you chose, they preserve their values after clicking Apply Filter.
on my installation, when i set filters and click Apply Filter button, the page executes, but nothing happens on postback. the issues below remain, but are never filtered, no matter what filter i use.
also, when i do this, all the filters i set (in the Search pane) are erased and jump back to their default settings. i've tried 2 different browsers (ie9 and chrome), using an Admin account a Developer account, cleared cookies, rebooted, etc and filters always fail. this makes me suspect its a code issue, but i have no idea where to look. any ideas appreciated...
All Search Filters fail
Moderators: Developer, Contributor
-
LithiumNitrate
- Posts: 2
- Joined: 18 Oct 2012, 18:08
All Search Filters fail
Mantis: 1.2.11
PHP: 5
MySQL: 5
OS: Win7
PHP: 5
MySQL: 5
OS: Win7
-
LithiumNitrate
- Posts: 2
- Joined: 18 Oct 2012, 18:08
Re: All Search Filters fail
[RESOLVED] 
after more testing, i isolated the cause of this failure. it apears that mantis search filters require a current cookie.
in my custom config_inc.php settings file, i had inadvertently set this attribute to zero:
$g_cookie_time_length = 0;
this apparently invalidates the cookie that search filters require. as soon as i changed this from zero to a positive value, search filters started working.
after more testing, i isolated the cause of this failure. it apears that mantis search filters require a current cookie.
in my custom config_inc.php settings file, i had inadvertently set this attribute to zero:
$g_cookie_time_length = 0;
this apparently invalidates the cookie that search filters require. as soon as i changed this from zero to a positive value, search filters started working.
Mantis: 1.2.11
PHP: 5
MySQL: 5
OS: Win7
PHP: 5
MySQL: 5
OS: Win7
-
mtardiff
Re: All Search Filters fail
I am using ANTS which is the Applicant tracking version of MANTIS. I am having the same problem with a new installation of ANTS. All of a sudden my filters don't work anymore. They still work on my development site. I'm wondering if there is something in the newest PHP (5.4.9) that is causing this or if its the cookie issue although my cookie setting is 30000000. Any ideas?