Closed toteph42 closed 4 years ago
Ich habe es gerade mit Comtao Manager 1.27 probiert. Derselbe Fehler. Log anbei error.log
Likely related to https://github.com/contao/manager-bundle/issues/88
As discussed with @m-vo in Slack, we want to work on a better solution for the Composer Script Handler - for Symfony, Composer and Contao.
In the meantime you can try running the commands yourself:
rm -rf var/cache/prod
vendor/bin/contao-console contao:install-web-dir --env=prod
vendor/bin/contao-console cache:clear --no-warmup --env=prod
vendor/bin/contao-console cache:clear --no-warmup --env=dev
vendor/bin/contao-console cache:warmup --env=prod
vendor/bin/contao-console assets:install web --symlink --relative --env=prod
vendor/bin/contao-console contao:install web --env=prod
vendor/bin/contao-console contao:symlinks web --env=prod
I entered all commands in sequence and they did not return any error messages. After that I tried to call my site. Unfortunately it ended up in a loop. So I started Contao Manager, which then told me I can either try to repair a defect installation or start Contao in save mode. var/log
is empty
error.log
Unfortunately it ended up in a loop.
What do you mean by that?
Nach mehreren Minuten kommt: Beim Verbinden mit contao.localhost trat ein Fehler auf. PR_CONNECT_RESET_ERROR
Nach mehreren Minuten kommt:
Beim Verbinden mit contao.localhost trat ein Fehler auf. PR_CONNECT_RESET_ERROR
That sounds unrelated to this problem or Contao itself.
Leider doch, da
<?php
declare(strict_types=1);
echo 'Hier ist Contao!'; exit;
in web\index.php
funktioniert.
This is not a Contao Manager issue, but rather a problem of Contao itself. It might be solved in the latest version though (https://github.com/contao/contao/pull/1964, https://github.com/contao/contao/pull/2184)
I tried to install a new Contao instance in an empty directory with composer and got the following error message:
Loading composer repositories with package information Updating dependencies (including require-dev) Dependency resolution completed in 111.317 seconds Analyzed 24234 packages to resolve dependencies Analyzed 3835600 rules to resolve dependencies Nothing to install or update Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Generating autoload files composer/package-versions-deprecated: Generating version class... composer/package-versions-deprecated: ...done generating version class 77 packages you are using are looking for funding. Use the
composer fund` command to find out more! contao/manager-plugin: Generating plugin class...