Upgrading from Mantis 1.2.19 to 1.3.4

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
kziade
Posts: 2
Joined: 27 Dec 2016, 09:12

Upgrading from Mantis 1.2.19 to 1.3.4

Post by kziade »

Hello.

I face some problems upgrading Mantis from 1.2.19 to 1.3.4.

The server config is :
  • Windows 2008 R2 Server
  • SQL Server 2012
  • IIS
Actually, the 1.2.19 works well.
I'd like to upgrade it, so I created another website (to be sure not to crash the old one), restored a backup of the DB to another name, and decompressed the zip.

I copied the config file config_inc.php into the config folder, modified it so the database is the good one, then launched the admin/install.php

First of all (I had the same problem on first install 1.2.19) the SQL Syntax was not relevant to SQL Server (for example, the syntax

Code: Select all

ALTER TABLE mantis_user_table ALTER COLUMN username VARCHAR(191) DEFAULT '' NOT NULL;
doesn't work ...) but I modified it so it can be usable.

But ... after doing the upgrade, and the SQL script, while login, I have this :

Code: Select all

'Argument 1 passed to columns_remove_invalid() must be of the type array, null given, called in C:\Web\mantisbt-1.3.4\core\custom_function_api.php on line 299 and defined' in 'C:\Web\mantisbt-1.3.4\core\columns_api.php' line 402
I suppose some data from DB, or our configuration, is not supported by the new code version but I can't deploy a fresh install ...

Can you help me please ?

Thanks.

Karim
Post Reply