I am facing a failed install while I follow the instructions at http://sylius.org/get-started :
php app/console sylius:install
Installing Sylius...
Step 1 of 4. Checking system requirements.
+-------------------------------+-----------------------------------------------
----------------------+
| Issue | Recommendation
|
+-------------------------------+-----------------------------------------------
----------------------+
| short_open_tag |
|
| session.auto_start |
|
| sylius.extensions.accelerator | Install and enable a PHP accelerator like APC
(highly recommended). |
+-------------------------------+-----------------------------------------------
----------------------+
Success! Your system can run Sylius properly.
Step 2 of 4. Setting up the database.
Creating Sylius database for environment dev.
The command terminated with an error code: 1.
[Exception]
The command terminated with an error code: 1.
.................................................................................
Few things does not work as is :
config_dev.yml uses
#dbname: %sylius.database.name%_dev
dbname: %sylius.database.name%
so it would work with what I typed in CLI inputs
then I got error like [Symfony\Component\Debug\Exception\ContextErrorException] Warning: ini_set(): A session is active. You cannot change the session modu le's ini settings at this time So I had to change config.yml
session: ~
session:
storage_id: session.storage.php_bridge
handler_id: ~
And finally I am getting an error code 1 and no tables installed, this is a pitty, I am trying to test this promising eshop framework ! I tried multiples times with or with -s dev, no way...
Here are some log events I get :
[2015-07-21 17:51:59] translation.WARNING: Translation not found. {"id":"sylius.settings","domain":"requirements","locale":"en_US"} []
[2015-07-21 17:51:59] translation.DEBUG: Translation use fallback catalogue. {"id":"sylius.settings.on","domain":"requirements","locale":"en_US"} []
[2015-07-21 17:51:59] translation.DEBUG: Translation use fallback catalogue. {"id":"sylius.settings.off","domain":"requirements","locale":"en_US"} []
....... and the last ones before terminal terminated :
[2015-07-21 17:51:59] php.DEBUG: "Symfony\Component\Console\Helper\TableHelper" is deprecated since version 2.5 and will be removed in 3.0. Use "Symfony\Component\Console\Helper\Table" instead. {"type":16384,"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Helper\HelperSet.php","line":86,"level":4352} []
[2015-07-21 17:51:59] event.DEBUG: Notified event "console.terminate" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate". [] []
[2015-07-21 17:51:59] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". [] []
[2015-07-21 17:52:00] doctrine.DEBUG: SHOW DATABASES [] []
[2015-07-21 17:52:00] php.DEBUG: "Symfony\Component\Console\Helper\ProgressHelper" is deprecated since version 2.5 and will be removed in 3.0. Use "Symfony\Component\Console\Helper\ProgressBar" instead. {"type":16384,"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Helper\HelperSet.php","line":84,"level":4352} []
[2015-07-21 17:52:00] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". [] []
[2015-07-21 17:52:00] event.DEBUG: Notified event "console.terminate" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate". [] []
[2015-07-21 17:52:00] event.DEBUG: Notified event "console.terminate" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate". [] []
[2015-07-21 17:52:00] event.DEBUG: Notified event "console.terminate" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate". [] []
[2015-07-21 17:52:00] php.CRITICAL: Uncaught Exception: The command terminated with an error code: 1. {"type":1,"file":"E:_projects\symfony\sylius-standard\vendor\sylius\sylius\src\Sylius\Bundle\InstallerBundle\Command\CommandExecutor.php","line":81,"level":16383,"stack":[{"file":"E:_projects\symfony\sylius-standard\vendor\sylius\sylius\src\Sylius\Bundle\InstallerBundle\Command\AbstractInstallCommand.php","line":122,"function":"runCommand","class":"Sylius\Bundle\InstallerBundle\Command\CommandExecutor","type":"->","args":["doctrine:database:create",[]]},{"file":"E:_projects\symfony\sylius-standard\vendor\sylius\sylius\src\Sylius\Bundle\InstallerBundle\Command\InstallDatabaseCommand.php","line":50,"function":"runCommands","class":"Sylius\Bundle\InstallerBundle\Command\AbstractInstallCommand","type":"->","args":[["doctrine:database:create","doctrine:schema:create","cache:clear","doctrine:phpcr:repository:init"],"[object](Symfony\Component\Console\Input\ArrayInput: "sylius:install:database" --no-debug=1 --env=dev)","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php","line":259,"function":"execute","class":"Sylius\Bundle\InstallerBundle\Command\InstallDatabaseCommand","type":"->","args":["[object](Symfony\Component\Console\Input\ArrayInput: "sylius:install:database" --no-debug=1 --env=dev)","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":886,"function":"run","class":"Symfony\Component\Console\Command\Command","type":"->","args":["[object](Symfony\Component\Console\Input\ArrayInput: "sylius:install:database" --no-debug=1 --env=dev)","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":195,"function":"doRunCommand","class":"Symfony\Component\Console\Application","type":"->","args":["[object](Sylius\Bundle\InstallerBundle\Command\InstallDatabaseCommand: {})","[object](Symfony\Component\Console\Input\ArrayInput: "sylius:install:database" --no-debug=1 --env=dev)","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php","line":96,"function":"doRun","class":"Symfony\Component\Console\Application","type":"->","args":["[object](Symfony\Component\Console\Input\ArrayInput: "sylius:install:database" --no-debug=1 --env=dev)","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":126,"function":"doRun","class":"Symfony\Bundle\FrameworkBundle\Console\Application","type":"->","args":["[object](Symfony\Component\Console\Input\ArrayInput: "sylius:install:database" --no-debug=1 --env=dev)","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\sylius\sylius\src\Sylius\Bundle\InstallerBundle\Command\CommandExecutor.php","line":74,"function":"run","class":"Symfony\Component\Console\Application","type":"->","args":["[object](Symfony\Component\Console\Input\ArrayInput: "sylius:install:database" --no-debug=1 --env=dev)","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\sylius\sylius\src\Sylius\Bundle\InstallerBundle\Command\InstallCommand.php","line":48,"function":"runCommand","class":"Sylius\Bundle\InstallerBundle\Command\CommandExecutor","type":"->","args":["sylius:install:database",[],"[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php","line":259,"function":"execute","class":"Sylius\Bundle\InstallerBundle\Command\InstallCommand","type":"->","args":["object","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":886,"function":"run","class":"Symfony\Component\Console\Command\Command","type":"->","args":["object","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":195,"function":"doRunCommand","class":"Symfony\Component\Console\Application","type":"->","args":["[object](Sylius\Bundle\InstallerBundle\Command\InstallCommand: {})","object","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php","line":96,"function":"doRun","class":"Symfony\Component\Console\Application","type":"->","args":["object","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":126,"function":"doRun","class":"Symfony\Bundle\FrameworkBundle\Console\Application","type":"->","args":["object","[object](Symfony\Component\Console\Output\ConsoleOutput: {})"]},{"file":"E:_projects\symfony\sylius-standard\app\console","line":17,"function":"run","class":"Symfony\Component\Console\Application","type":"->","args":["object"]}]} []
Any idea on how I can install and try sylius please ?
Potential Bug