Page 1 of 1

Access denied

Posted: 02 Nov 2022, 10:02
by gurksallad
We have used Mantis 2.22.1 for several years, but all of a sudden - starting today - I get a lot of "Access denied" when altering some tickets (like editing values in custom fields, changing priority, etc).

For this particular ticket, if I got to "Edit" and change Status to "Feedback" (from Assigned) the error pops up everytime. Changing another ticket it gives me the error sometimes, but not always. My user is Administrator status.

How can I dig deeper (logs etc) to see what's causing this issue? We haven't touched the installation (no new plugins etc) for over a year.




**EDIT** I just recalled that our web hosting upgraded to PHP 8 today. Could this be the issue?

2022-11-02_110014.png
2022-11-02_110014.png (20.65 KiB) Viewed 5561 times

Re: Access denied

Posted: 02 Nov 2022, 10:16
by gurksallad
I added this:
$g_display_errors = DISPLAY_ERROR_HALT;
$g_show_detailed_errors = ON;
$g_log_destination = 'page';
$g_log_level = LOG_ALL;
But I get no info whatsoever about what's happening :(

Re: Access denied

Posted: 02 Nov 2022, 16:44
by gurksallad
After reverting back to PHP 7.4, we still get access denied. Argh.

Re: Access denied

Posted: 24 Nov 2022, 13:24
by earthdog
I am getting this one also heavily in many edit options. I cant seem to find any relevant info or steps to mitigate the issue.

Re: Access denied

Posted: 24 Nov 2022, 13:48
by earthdog
I had php 8.1 enabled.

Reverting to PHP 7.4 solved the issue fo rme but i would like to use latest PHP.

Re: Access denied

Posted: 25 Nov 2022, 13:00
by cas
then you need to upgrade your Mantis to latest version