Hello,
I've just updated from version 2.21.0 to 2.26.2.
On the /admin/install.php page, nothing to report, everything was OK, I launched the update, no error message, everything green.
I can log in, view projects, view tickets in "View bugs" but I can't edit a ticket. I can also create a new ticket.
- For an existing ticket before the 2.26.2 update, when I try to open the ticket (https://...../view.php?id=XXXX):
INTERNAL APPLICATION ERROR
Please use the "Back" button on your web browser to return to the previous page. There you can correct the problems identified by this error or choose another action. You can also choose an option from the menu bar to go directly to a new section.
- For a ticket created in 2.26.2, I get the error :
APPLICATION ERROR #1601
Version " " not found.
Please use the "Back" button on your web browser to return to the previous page. There you can correct the problems identified by this error or choose another action. You can also choose an option from the menu bar to go directly to a new section.
I don't know what to look at, I don't know if I can get logs somewhere, ... anyone have any ideas?
Thanks
upgrade from version 2.21.0 to 2.26.2
Moderators: Developer, Contributor
Re: upgrade from version 2.21.0 to 2.26.2
Did you run .../admin/check/index.php and fixed all errors and warnings you might have seen?
Which PHP version, operating system version, web server version do you use?
Do you see any errors or warnings in your webserver and/or PHP logs?
Which PHP version, operating system version, web server version do you use?
Do you see any errors or warnings in your webserver and/or PHP logs?
Re: upgrade from version 2.21.0 to 2.26.2
Thanks for your answer,
With the URL /admin/check/index.php
MantisBT version: 2.26.2
PHP version: 7.4.33
Database schema version: 211
ADOdb version: 5.22.7
Debian 11, php fpm 7.4
8 warnings :
- Database | MySQL Lifecycle and Release Support data availability - Release information for MySQL 10.3 series is not available, unable to perform the lifecycle checks.
- Paths | core_path configuration option is set to a path outside the web root
- Paths | class_path configuration option is set to a path outside the web root
- Paths | library_path configuration option is set to a path outside the web root
- Paths | config_path configuration option is set to a path outside the web root
- Paths | language_path configuration option is set to a path outside the web root
- Paths | Directory doc does not need to exist within the MantisBT root
- Display | Browser Search engine names must be 16 chars or less - Either shorten the "search_title" configuration option to a maximum of 4 characters, or alter the "opensearch_XXX_short" language strings as appropriate to meet the OpenSearch 1.1 specification for the ShortName element.
1 error :
max_file_size MantisBT option is less than or equal to the upload_max_filesize directive in php.ini
max_file_size is currently 5,242,880 bytes which is greater than the limit of 2,097,152 bytes imposed by the php.ini directive upload_max_filesize.
I've increase in php.ini
upload_max_filesize = 20M
post_max_size = 40M
No more errors on page admin/check/index.php
I'm able to edit/save tickets, so everything seems OK
Do warnings matter? I don't see any constants in the main configuration file. (i've just added "$g_path")
With the URL /admin/check/index.php
MantisBT version: 2.26.2
PHP version: 7.4.33
Database schema version: 211
ADOdb version: 5.22.7
Debian 11, php fpm 7.4
8 warnings :
- Database | MySQL Lifecycle and Release Support data availability - Release information for MySQL 10.3 series is not available, unable to perform the lifecycle checks.
- Paths | core_path configuration option is set to a path outside the web root
- Paths | class_path configuration option is set to a path outside the web root
- Paths | library_path configuration option is set to a path outside the web root
- Paths | config_path configuration option is set to a path outside the web root
- Paths | language_path configuration option is set to a path outside the web root
- Paths | Directory doc does not need to exist within the MantisBT root
- Display | Browser Search engine names must be 16 chars or less - Either shorten the "search_title" configuration option to a maximum of 4 characters, or alter the "opensearch_XXX_short" language strings as appropriate to meet the OpenSearch 1.1 specification for the ShortName element.
1 error :
max_file_size MantisBT option is less than or equal to the upload_max_filesize directive in php.ini
max_file_size is currently 5,242,880 bytes which is greater than the limit of 2,097,152 bytes imposed by the php.ini directive upload_max_filesize.
I've increase in php.ini
upload_max_filesize = 20M
post_max_size = 40M
No more errors on page admin/check/index.php
I'm able to edit/save tickets, so everything seems OK
Do warnings matter? I don't see any constants in the main configuration file. (i've just added "$g_path")