Hallo,
ich habe das Plugin "Hilfreichste Antwort" gekauft und wollte es nun installieren. Forum ist Stand WCF 3.1 (also noch nicht 5.2).
Bei der Installation, egal ob manuell oder über den Woltlab-Paketserver bekomme ich folgenden Fehler:
Wenn ich das abbreche kann ich es nicht neu installieren da die Spalte "isHelpful" in wbb1_post schon existiert.
Was kann ich zur erfolgreichen Installation machen?
Code
<<<<<<<<975d089d312bcb176fcefb434a309b0e69906ea8<<<<
Mon, 30 Dec 2019 14:04:07 +0000
Message: Could not execute statement 'ALTER TABLE `wbb1_post` ADD COLUMN `isHelpful` tinyint(1) NOT NULL DEFAULT 0'
PHP version: 7.2.7
WoltLab Suite version: 3.1.11
Request URI: /acp/index.php?install-package/&t=39b11956bfd1378010cebe2ca4694a5d8a4b6a6f
Referrer: https://www.mitsu-talk.de/acp/index.php?package-start-install/&action=install
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0
Peak Memory Usage: 40398600/268435456
======
Error Class: wcf\system\database\exception\DatabaseQueryExecutionException
Error Message: Could not execute statement 'ALTER TABLE `wbb1_post` ADD COLUMN `isHelpful` tinyint(1) NOT NULL DEFAULT 0'
Error Code: 42
File: /var/www/clients/client11/web30/web/lib/system/database/statement/PreparedStatement.class.php (105)
Extra Information: YTowOnt9
Stack Trace: [{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/database\/editor\/MySQLDatabaseEditor.class.php","line":115,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/database\/util\/SQLParser.class.php","line":237,"function":"addColumn","class":"wcf\\system\\database\\editor\\MySQLDatabaseEditor","type":"->","args":["wbb1_post","isHelpful",{"type":"[redacted]","notNull":"[redacted]","default":"[redacted]","autoIncrement":"[redacted]","key":"[redacted]","length":"[redacted]"}]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/package\/PackageInstallationSQLParser.class.php","line":289,"function":"executeAddColumnStatement","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":["wbb1_post","isHelpful",{"type":"[redacted]","notNull":"[redacted]","default":"[redacted]","autoIncrement":"[redacted]","key":"[redacted]","length":"[redacted]"}]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/database\/util\/SQLParser.class.php","line":155,"function":"executeAddColumnStatement","class":"wcf\\system\\package\\PackageInstallationSQLParser","type":"->","args":["wbb1_post","isHelpful",{"type":"[redacted]","notNull":"[redacted]","default":"[redacted]","autoIncrement":"[redacted]","key":"[redacted]","length":"[redacted]"}]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/database\/util\/SQLParser.class.php","line":47,"function":"executeStatement","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":["ALTER TABLE","ALTER TABLE wbb1_post\n ADD isHelpful TINYINT(1) NOT NULL DEFAULT 0"]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/package\/plugin\/SQLPackageInstallationPlugin.class.php","line":74,"function":"execute","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/package\/PackageInstallationDispatcher.class.php","line":673,"function":"install","class":"wcf\\system\\package\\plugin\\SQLPackageInstallationPlugin","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/package\/PackageInstallationDispatcher.class.php","line":144,"function":"executePIP","class":"wcf\\system\\package\\PackageInstallationDispatcher","type":"->","args":[{"attributes":"[redacted]","pip":"[redacted]","value":"[redacted]"}]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/acp\/action\/InstallPackageAction.class.php","line":73,"function":"install","class":"wcf\\system\\package\\PackageInstallationDispatcher","type":"->","args":["a10bb290"]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/action\/AbstractDialogAction.class.php","line":68,"function":"stepInstall","class":"wcf\\acp\\action\\InstallPackageAction","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/action\/AbstractAction.class.php","line":47,"function":"execute","class":"wcf\\action\\AbstractDialogAction","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/request\/Request.class.php","line":83,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/request\/RequestHandler.class.php","line":96,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/acp\/index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf",true]}]
======
Error Class: PDOException
Error Message: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'isHelpful'
Error Code: 42
File: /var/www/clients/client11/web30/web/lib/system/database/statement/PreparedStatement.class.php (93)
Extra Information: -
Stack Trace: [{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/database\/statement\/PreparedStatement.class.php","line":93,"function":"execute","class":"PDOStatement","type":"->","args":[[]]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/database\/editor\/MySQLDatabaseEditor.class.php","line":115,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/database\/util\/SQLParser.class.php","line":237,"function":"addColumn","class":"wcf\\system\\database\\editor\\MySQLDatabaseEditor","type":"->","args":["wbb1_post","isHelpful",{"type":"[redacted]","notNull":"[redacted]","default":"[redacted]","autoIncrement":"[redacted]","key":"[redacted]","length":"[redacted]"}]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/package\/PackageInstallationSQLParser.class.php","line":289,"function":"executeAddColumnStatement","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":["wbb1_post","isHelpful",{"type":"[redacted]","notNull":"[redacted]","default":"[redacted]","autoIncrement":"[redacted]","key":"[redacted]","length":"[redacted]"}]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/database\/util\/SQLParser.class.php","line":155,"function":"executeAddColumnStatement","class":"wcf\\system\\package\\PackageInstallationSQLParser","type":"->","args":["wbb1_post","isHelpful",{"type":"[redacted]","notNull":"[redacted]","default":"[redacted]","autoIncrement":"[redacted]","key":"[redacted]","length":"[redacted]"}]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/database\/util\/SQLParser.class.php","line":47,"function":"executeStatement","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":["ALTER TABLE","ALTER TABLE wbb1_post\n ADD isHelpful TINYINT(1) NOT NULL DEFAULT 0"]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/package\/plugin\/SQLPackageInstallationPlugin.class.php","line":74,"function":"execute","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/package\/PackageInstallationDispatcher.class.php","line":673,"function":"install","class":"wcf\\system\\package\\plugin\\SQLPackageInstallationPlugin","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/package\/PackageInstallationDispatcher.class.php","line":144,"function":"executePIP","class":"wcf\\system\\package\\PackageInstallationDispatcher","type":"->","args":[{"attributes":"[redacted]","pip":"[redacted]","value":"[redacted]"}]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/acp\/action\/InstallPackageAction.class.php","line":73,"function":"install","class":"wcf\\system\\package\\PackageInstallationDispatcher","type":"->","args":["a10bb290"]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/action\/AbstractDialogAction.class.php","line":68,"function":"stepInstall","class":"wcf\\acp\\action\\InstallPackageAction","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/action\/AbstractAction.class.php","line":47,"function":"execute","class":"wcf\\action\\AbstractDialogAction","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/request\/Request.class.php","line":83,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/lib\/system\/request\/RequestHandler.class.php","line":96,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/clients\/client11\/web30\/web\/acp\/index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf",true]}]
<<<<
Alles anzeigen