I have an issue to upgrade MantisBT. In fact, I have Mantis v1.1.8 and I want to upgrade to Mantis 1.2.2. I follow the instructions of the Install file :
UPGRADING
* Backup your existing installation and database -- really!
* Extract the tarball into a clean directory; do not extract into an existing
installation, as some files have been moved or deleted between releases
* Copy your configuration from the old installation to the new directory,
including config_inc.php, custom_strings_inc.php, and
custom_constants_inc.php if they exist.
I have a directory named "mantis", it's my current config. I created a new directory named "mantis-1.2.2" and I dezip Mantis 1.2.2 here. But no, i don't rename the original directory.
So I must to rename the directory "mantis" and I put the files of Mantis 1.2.2 in this renamed directory ? So, I replace and delete the current config ?
1. rename mantis to mantis_old
2. create an empty directory mantis
3. extract the contents of the new mantis 1.2.2 to the empty mantis directory
4. copy your old configuration (at least the file config_inc.php) from mantis_old to mantis
5. point your browser to mantis/admin/install.php
Please use Search before posting and read the Manual
Thank you for your help.
I do all what you say me. It's ok until I update Mantis. I click on "update Mantis" and i have a lot of errors messages in red about requests like that :
SYSTEM WARNING: htmlentities() expects parameter 1 to be string, array given
SYSTEM WARNING: Invalid argument supplied for foreach()
And, I have this message :
Your database has not been created yet. Please create the database, then install the tables and data using the information above before proceeding.
I click on "Continue" and I have this error :
APPLICATION ERROR #401
Échec de la requête de base de données. L'erreur renvoyée par la base de données était #1146 : Table 'bugtracker.mantis_category_table' doesn't exist pour la requête : SELECT c.*, p.name AS project_name FROM mantis_category_table AS c
LEFT JOIN mantis_project_table AS p
ON c.project_id=p.id
WHERE project_id=0
ORDER BY c.name .
It's about the database but my databade is created and I don't touch it...