Hallo,
ich habe eine Erweiterung (Isotope eCommerce plus PDF-Artikel) installiert (vorher ging alles) und wollte dann die DB aktualisieren, was nicht ging.
Habe dann intelligenterweise versucht, im Debug-Modus die DB zu aktualisieren und seit dem geht gar nichts mehr.
Auch nach der Deaktivierung des Debug bekomme ich beim Verusch die DB zu aktualisieren nur eine für mich unbegreifliche Seite. Auch die eigentliche Website gibt nur noch eine Fehlermeldung (das BE ist erreichbar).
Ich bin kein Programmierer sondern eher ein ,,Inhaltsmacher", dachte mit einem CMS kann man Erweiterungen installieren und anwenden ohne Informatik studiert zu haben. Aber seit Contao4 ist das möglicherweise keine gute Idee mehr...
Hier der ursprüngliche Fehler:
[2020-02-20 08:40:03] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing 'ALTER TABLE tl_module ADD iso_list_where VARCHAR(255) DEFAULT '' NOT NULL': SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs" at /var/www/vhosts/waldkost.de/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 106 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'ALTER TABLE tl_module ADD iso_list_where VARCHAR(255) DEFAULT '' NOT NULL':\n\nSQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs at /var/www/vhosts/waldkost.de/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:106, Doctrine\\DBAL\\Driver\\PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs at /var/www/vhosts/waldkost.de/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:80, PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs at /var/www/vhosts/waldkost.de/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:75)"} []
Das kommt jetzt bei der DB-Aktualisierung:
PDOException
PDOException
DriverException
HTTP 500 Internal Server Error
An exception occurred while executing 'ALTER TABLE tl_module ADD iso_list_where VARCHAR(255) DEFAULT '' NOT NULL':
SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
Exceptions 3 Logs 1 Stack Traces 3
Doctrine\DBAL\Exception\ DriverException
in vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php (line 106)
in vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php->convertException (line 166)
in vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php::wrapException (line 146)
in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php::driverExceptionDuringQuery (line 1017)
in vendor/contao/installation-bundle/src/Database/Installer.php->query (line 67)
in vendor/contao/installation-bundle/src/Controller/InstallationController.php->execCommand (line 439)
in vendor/contao/installation-bundle/src/Controller/InstallationController.php->adjustDatabaseTables (line 100)
in vendor/symfony/http-kernel/HttpKernel.php->installAction (line 151)
in vendor/symfony/http-kernel/HttpKernel.php->handleRaw (line 68)
in vendor/symfony/http-kernel/Kernel.php->handle (line 198)
Kernel->handle(object(Request)) in web/index.php (line 31)
$loader = require __DIR__.'/../vendor/autoload.php';
$request = Request::createFromGlobals();
$kernel = ContaoKernel::fromRequest(\dirname(__DIR__), $request);
$response = $kernel->handle($request);
$response->send();
if ($kernel instanceof TerminableInterface) {
$kernel->terminate($request, $response);
}
Doctrine\DBAL\Driver\ PDOException
SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
PDOException
SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
***
Für mich könnte das hier auch auf Korenaisch verfasst sein (Chinsesich ist dagegen leicht verständlich).
Ich kann die Erweiterungen auch nicht mehr löschen (wird abgebrochen). Es ist einfach zum Verzweifeln.
Wie bekomme ich die Website wieder zum laufen?
Viele Grüße
Severin
Lesezeichen