symfony / symfony

The Symfony PHP framework
https://symfony.com
MIT License
29.75k stars 9.46k forks source link

Symfony 2.3. Install through Composer Secret Token Cryptic Values #9456

Closed Peter-Rene-Menges closed 10 years ago

Peter-Rene-Menges commented 10 years ago

When installing Symfony 2.3.0 through composer and entering an secret of the form "Symfony23!" the installation fails.

stof commented 10 years ago

what is the error message ?

Peter-Rene-Menges commented 10 years ago

Try it. You will see that the installation fails and to solve this issue you will have to investigate the problem anyway.

cordoval commented 10 years ago

works perfectly

mailer_password (null):
locale (en):
secret (ThisTokenIsNotSoSecretChangeIt):Symfony23!
Clearing the cache for the dev environment with debug true
Installing assets using the hard copy option
Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
Installing assets for Acme\DemoBundle into web/bundles/acmedemo
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodistribution

please retry and close this issue

andremaha commented 10 years ago

Works as expected

mailer_transport (smtp):
mailer_host (127.0.0.1):
mailer_user (null):
mailer_password (null):
locale (en):
secret (ThisTokenIsNotSoSecretChangeIt):Symfony23!
Clearing the cache for the dev environment with debug true
Installing assets using the hard copy option
Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
Installing assets for Acme\DemoBundle into web/bundles/acmedemo
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodistribution
stof commented 10 years ago

OK, so @Peter-Rene-Menges, can you tell what error you see ?

anyway, telling the installation fails does not describe the issue, so even if we were seeing an error when running it, we would have no way to know that we are seeing your issue or another one.

Peter-Rene-Menges commented 10 years ago

Yes, but this one was obvious, so I knew that further investigation will take place. Still I can't reproduce it, it happend only on the first install using the following install procedure. So until reproduction this issue is closed. curl -s https://getcomposer.org/installer | php

php composer.phar create-project symfony/framework-standard-edition /srv/www/htdocs/symfony-2.3.0-4

Installing symfony/framework-standard-edition (v2.3.6)

Created project in /srv/www/htdocs/symfony-2.3.0-4 Loading composer repositories with package information Installing dependencies (including require-dev)

kriswallsmith/assetic suggests installing leafo/lessphp (Assetic provides the integration with the lessphp LESS compiler) kriswallsmith/assetic suggests installing leafo/scssphp (Assetic provides the integration with the scssphp SCSS compiler) kriswallsmith/assetic suggests installing ptachoire/cssembed (Assetic provides the integration with phpcssembed to embed data uris) kriswallsmith/assetic suggests installing leafo/scssphp-compass (Assetic provides the integration with the SCSS compass plugin) monolog/monolog suggests installing mlehner/gelf-php (Allow sending log messages to a GrayLog2 server) monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server) monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server) monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required)) monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server) Writing lock file Generating autoload files Creating the "app/config/parameters.yml" file. Some parameters are missing. Please provide them. database_driver (pdo_mysql): database_host (127.0.0.1):192.168.38 database_port (null):3306 database_name (symfony): database_user (root):symfony29! database_password (null):symonfy29! mailer_transport (smtp): mailer_host (127.0.0.1): mailer_user (null): mailer_password (null): locale (en): secret (ThisTokenIsNotSoSecretChangeIt):Symfony29!

which failed at the first install claiming about the secret token.

stof commented 10 years ago

what do you mean by which failed at the first install claiming about the secret token. ? What was it telling you exactly. which fails does not describe the failure.

Peter-Rene-Menges commented 10 years ago

I closed this issue because I can't reproduce the failure and so I can't post the complete error message here. Which failed claiming about the secret token describes that it was related the secret token. "which fails" out of context doesn't describe anything, of course.