Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mantis bug reporting timeout

Tags:

timeout

mantis

When I report a bug in our Mantis system I sometimes take too long to enter all the info (>5 min) and Mantis reports a timeout when I finally hit the "Submit report" button. Hitting BACK doesn't always work, either I lose everything I have typed or resubmitting still doesn't work (same error).

Question: why is this "feature" there and is there a way to either disable it or make it (a lot) longer timeout?

We're using Mantis 1.2.3

like image 266
Dan Baronet Avatar asked Jul 18 '26 16:07

Dan Baronet


1 Answers

Assuming that by 'Mantis reports a timeout' you mean APPLICATION ERROR #2800: Invalid form security token. This could be caused by a session timeout, or accidentally submitting the form twice., then most likely the issue is caused by a PHP session timeout.

Please refer to the corresponding troubleshooting section in the MantisBT Administrator's guide.

As a workaround, the Administrator can increase the value of session.gc_maxlifetime, or set $g_form_security_validation = OFF; in config_inc.php (not recommended for security reasons).

like image 93
dregad Avatar answered Jul 22 '26 15:07

dregad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!