Clean install of Mantis 1.2.15, W2008R2, SQL 2008 R2 Express
Posted: 17 Oct 2013, 09:49
Hi
I am trying to perform a new/clean installation of Mantis 1.2.15 on a WIndows 2008 R2 SP1 server, PHP 5.4.20 (x86) and SQL Express 2008 R2.
I have PHP working, including the SQLSRV extensions for PHP 5.4.
I have extracted the Mantis 1.2.15 files into the \inetpub\wwwroot folder and the Mantis install.php script can connect to the database and start the installaton process, creating tables etc.
However, at a point in the script, it fails with the following error at the following step:
Schema DropColumnSQL ( mantis_tokens_table )
BAD
ALTER TABLE mantis_tokens_table DROP CONSTRAINT
ALTER TABLE mantis_tokens_table DROP COLUMN timestamp
SQLState: 42000 Error Code: 102 Message: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect Syntax near 'CONSTRAINT'.
I have found some forum posts relating to the problem where people have posted a variety of 'patch' files for some of the .php files in the /adodb/library directory but these appear to be quite old and I am not sure which (if any) I might need, or how to apply them in a Windows environment. There are also some adodb references to different versions and patches, but again, I am unsure if this is something I need to apply or how.
Can anyone provide some information on performing a clean installation for a Windows/SQL Server 2008 R2 environment, or the steps I need to take to complete the installation sucessfully?
Any help would be much appreciated.
Regards
David
I am trying to perform a new/clean installation of Mantis 1.2.15 on a WIndows 2008 R2 SP1 server, PHP 5.4.20 (x86) and SQL Express 2008 R2.
I have PHP working, including the SQLSRV extensions for PHP 5.4.
I have extracted the Mantis 1.2.15 files into the \inetpub\wwwroot folder and the Mantis install.php script can connect to the database and start the installaton process, creating tables etc.
However, at a point in the script, it fails with the following error at the following step:
Schema DropColumnSQL ( mantis_tokens_table )
BAD
ALTER TABLE mantis_tokens_table DROP CONSTRAINT
ALTER TABLE mantis_tokens_table DROP COLUMN timestamp
SQLState: 42000 Error Code: 102 Message: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect Syntax near 'CONSTRAINT'.
I have found some forum posts relating to the problem where people have posted a variety of 'patch' files for some of the .php files in the /adodb/library directory but these appear to be quite old and I am not sure which (if any) I might need, or how to apply them in a Windows environment. There are also some adodb references to different versions and patches, but again, I am unsure if this is something I need to apply or how.
Can anyone provide some information on performing a clean installation for a Windows/SQL Server 2008 R2 environment, or the steps I need to take to complete the installation sucessfully?
Any help would be much appreciated.
Regards
David