frische Installation von Contao 3.5.40 - Login in Backend SQL ERROR
Hallo zusammen,
ich bin hier am verzweifeln und hoffe auf eure Hilfe. Ich habe bei meinem Hoster (webgo) eine frische Installation von Contao 3.5.40 aufgesetzt. Installationsvorgang ging ohne Probleme. Verbindung zur Datenbank wurde ebenfalls hergestellt. Wenn ich mich allerdings ins Backend einloggen möchte, kommt sofort folgende Meldung:
Code:
Fatal error: Uncaught exception Exception with message Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups=NULL, inherit='', modules=NULL, themes=NULL, pagemounts='a:0:{}', alpty=N' at line 1 (UPDATE tl_user SET id='1', tstamp='1558639421', username='xxxxx', name='Markus Wichmann', email='xxxx@xxxx.de', language='de', backendTheme='flexible', uploader='', showHelp='1', thumbnails='1', useRTE='1', useCE='1', password='$2y$10$08QN71ZQNkb2cFHwN0TfgOd2SA2oVWchEwripwU95OH3v0jJIq8.a', pwChange='', admin='1', groups=NULL, inherit='', modules=NULL, themes=NULL, pagemounts='a:0:{}', alpty=NULL, filemounts='a:0:{}', fop=NULL, forms=NULL, formp=NULL, disable='', start='', stop='', session='a:5:{s:7:\"referer\";a:9:{s:8:\"73e9b866\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:51:\"contao/main.php?do=repository_catalog&view=composer\";}s:8:\"3509c544\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:51:\"contao/main.php?do=repository_catalog&view=composer\";}s:8:\"bf151903\";a:2:{s:4:\"last\";s:51:\"contao/main.php?do=repository_catalog&view=composer\";s:7:\"current\";s:106:\"contao/main.php?do=repository_catalog&view=composer&mmo=1&rt=7951cfc8bb85098fd11ea0bb6b9efc89&ref=3509c544\";}s:8:\"1e176331\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:51:\"contao/main.php?do=repository_catalog&view=composer\";}s:8:\"03647f54\";a:2:{s:4:\"last\";s:51:\"contao/main.php?do=repository_catalog&view=composer\";s:7:\"current\";s:106:\"contao/main.php?do=repository_catalog&view=composer&bic=1&rt=7951cfc8bb85098fd11ea0bb6b9efc89&ref=1e176331\";}s:8:\"4741947f\";a:2:{s:4:\"last\";s:0:\"\";s:7:\"current\";s:51:\"contao/main.php?do=repository_catalog&view=composer\";}s:8:\"3604e59f\";a:3:{s:8:\"tl_theme\";s:38:\"contao/main.php?do=themes&ref=4741947f\";s:4:\"last\";s:51:\"contao/main.php?do=repository_catalog&view=composer\";s:7:\"current\";s:38:\"contao/main.php?do=themes&ref=4741947f\";}s:8:\"48128b37\";a:2:{s:7:\"tl_page\";s:36:\"contao/main.php?do=page&ref=af218e94\";s:7:\"current\";s:36:\"contao/main.php?do=page&ref=af218e94\";}s:8:\"627b3fe5\";a:4:{s:10:\"tl_article\";s:39:\"contao/main.php?do=article&ref=48128b37\";s:7:\"tl_page\";s:36:\"contao/main.php?do=page&ref=af218e94\";s:7:\"current\";s:39:\"contao/main.php?do=article&ref=48128b37\";s:4:\"last\";s:36:\"contao/main.php?do=page&ref=af218e94\";}}s:22:\"style_sheet_update_all\";N;s:7:\"CURRENT\";a:1:{s:3:\"IDS\";a:0:{}}s:9:\"CLIPBOARD\";a:1:{s:8:\"tl_theme\";a:0:{}}s:11:\"new_records\";a:1:{s:8:\"tl_theme\";a:1:{i:0;i:1;}}}', dateAdded='1558639421', lastLogin='0', currentLogin=1558679230, loginCount=3, locked='0', calendars=NULL, calendarp=NULL, calendarfeeds=NULL, calendarfeedp=NULL, faqs=NULL, faqp=NULL, news=NULL, newp=NULL, newsfeeds=NULL, newsfeedp=NULL, newsletters=NULL, newsletterp=NULL WHERE id='1') thrown in system/modules/core/library/Contao/Database/Statement.php on line 295
#0 system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
#1 system/modules/core/library/Contao/User.php(539): Contao\Database\Statement->execute('1')
#2 system/modules/core/classes/BackendUser.php(387): Contao\User->save()
#3 system/modules/core/library/Contao/User.php(424): Contao\BackendUser->save()
#4 system/modules/core/controllers/BackendIndex.php(37): Contao\User->login()
#5 contao/index.php(19): Contao\BackendIndex->__construct()
#6 {main}
Ich habe anschließend versucht Contao als 1-Click-Installer, welches vom Hoster bereitgestellt wird, zu installieren. Hier genau das Gleiche. Installationsvorgang ohne Probleme. Allerdings auch hier beim Loginversuch ins Backend kommt dieser SQL Fehler.
Ich weiß mir leider keinen Rat mehr.
Ich nutzte PHP 7.2 auf dem Server und die Datenbank verbindet sich mit MySQLi. Die Datenbankkollasion ist auf utf8_general_ci eingestellt, wie es beim installieren von Contao auch notwendig ist.