Hallo,
bei einem Versionsupgrade von WoltLab Burning Board 4.1 auf die Suite 3.1 (bzw. zuerst 3.0) kommt es zu folgendem Fehler:
Code
System Information
PHP Version:
7.3.16
WoltLab Suite Core:
3.0.24
Peak Memory Usage:
2.683/256 MiB
Request URI:
/wbb/forum/acp/index.php?install-package/&t=5c96d24966d41cf08a7533cc650ab152e83b7796&s=5a4b22eaf3101882190117cbdf95673a80605162
Referrer:
https://10581-780.s2.webspace.…2190117cbdf95673a80605162
User Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
Final Error
Error Type:
wcf\system\database\exception\DatabaseQueryExecutionException
Error Message:
Could not execute statement 'INSERT INTO wcf1_language_item (languageID, languageItem, languageItemValue, languageCategoryID, packageID) VALUES (?, ?, ?, ?, ?)'
Error Code:
23000
File:
*/lib/system/database/statement/PreparedStatement.class.php (105)
Query Parameter 1:
1
Query Parameter 2:
wcf.acp.cronjob.description.cronjob26
Query Parameter 3:
Löscht abgelaufene Sessions
Query Parameter 4:
9
Query Parameter 5:
1
Stack Trace:
#0 */lib/data/cronjob/CronjobEditor.class.php (123):
wcf\system\database\statement\PreparedStatement->execute([ 0 => , 1 => , 2 => , 3 => , 4 => ])
#1 */lib/data/cronjob/CronjobEditor.class.php (49):
wcf\data\cronjob\CronjobEditor->saveDescriptions([ => , de => ], false)
#2 */../../../../../../../[internal function] (?):
wcf\data\cronjob\CronjobEditor::create([ 14 items ])
#3 */lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php (257):
call_user_func([ 0 => , 1 => ], [ 14 items ])
#4 */lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php (106):
wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->import([ ], [ 14 items ])
#5 */lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php (170):
wcf\system\package\plugin\CronjobPackageInstallationPlugin->import([ ], [ 12 items ])
#6 */lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php (66):
wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->importItems(DOMXPath)
#7 */lib/system/package/plugin/AbstractPackageInstallationPlugin.class.php (70):
wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->install()
#8 */lib/system/package/PackageInstallationDispatcher.class.php (603):
wcf\system\package\plugin\AbstractPackageInstallationPlugin->update()
#9 */lib/system/package/PackageInstallationDispatcher.class.php (141):
wcf\system\package\PackageInstallationDispatcher->executePIP([ attributes => , pip => , value => ])
#10 */lib/acp/action/InstallPackageAction.class.php (72):
wcf\system\package\PackageInstallationDispatcher->install('81f492e4')
#11 */lib/action/AbstractDialogAction.class.php (68):
wcf\acp\action\InstallPackageAction->stepInstall()
#12 */lib/action/AbstractAction.class.php (47):
wcf\action\AbstractDialogAction->execute()
#13 */lib/system/request/Request.class.php (83):
wcf\action\AbstractAction->__run()
#14 */lib/system/request/RequestHandler.class.php (94):
wcf\system\request\Request->execute()
#15 */forum/acp/index.php (10):
wcf\system\request\RequestHandler->handle('wbb', true)
Original Error
Error Type:
PDOException
Error Message:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'wcf.acp.cronjob.description.cronjob26-1' for key 'languageItem'
Error Code:
23000
File:
*/lib/system/database/statement/PreparedStatement.class.php (93)
Stack Trace:
#0 */lib/system/database/statement/PreparedStatement.class.php (93):
PDOStatement->execute([ 0 => , 1 => , 2 => , 3 => , 4 => ])
#1 */lib/data/cronjob/CronjobEditor.class.php (123):
wcf\system\database\statement\PreparedStatement->execute([ 0 => , 1 => , 2 => , 3 => , 4 => ])
#2 */lib/data/cronjob/CronjobEditor.class.php (49):
wcf\data\cronjob\CronjobEditor->saveDescriptions([ => , de => ], false)
#3 */../../../../../../../[internal function] (?):
wcf\data\cronjob\CronjobEditor::create([ 14 items ])
#4 */lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php (257):
call_user_func([ 0 => , 1 => ], [ 14 items ])
#5 */lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php (106):
wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->import([ ], [ 14 items ])
#6 */lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php (170):
wcf\system\package\plugin\CronjobPackageInstallationPlugin->import([ ], [ 12 items ])
#7 */lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php (66):
wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->importItems(DOMXPath)
#8 */lib/system/package/plugin/AbstractPackageInstallationPlugin.class.php (70):
wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->install()
#9 */lib/system/package/PackageInstallationDispatcher.class.php (603):
wcf\system\package\plugin\AbstractPackageInstallationPlugin->update()
#10 */lib/system/package/PackageInstallationDispatcher.class.php (141):
wcf\system\package\PackageInstallationDispatcher->executePIP([ attributes => , pip => , value => ])
#11 */lib/acp/action/InstallPackageAction.class.php (72):
wcf\system\package\PackageInstallationDispatcher->install('81f492e4')
#12 */lib/action/AbstractDialogAction.class.php (68):
wcf\acp\action\InstallPackageAction->stepInstall()
#13 */lib/action/AbstractAction.class.php (47):
wcf\action\AbstractDialogAction->execute()
#14 */lib/system/request/Request.class.php (83):
wcf\action\AbstractAction->__run()
#15 */lib/system/request/RequestHandler.class.php (94):
wcf\system\request\Request->execute()
#16 */forum/acp/index.php (10):
wcf\system\request\RequestHandler->handle('wbb', true)
Alles anzeigen
Laut WoltLab-Support weißt diese Fehlermeldung auf Datenleichen in der Datenbank hin (Cronjob-Tabelle).
Könnte man dies evtl beheben?
Vielen Dank im Voraus.
Liebe Grüße
Jonathan C.