Access Denied when updating (status or assignment) a bug. (bug_update.php)
Posted: 30 Dec 2023, 14:03
Hi,
I'm working with mantisbt 2.26.0 on a ubuntu 22.04 hosts.
Since upgrading from 20 to 22 I'm getting this error everytime when updating a bug.
Maybe because of php8.1?
Thats my config_inc.php:
<?php
$g_hostname = 'dbserver';
$g_db_type = 'mysqli';
$g_database_name = 'db-name';
$g_db_username = 'db-user';
$g_db_password = 'pw';
$g_allow_signup = ON; //allows the users to sign up for a new account
# --- Security ---
$g_crypto_master_salt = 'random'; # Random string of at least 16 chars, unique to the installation
# --- Anonymous Access / Signup ---
$g_allow_signup = ON;
$g_allow_anonymous_login = OFF;
$g_anonymous_account = '';
# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.domain.com';
$g_smtp_username = ''; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = ''; # used with PHPMAILER_METHOD_SMTP
$g_webmaster_email = 'noreply-mantisbt@domain.com';
$g_from_email = 'noreply-mantisbt@domain.com'; # the "From: " field in emails
$g_return_path_email = 'noreply-mantisbt@domain.com'; # the return address for bounced mail
$g_from_name = 'Mantis Bug Tracker';
# $g_email_receive_own = OFF;
# $g_email_send_using_cronjob = OFF;
$g_webmaster_email = 'mantis-admin@domain.com'; //this will be your administrator email address
$g_enable_email_notification = ON; //enables the email messages
# --- Attachments / File Uploads ---
# $g_allow_file_upload = ON;
# $g_file_upload_method = DATABASE; # or DISK
# $g_absolute_path_default_upload_folder = ''; # used with DISK, must contain trailing \ or /.
# $g_max_file_size = 5000000; # in bytes
# $g_preview_attachments_inline_max_size = 256 * 1024;
# $g_allowed_files = ''; # extensions comma separated, e.g. 'php,html,java,exe,pl'
# $g_disallowed_files = ''; # extensions comma separated
# --- Branding ---
# $g_window_title = 'MantisBT';
# $g_logo_image = 'images/mantis_logo.png';
# $g_favicon_image = 'images/favicon.ico';
# --- Real names ---
# $g_show_realname = OFF;
# $g_show_user_realname_threshold = NOBODY; # Set to access level (e.g. VIEWER, REPORTER, DEVELOPER, MANAGER, etc)
# --- Others ---
# $g_default_home_page = 'my_view_page.php'; # Set to name of page to go to after login
# --- logging ---
#$g_log_level = LOG_LDAP;
#$g_log_level = LOG_NONE;
$g_log_level = LOG_WEBSERVICE;
$g_log_destination = 'file:/var/log/mantis.log';
$g_show_detailed_errors = ON;
?>
Does anyone know what could be the problem?
Thanks in advance!
I'm working with mantisbt 2.26.0 on a ubuntu 22.04 hosts.
Since upgrading from 20 to 22 I'm getting this error everytime when updating a bug.
Maybe because of php8.1?
Thats my config_inc.php:
<?php
$g_hostname = 'dbserver';
$g_db_type = 'mysqli';
$g_database_name = 'db-name';
$g_db_username = 'db-user';
$g_db_password = 'pw';
$g_allow_signup = ON; //allows the users to sign up for a new account
# --- Security ---
$g_crypto_master_salt = 'random'; # Random string of at least 16 chars, unique to the installation
# --- Anonymous Access / Signup ---
$g_allow_signup = ON;
$g_allow_anonymous_login = OFF;
$g_anonymous_account = '';
# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.domain.com';
$g_smtp_username = ''; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = ''; # used with PHPMAILER_METHOD_SMTP
$g_webmaster_email = 'noreply-mantisbt@domain.com';
$g_from_email = 'noreply-mantisbt@domain.com'; # the "From: " field in emails
$g_return_path_email = 'noreply-mantisbt@domain.com'; # the return address for bounced mail
$g_from_name = 'Mantis Bug Tracker';
# $g_email_receive_own = OFF;
# $g_email_send_using_cronjob = OFF;
$g_webmaster_email = 'mantis-admin@domain.com'; //this will be your administrator email address
$g_enable_email_notification = ON; //enables the email messages
# --- Attachments / File Uploads ---
# $g_allow_file_upload = ON;
# $g_file_upload_method = DATABASE; # or DISK
# $g_absolute_path_default_upload_folder = ''; # used with DISK, must contain trailing \ or /.
# $g_max_file_size = 5000000; # in bytes
# $g_preview_attachments_inline_max_size = 256 * 1024;
# $g_allowed_files = ''; # extensions comma separated, e.g. 'php,html,java,exe,pl'
# $g_disallowed_files = ''; # extensions comma separated
# --- Branding ---
# $g_window_title = 'MantisBT';
# $g_logo_image = 'images/mantis_logo.png';
# $g_favicon_image = 'images/favicon.ico';
# --- Real names ---
# $g_show_realname = OFF;
# $g_show_user_realname_threshold = NOBODY; # Set to access level (e.g. VIEWER, REPORTER, DEVELOPER, MANAGER, etc)
# --- Others ---
# $g_default_home_page = 'my_view_page.php'; # Set to name of page to go to after login
# --- logging ---
#$g_log_level = LOG_LDAP;
#$g_log_level = LOG_NONE;
$g_log_level = LOG_WEBSERVICE;
$g_log_destination = 'file:/var/log/mantis.log';
$g_show_detailed_errors = ON;
?>
Does anyone know what could be the problem?
Thanks in advance!