Number of issues per page limitation
Posted: 14 Sep 2020, 15:52
Backend is Postgres. We are on version 2.24.2 of MantisBT.
In View Issues, if 1039 or more is entered in the Show box for the number of issues to display on a page, a 500 Internal Server error is received. In the error log, I see this:
[Tue Aug 25 15:09:02 2020] [error] [client ip.ad.dre.ss] malformed header from script. Bad header=ttpOnly: php73_REMI, referer: https://mysite.com/mantisbt/view_all_bug_page.php
After some investigation, I tracked the problem down to this line in view_all_bug_page.php:
I tried a variation of this:
But still got the 500 Internal Server error. Any clues why this limitation exists and how to get around it?
In View Issues, if 1039 or more is entered in the Show box for the number of issues to display on a page, a 500 Internal Server error is received. In the error log, I see this:
[Tue Aug 25 15:09:02 2020] [error] [client ip.ad.dre.ss] malformed header from script. Bad header=ttpOnly: php73_REMI, referer: https://mysite.com/mantisbt/view_all_bug_page.php
After some investigation, I tracked the problem down to this line in view_all_bug_page.php:
Code: Select all
array_push( $t_bugslist, $t_rows[$i]->id );
Code: Select all
$t_bugslist[] = $t_rows[$i]->id;