Page 1 of 1

Bug report -- upgrading to 1.0.6

Posted: 30 Oct 2006, 17:33
by arenson9
I feel silly not knowing where to post a bug report for software that's used to report bugs, but I hope you'll excuse that I'm in a hurry and don't want to fail to report this _somewhere_.

I've found, while attempting to upgrade from 0.18 to 1.06, that I needed
to edit the select command in upgrade_inc.php:UpgradeSet->is_applied() from:

$query = "SELECT COUNT(*)
FROM $t_upgrade_table
WHERE upgrade_id = '$this->id'";

to:

$query = "SELECT COUNT(*)
FROM $t_upgrade_table
WHERE upgrade_id like '$this->id'";

Re: Bug report -- upgrading to 1.0.6

Posted: 30 Oct 2006, 17:48
by arenson9
Turns out my error was probably caused in part because for some reason my mantis_upgrade_table had the columen upgrade_id as a char(6), which is too small. I'm attempting to fix the problem by altering the table to increase the number of chars allowed.

Posted: 30 Oct 2006, 23:29
by Narcissus
Don't know about your particular problem, but Mantis' live bug tracker is at http://bugs.mantisbugtracker.com/ .