Page 1 of 1

Internal application error when user tries to open any issues

Posted: 16 Nov 2022, 10:02
by ntushar
Hi,

We have installed MantisBT 2.25.5 with PHP version 8.1.2. The issue we are facing is that whenever user tries to open an issue from his account, he is not able to view any issue. User is presented with internal application error on browser. In the error log file we get below error


Undefined constant "DB_FIELD_SIZE_FILENAME"\n/var/www/html/mantis/bugnote_add_inc.php: 158: - - - - print_dropzone_form_data()\n/var/www/html/mantis/bug_view_inc.php: 713: - - - - include( <string>'/var/www/html/mantis/bugnote_add_inc.php' )\n/var/www/html/mantis/view.php: 36: - - - - include( <string>'/var/www/html/mantis/bug_view_inc.php' )\n, referer: http://mantis-server/view_all_bug_page.php

Regards,
Tushar

Re: Internal application error when user tries to open any issues

Posted: 16 Nov 2022, 20:45
by atrol
Check file core/constant_inc.php
Does line 627 look like the following one?
https://github.com/mantisbt/mantisbt/bl ... c.php#L627