Hi, I just installed the Sylius distribution on my local machine and I get a HTTP Response Code 500 when I try to open app.php. The php_error.log says:
[04-Apr-2018 20:51:04 Europe/Berlin] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sylius.sylius_channel' doesn't exist in /Users/..../site/sylius/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105. #0 /Users/..../site/sylius/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(105): PDOStatement->execute(NULL) #1 /Users/..../site/sylius/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(907): Doctrine\DBAL\Driver\PDOStatement->execute() #2 /Users/..../site/sylius/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(733): Doctrine\DBAL\Connection->executeQuery('SELECT t0.code ...', Array, Array) #3 /Users/..../site/sylius/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(196): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(Array, NULL, NULL, Array, NULL, 1, NULL) #4 /Users/..../site/sylius in /Users/..../site/sylius/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 57
Accessing the shop via app_dev.php works mostly fine, but there are some 404 because I don’t have a _wdt folder, is that related?
Now that I’m looking at the mySQL databases, it appears there’s an empty sylius db and a fully populated sylius_dev db. So something went wrong during installation, or did I miss a crucial step to set up the prod environment?
Do you think I have the wrong database driver? I chose the default option. My dev machine is a Macbook, I run MySQL with MAMP.