thomasklein / Mantis2mite

Mantis2mite connects your Mantis account with your mite.account. Track your time easily on issues within Mantis and get them automatically send to mite.
http://mite.yo.lk/
MIT License
7 stars 3 forks source link

APPLICATION ERROR #2503 #1

Closed 01-Scripts closed 14 years ago

01-Scripts commented 14 years ago

Bei der Installation des Plugins bekomme ich von Mantis die Fehlermeldung APPLICATION ERROR #2503 Aktualisierung des Plugin-Schemas ist in Block #1 fehlgeschlagen.

Anschließend wird auf allen Seiten folgendes ganz oben angezeigt: APPLICATION WARNING #403: Datenbankfeld „mite_connection_verified“ nicht gefunden.

thomasklein commented 14 years ago

Hey! Kannst du mir sagen welche Mantis-Version und welche Plugin-Version du verwendest und welche du vorher verwendest hast? Wenn es noch möglich ist, würde ich für einen Quickfix eine Neuinstallation des Plugins vorschlagen.

Schönen Gruß, Thomas

01-Scripts commented 14 years ago

Hallo,

ich verwende folgende Mantis-Version: MantisBT-Version 1.2.0 Schema-Version 182 Und vom Plugin ist es die aktuellste Version 1.2 hier aus Github. Ich hab bereits 2x eine Neuinstallation des Plugins versucht. Beidesmal der gleiche Fehler.

Gruß, Michael

thomasklein commented 14 years ago

Hallo Michael! Sorry für die späte Antwort. Ich habe den Fehler leider nicht reproduzieren können. Funktioniert bei dir das Installieren und Deinstallieren von anderen Plugins, die die Datenbank verändern?

Viele Grüße, Thomas

01-Scripts commented 14 years ago

Problem solved: If you're using a mysql-version smaller or equal to 5.0.32 you have to change some mysql-field-definitons in Mantis2mite.php Change lines 56 and 57 from self::DB_FIELD_API_KEY => "C(350) NOTNULL DEFAULT \" '' \"", self::DB_FIELD_ACCOUNT_NAME => "C(350) NOTNULL DEFAULT \" '' \"",

to: self::DB_FIELD_API_KEY => "C(255) NOTNULL DEFAULT \" '' \"", self::DB_FIELD_ACCOUNT_NAME => "C(255) NOTNULL DEFAULT \" '' \"",

And change line 98 from: name C(350) NOTNULL DEFAULT \" '' \",

to: name C(255) NOTNULL DEFAULT \" '' \",

Now everything should work fine.

thomasklein commented 14 years ago

Danke für die Mühen!