Submitted by dejongj on Sat, 04/20/2013 - 16:33
Hi,
Just been trying to install Mantis via the install scripts and it doesn't work. I get the following;
Found http://prdownloads.sourceforge.net:80/sourceforge/mantisbt/mantisbt-1.2.... in cache ..
Configuring webserver PHP settings .. .. already done. Applying web server configuration .. .. done
Now installing Mantis version 1.2.15 .. Failed to install script : SQL update mantis_user_table set username = ?, email = ?, password = ? where id = 1 failed : Table 'ict22_co_uk_mantis.mantis_user_table' doesn't exist
I'm trying to install on my virtual server, only parameter that gets changed is the install directory to test/bugs
Status:
Active
Comments
Submitted by JamieCameron on Sat, 04/20/2013 - 20:48 Comment #1
What tables exist in the database
ict22_co_uk_mantis
?Submitted by dejongj on Sun, 04/21/2013 - 01:30 Comment #2
Hi Jamie,
The database exists, but no tables exist at all in the database.
To eliminate the possibility it did this due to multiple attempts I've removed all database and mantis files and started clean. But the script does the same thing, it doesn't generate tables for the database.
PS. I've also got wordpress installed and that script worked fine :)
Submitted by JamieCameron on Sun, 04/21/2013 - 14:18 Comment #3
If you navigate to http://yourdomain.com/test/bugs/admin/install.php and try go to through the Mantis install process manually, does it work OK?
Submitted by dejongj on Sun, 04/21/2013 - 15:20 Comment #4
Yes, the tables get created properly that way and some default information put in.
Whilst I got it going for myself this morning (took a dump from another installation, and created the database manually and uploaded the information) I do appreciate it when the scripts could be corrected such that it works for my clients...
Thanks, JP
Submitted by JamieCameron on Sun, 04/21/2013 - 15:42 Comment #5
Yes, it should work .. and does on our test systems. But to see why it is failing, you'd have to run through the install process manually.