Guten Morgen,
ich wurde von einem Kollegen gebeten einmal über die Installation zu schauen. Er meinte er hatte schon mal versucht es zu installieren, ich werde aber aus dem Error leider nicht so ganz schlau.
Code
Original Error
Error Type:
PDOException
Error Message:
SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'userString'
Error Code:
42
File:
*/lib/system/database/statement/PreparedStatement.class.php (93)
Stack Trace:
#0 */lib/system/database/statement/PreparedStatement.class.php (93):
PDOStatement->execute([ ])
#1 */lib/system/database/editor/MySQLDatabaseEditor.class.php (115):
wcf\system\database\statement\PreparedStatement->execute()
#2 */lib/system/database/util/SQLParser.class.php (237):
wcf\system\database\editor\MySQLDatabaseEditor->addColumn('wcf1_user', 'userString', [ 6 items ])
#3 */lib/system/package/PackageInstallationSQLParser.class.php (289):
wcf\system\database\util\SQLParser->executeAddColumnStatement('wcf1_user', 'userString', [ 6 items ])
#4 */lib/system/database/util/SQLParser.class.php (155):
wcf\system\package\PackageInstallationSQLParser->executeAddColumnStatement('wcf1_user', 'userString', [ 6 items ])
#5 */lib/system/database/util/SQLParser.class.php (47):
wcf\system\database\util\SQLParser->executeStatement('ALTER TABLE', 'ALTER TABLE wcf1_user ADD userString VARCHAR(255) NOT NULL DEFAULT \'\'')
#6 */lib/system/package/plugin/SQLPackageInstallationPlugin.class.php (74):
wcf\system\database\util\SQLParser->execute()
#7 */lib/system/package/PackageInstallationDispatcher.class.php (673):
wcf\system\package\plugin\SQLPackageInstallationPlugin->install()
#8 */lib/system/package/PackageInstallationDispatcher.class.php (144):
wcf\system\package\PackageInstallationDispatcher->executePIP([ attributes => , pip => , value => ])
#9 */lib/acp/action/InstallPackageAction.class.php (73):
wcf\system\package\PackageInstallationDispatcher->install('b2a91243')
#10 */lib/action/AbstractDialogAction.class.php (68):
wcf\acp\action\InstallPackageAction->stepInstall()
#11 */lib/action/AbstractAction.class.php (47):
wcf\action\AbstractDialogAction->execute()
#12 */lib/system/request/Request.class.php (83):
wcf\action\AbstractAction->__run()
#13 */lib/system/request/RequestHandler.class.php (96):
wcf\system\request\Request->execute()
#14 */acp/index.php (9):
wcf\system\request\RequestHandler->handle('wcf', true)
Final Error
Error Type:
wcf\system\database\exception\DatabaseQueryExecutionException
Error Message:
Could not execute statement 'ALTER TABLE `wcf1_user` ADD COLUMN `userString` varchar(255) NOT NULL DEFAULT '''
Error Code:
42
File:
*/lib/system/database/statement/PreparedStatement.class.php (105)
Stack Trace:
#0 */lib/system/database/editor/MySQLDatabaseEditor.class.php (115):
wcf\system\database\statement\PreparedStatement->execute()
#1 */lib/system/database/util/SQLParser.class.php (237):
wcf\system\database\editor\MySQLDatabaseEditor->addColumn('wcf1_user', 'userString', [ 6 items ])
#2 */lib/system/package/PackageInstallationSQLParser.class.php (289):
wcf\system\database\util\SQLParser->executeAddColumnStatement('wcf1_user', 'userString', [ 6 items ])
#3 */lib/system/database/util/SQLParser.class.php (155):
wcf\system\package\PackageInstallationSQLParser->executeAddColumnStatement('wcf1_user', 'userString', [ 6 items ])
#4 */lib/system/database/util/SQLParser.class.php (47):
wcf\system\database\util\SQLParser->executeStatement('ALTER TABLE', 'ALTER TABLE wcf1_user ADD userString VARCHAR(255) NOT NULL DEFAULT \'\'')
#5 */lib/system/package/plugin/SQLPackageInstallationPlugin.class.php (74):
wcf\system\database\util\SQLParser->execute()
#6 */lib/system/package/PackageInstallationDispatcher.class.php (673):
wcf\system\package\plugin\SQLPackageInstallationPlugin->install()
#7 */lib/system/package/PackageInstallationDispatcher.class.php (144):
wcf\system\package\PackageInstallationDispatcher->executePIP([ attributes => , pip => , value => ])
#8 */lib/acp/action/InstallPackageAction.class.php (73):
wcf\system\package\PackageInstallationDispatcher->install('b2a91243')
#9 */lib/action/AbstractDialogAction.class.php (68):
wcf\acp\action\InstallPackageAction->stepInstall()
#10 */lib/action/AbstractAction.class.php (47):
wcf\action\AbstractDialogAction->execute()
#11 */lib/system/request/Request.class.php (83):
wcf\action\AbstractAction->__run()
#12 */lib/system/request/RequestHandler.class.php (96):
wcf\system\request\Request->execute()
#13 */acp/index.php (9):
wcf\system\request\RequestHandler->handle('wcf', true)
Alles anzeigen
Könnte mir eventuell da jemand weiterhelfen und sagen was ich machen muss?
LG