Stile lassen sich aktuell nicht importieren und werden als ungültiges Stilpaket abgelehnt. Ich habe das behoben in dem ich in der XML die Zeile:
<hasDarkMode><![CDATA[1]]></hasDarkMode>
ergänz habe.
Stilpakete lassen sich nicht installieren und brechen mit:
Original Error
Error Message:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'hasDarkMode' at row 1
Error Type:
PDOException (HY000)
*/lib/system/database/statement/PreparedStatement.class.php:125
Stack Trace
#0 PDOStatement->execute([ 10 items ])
*/lib/system/database/statement/PreparedStatement.class.php:125
#1 wcf\system\database\statement\PreparedStatement->execute([ 10 items ])
*/lib/system/database/statement/DebugPreparedStatement.class.php:36
#2 wcf\system\database\statement\DebugPreparedStatement->execute([ 10 items ])
*/lib/data/TFastCreate.class.php:43
#3 wcf\data\DatabaseObjectEditor::dboEditorCreateBase([ 10 items ])
*/lib/data/DatabaseObjectEditor.class.php:27
#4 wcf\data\DatabaseObjectEditor::create([ 10 items ])
*/lib/data/style/StyleEditor.class.php:1297
#5 wcf\data\style\StyleEditor::create([ 10 items ])
*/lib/data/style/StyleEditor.class.php:621
#6 wcf\data\style\StyleEditor::import('*/tmp/style_da6fa6ce313cdfcd36dbf7b8bec49f89d3be4133.tgz', 4, null, false)
*/lib/system/package/plugin/StylePackageInstallationPlugin.class.php:38
#7 wcf\system\package\plugin\StylePackageInstallationPlugin->install()
*/lib/system/package/PackageInstallationDispatcher.class.php:798
#8 wcf\system\package\PackageInstallationDispatcher->executePIP([ attributes => , pip => , value => ])
*/lib/system/package/PackageInstallationDispatcher.class.php:146
#9 wcf\system\package\PackageInstallationDispatcher->install('2cfdfd9b')
*/lib/acp/action/InstallPackageAction.class.php:125
#10 wcf\acp\action\InstallPackageAction->stepInstall()
*/lib/acp/action/InstallPackageAction.class.php:75
#11 wcf\acp\action\InstallPackageAction->execute()
*/lib/action/AbstractAction.class.php:56
#12 wcf\action\AbstractAction->__run()
*/lib/system/request/Request.class.php:57
Middleware
#48 wcf\http\Pipeline->process(Laminas\Diactoros\ServerRequest, wcf\http\RequestHandlerMiddleware)
*/lib/system/request/RequestHandler.class.php:134
#49 wcf\system\request\RequestHandler->handle('wcf', true)
*/acp/index.php:10
Final Error
Error Message:
Could not execute statement 'INSERT INTO wcf1_style (styleName,styleVersion,styleDate,copyright,license,authorName,authorURL,packageName,hasDarkMode,packageID) VALUES (?,?,?,?,?,?,?,?,?,?)'
Error Type:
wcf\system\database\exception\DatabaseQueryExecutionException (HY000)
*/lib/system/database/statement/PreparedStatement.class.php:143
Query Parameter 1:
'Base Blue'
Query Parameter 2:
'5.6.1'
Query Parameter 3:
'2022-11-06'
Query Parameter 4:
'https://www.cls-design.com'
Query Parameter 5:
'https://www.cls-design.com/index.php/Licence/'
Query Parameter 6:
'https://www.cls-design.com'
Query Parameter 7:
'https://www.cls-design.com'
Query Parameter 8:
'com.cls-design.wcf.style.base.blue'
Query Parameter 9:
false
Query Parameter 10:
4
Stack Trace
#0 wcf\system\database\statement\PreparedStatement->execute([ 10 items ])
*/lib/system/database/statement/DebugPreparedStatement.class.php:36
#1 wcf\system\database\statement\DebugPreparedStatement->execute([ 10 items ])
*/lib/data/TFastCreate.class.php:43
#2 wcf\data\DatabaseObjectEditor::dboEditorCreateBase([ 10 items ])
*/lib/data/DatabaseObjectEditor.class.php:27
#3 wcf\data\DatabaseObjectEditor::create([ 10 items ])
*/lib/data/style/StyleEditor.class.php:1297
#4 wcf\data\style\StyleEditor::create([ 10 items ])
*/lib/data/style/StyleEditor.class.php:621
#5 wcf\data\style\StyleEditor::import('*/tmp/style_da6fa6ce313cdfcd36dbf7b8bec49f89d3be4133.tgz', 4, null, false)
*/lib/system/package/plugin/StylePackageInstallationPlugin.class.php:38
#6 wcf\system\package\plugin\StylePackageInstallationPlugin->install()
*/lib/system/package/PackageInstallationDispatcher.class.php:798
#7 wcf\system\package\PackageInstallationDispatcher->executePIP([ attributes => , pip => , value => ])
*/lib/system/package/PackageInstallationDispatcher.class.php:146
#8 wcf\system\package\PackageInstallationDispatcher->install('2cfdfd9b')
*/lib/acp/action/InstallPackageAction.class.php:125
#9 wcf\acp\action\InstallPackageAction->stepInstall()
*/lib/acp/action/InstallPackageAction.class.php:75
#10 wcf\acp\action\InstallPackageAction->execute()
*/lib/action/AbstractAction.class.php:56
#11 wcf\action\AbstractAction->__run()
*/lib/system/request/Request.class.php:57
Middleware
#47 wcf\http\Pipeline->process(Laminas\Diactoros\ServerRequest, wcf\http\RequestHandlerMiddleware)
*/lib/system/request/RequestHandler.class.php:134
#48 wcf\system\request\RequestHandler->handle('wcf', true)
*/acp/index.php:10
Codemirror im Templateeditor muss noch an den Dark-Mode angepasst werden:
Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben ihn zu sehen.