Issue with update from 2.25.5 to higher

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
michalnoga
Posts: 1
Joined: 20 Aug 2024, 07:46

Issue with update from 2.25.5 to higher

Post by michalnoga »

Current running system:
MantisBT Version 2.25.5
Schema Version 211
PHP Version 8.1.29
Database Driver mysqli
Database Version, Description 10.6.18, 10.6.18-MariaDB-0ubuntu0.22.04.1

I cant upgrade to 2.25.6 (or higher), because i have error with add new bug to all projects except one:
APPLICATION ERROR "#21" Invalid date format.
This is my config_inc.php:

Code: Select all

<?php
$g_hostname               = '127.0.0.1';
$g_db_type                = 'mysqli';
$g_database_name          = 'name_database';
$g_db_username            = 'name-user';
$g_db_password            = 'stron_password';

$g_default_timezone       = 'Europe/Bratislava';

$g_crypto_master_salt     = 'a salt';

# --- Email Configuration ---
$g_phpMailer_method             = PHPMAILER_METHOD_SMTP; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host                    = 'smtp.mailer.sk';                  # used with PHPMAILER_METHOD_SMTP
$g_smtp_username                = '';                                   # used with PHPMAILER_METHOD_SMTP
$g_smtp_password                = '';                                   # used with PHPMAILER_METHOD_SMTP
$g_webmaster_email      = 'it-admins@domain.example';
$g_from_email           = 'support@domain.example';        # the "From: " field in emails
$g_return_path_email    = 'support@domain.example';  # the return address for bounced mail
$g_from_name                  = 'Support portal';
$g_email_receive_own  = OFF;
# $g_email_send_using_cronjob = OFF;
#
#Disable registration new users
$g_allow_signup = OFF;
$g_status_enum_string = '10:new,20:feedback,50:assigned,60:withoutissue,70:partially solved,80:resolved,90:closed';
$g_wordwrap_myview = 100;
$g_wordwrap_viewall = 30;
$g_priority_enum_string = '30:normal,40:high,60:immediate';
$g_due_date_default = '+30days';
$g_default_bug_description = '.';

$g_bug_report_page_fields = array(
        'attachments',
        'category_id',
        'due_date',
        'handler',
        'priority',
        'product_build',
        'product_version',
        'tags',
        'target_version',
);

$g_set_view_status_threshold = ADMINISTRATOR;
$g_bugnote_link_tag = 'POZ';
$g_preview_attachments_inline_max_size = 5000 * 5000;
$g_max_file_size = 10000000 ; # 10 MB
Of course I did database upgrade via http://mantisurl.example/admin/install.php that ends without error.

This error still persist when I change php version from 8.1 to 8.3

What I'm doing wrong?
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Issue with update from 2.25.5 to higher

Post by cas »

so what is the difference between one project that works and all the others that producce the error? Did you add possibly a custom field to most projects except one?
Post Reply