i&
#039;ve been investigating more of your wonderful plugins recently, but have run into an issue where two of them failed during installation, but are listed in the Mantis app, and are not uninstallable.
specifically, CFNotes and LongCF failed, and here is what i see in the plugin list:
Plugin: Website Installed / Current Version Uninstall a Plugin
CFNotes www [^] 0.0.5 / - Install
LongCF www [^] 0.0.3 / - Install
notice it doesn&
#039;t have an uninstall link. worse still, when i view bugs i get the following error:
APPLICATION ERROR #401
Database query failed
Error received from database was #1146:
Table 'mantis.mantis_plugins_longcf_custom_field_string_table' doesn't exist for the query:
SELECT value
FROM mantis_plugins_longcf_custom_field_string_table
WHERE bug_id='3' AND
field_id='1'
Please use the "Back" button in your web browser to return to the previous page.
There you can correct whatever problems were identified in this error or select another action.
You can also click an option from the menu bar to go directly to a new section.
as the error message suggests, the table was not created when the plugin was installed. in a previous post of mine you had me make sure that my &
#039;mantis&
#039; db user had sufficient privs, and i&
#039;ve given it all rights against the &
#039;mantis&
#039; schema, so that shouldn&
#039;t be an issue. plus i&
#039;ve verified via straight SQL that "create table" is allowed.
any ideas on this? is there a manual way to uninstall these plugins?
btw, here is the error message when trying to install LongCF 0.4.0. i&
#039;m running Mantis 1.1.4 against MySQL 5.0.67..
Database query failed.
Error received from database was #1101:
BLOB/TEXT column 'value' can't have a default value for the query:
CREATE TABLE IF NOT EXISTS mantis_plugins_longcf_custom_field_string_table
( field_id INT(11) NOT NULL DEFAULT 0,
bug_id INT(11) NOT NULL DEFAULT 0,
value TEXT NOT NULL DEFAULT '',
PRIMARY KEY ( field_id, bug_id ),
KEY `idx_custom_field_bug` (`bug_id`)
)