Access denied

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
gurksallad
Posts: 18
Joined: 30 Jan 2020, 07:42

Access denied

Post 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 5741 times
gurksallad
Posts: 18
Joined: 30 Jan 2020, 07:42

Re: Access denied

Post 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 :(
gurksallad
Posts: 18
Joined: 30 Jan 2020, 07:42

Re: Access denied

Post by gurksallad »

After reverting back to PHP 7.4, we still get access denied. Argh.
earthdog
Posts: 5
Joined: 19 Nov 2019, 13:39

Re: Access denied

Post 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.
earthdog
Posts: 5
Joined: 19 Nov 2019, 13:39

Re: Access denied

Post 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.
cas
Posts: 1636
Joined: 11 Mar 2006, 16:08
Contact:

Re: Access denied

Post by cas »

then you need to upgrade your Mantis to latest version
Post Reply