Page 1 of 1

Number of issues per page limitation

Posted: Sep 14, 2020 10:52 am
by ShadowKatmandu
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:

Code: Select all

array_push( $t_bugslist, $t_rows[$i]->id );
I tried a variation of this:

Code: Select all

$t_bugslist[] = $t_rows[$i]->id;
But still got the 500 Internal Server error. Any clues why this limitation exists and how to get around it?