Internal application error when user tries to open any issues

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ntushar
Posts: 20
Joined: 07 Apr 2022, 06:49

Internal application error when user tries to open any issues

Post 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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post 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
Please use Search before posting and read the Manual
Post Reply