contao / core-bundle

[READ-ONLY] Contao Core Bundle
GNU Lesser General Public License v3.0
122 stars 57 forks source link

Install tool: fatal error after database connection setup #80

Closed ghost closed 9 years ago

ghost commented 9 years ago

Issue by @xchs Tuesday Jun 10, 2014 at 21:04 GMT

The Contao 4.0.0-alpha1 install tool throws a fatal error when it comes to the database connection setup:

Fatal error: Uncaught exception Exception with message Query error: Table 'contao4.tl_user' doesn't exist (SELECT COUNT(*) AS count FROM tl_user WHERE admin=1) thrown in vendor/contao/contao-library/src/Contao/Database/Statement.php on line 283

#0 vendor/contao/contao-library/src/Contao/Database/Statement.php(254): Contao\Database\Statement->query()
#1 vendor/contao/contao-library/src/Contao/Database.php(190): Contao\Database\Statement->execute()
#2 vendor/contao/module-core/src/controllers/BackendInstall.php(577): Contao\Database->execute('SELECT COUNT(*)...')
#3 vendor/contao/module-core/src/controllers/BackendInstall.php(191): Contao\BackendInstall->createAdminUser()
#4 web/contao/install.php(26): Contao\BackendInstall->run()
#5 {main}
ghost commented 9 years ago

Comment by @leofeyer Wednesday Jun 11, 2014 at 14:22 GMT

Fixed in contao/module-core@9294261b09e020600bb955a54f61dd431637cbb6.

ghost commented 9 years ago

Comment by @xchs Wednesday Jun 11, 2014 at 20:24 GMT

Thanks a lot.