Update database error mantisbt 1.0.6 to 2.24

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
williamTD
Posts: 6
Joined: 08 Jul 2020, 15:32

Update database error mantisbt 1.0.6 to 2.24

Post by williamTD »

Hi Guys,
I am having a problem installing the mantis 1.0.6 database at 2.24.1
The first mantis system was placed a long time ago, the server recently burned and it was possible to restore bugtraquer.sql but not the phpmysql settings
I managed to run mysql dump to restore, but after installing mantis 2.24.1 it gave an error and generated a sql script to be executed, this is what is attached.
Then I was able to access it normally with all accounts, however it has 2 errors, it did not load the summary record, it has an error when accessing "issues" and I cannot register a new one, as it does not load a list of "category"

attached pictures


Have a solution?
Attachments
script_sql_mantis.txt
(19.42 KiB) Downloaded 325 times
mtsbt_1.jpg
mtsbt_1.jpg (177.96 KiB) Viewed 4607 times
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Update database error mantisbt 1.0.6 to 2.24

Post by cas »

First re-install 1.06 in full, then upgrade in smaller steps :mrgreen:
williamTD
Posts: 6
Joined: 08 Jul 2020, 15:32

Re: Update database error mantisbt 1.0.6 to 2.24

Post by williamTD »

cas wrote: 19 Jul 2020, 10:52 First re-install 1.06 in full, then upgrade in smaller steps :mrgreen:
Ok,The version 1.0.6 this working! Thanks

But show me this:
Warning: ob_start(): function 'compress_handler' not found or invalid function name in C:\xampp\htdocs\mantis\core.php on line 18
Notice: ob_start(): failed to create buffer in C:\xampp\htdocs\mantis\core.php on line 18
and how i make the update step by step?
Is install all versions one by one, and don't alter DB ??
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Update database error mantisbt 1.0.6 to 2.24

Post by cas »

Now do the upgrade to 1.10, next to 1.20, then 2.x
williamTD
Posts: 6
Joined: 08 Jul 2020, 15:32

Re: Update database error mantisbt 1.0.6 to 2.24

Post by williamTD »

This error do you know how to fix it?
Warning: ob_start(): function 'compress_handler' not found or invalid function name in C:\xampp\htdocs\mantis\core.php on line 18
Notice: ob_start(): failed to create buffer in C:\xampp\htdocs\mantis\core.php on line 18
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Update database error mantisbt 1.0.6 to 2.24

Post by cas »

Which version of php are you running?
williamTD
Posts: 6
Joined: 08 Jul 2020, 15:32

Re: Update database error mantisbt 1.0.6 to 2.24

Post by williamTD »

5.2.0
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Update database error mantisbt 1.0.6 to 2.24

Post by cas »

It is a php error, check internet for this.
williamTD
Posts: 6
Joined: 08 Jul 2020, 15:32

Re: Update database error mantisbt 1.0.6 to 2.24

Post by williamTD »

Ok, Thanks a lot
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Update database error mantisbt 1.0.6 to 2.24

Post by atrol »

williamTD wrote: 27 Jul 2020, 18:595.2.0
As a side note: If you want to run latest Mantis 2.x, you have to use at least PHP 5.5 or 7.x (recommended)
Please use Search before posting and read the Manual
williamTD
Posts: 6
Joined: 08 Jul 2020, 15:32

Re: Update database error mantisbt 1.0.6 to 2.24

Post by williamTD »

atrol wrote: 27 Jul 2020, 20:08
williamTD wrote: 27 Jul 2020, 18:595.2.0
As a side note: If you want to run latest Mantis 2.x, you have to use at least PHP 5.5 or 7.x (recommended)
Thank you for the tips!
Post Reply