Closed lionel-m closed 9 years ago
Did you install Contao using Composer? I assume it did create the parameters.yml
? The problem most likely is that Composer will create parameters.yml
but not localconfig.php
.
Did you install Contao using Composer?
Yes php composer.phar create-project contao/standard-edition=4.1.0-RC1 contao410rc
parameters.yml
is ok
You're right, the folder system/config
is empty
Fixed in contao/installation-bundle@4a519c0db9dd6f84a6e409246a9d533529d4b8e5. To test the fix, you have to add the following line to the "require" section of your composer.json
file:
"require": {
…
"contao/installation-bundle": "dev-release/1.0.0",
},
@leofeyer I added this line and after the composer update it returns:
Yes, sorry, it should have been:
"require": {
…
"contao/core-bundle": "dev-release/4.1.0 as 4.1.x-dev",
},
Thanks :+1:
Hmm, even with the "contao/core-bundle": "dev-release/4.1.0 as 4.1.x-dev"
line in the composer.json
require section and an dependency update by running composer update
I still get an Error 500 when running the install tool (/install.php
).
The error_log
shows the following stack trace:
PHP Fatal error: Uncaught exception 'Contao\\CoreBundle\\Exception\\IncompleteInstallationException' with message 'The installation has not been completed. Open the Contao install tool to continue.' in /var/www/virtual/contao4/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:377
Stack trace:
#0 /var/www/virtual/contao4/vendor/contao/core-bundle/src/Framework/ContaoFramework.php(299): Contao\\CoreBundle\\Framework\\ContaoFramework->validateInstallation()
#1 /var/www/virtual/contao4/vendor/contao/core-bundle/src/Framework/ContaoFramework.php(147): Contao\\CoreBundle\\Framework\\ContaoFramework->initializeFramework()
#2 /var/www/virtual/contao4/vendor/contao/installation-bundle/src/HttpKernel/InstallationKernel.php(81): Contao\\CoreBundle\\Framework\\ContaoFramework->initialize()
#3 /var/www/virtual/contao4/vendor/contao/installation-bundle/src/HttpKernel/InstallationKernel.php(39): Contao\\InstallationBundle\\HttpKernel\\InstallationKernel->bo in /var/www/virtual/contao4/vendor/contao/core-bundle/src/Framework/ContaoFramework.php on line 377
I have just tried it with a fresh install and it worked like a charm.
composer create-project contao/standard-edition <target> dev-release/4.1.0
I have completed the Composer setup and then opened the install tool. It asked me to accept the license and to set a password and then completed the installation as usual.
Okay, thanks a lot. Setting up a new fresh install with
composer create-project contao/standard-edition . dev-release/4.1.0
did the trick. The installation went through without any problems now.
Yesterday, I did it as follows:
composer create-project contao/standard-edition . 4.1.0-RC1
"contao/core-bundle": "dev-release/4.1.0 as 4.1.x-dev"
to the composer.json
composer update
commandApparently, that was not the same. :confused:
After installing Contao, I can not access the installation tool.
Path:
http://localhost:8888/contao410rc/web/install.php
Message:
Logs:
And: