Ich nutzte Contao Version 4.4.12
Nach Installationsversuch der Contao extension [mae_event_categories] im Contao-Manager (1.3.3) folgende Meldung:
Systemwiederherstellung
Es wurden Dateien erkannt, die nach einer Contao-Installation aussehen, aber die Kommandozeile scheint nicht korrekt zu funktionieren. Wähle eine Option, um das System zu reparieren.
Ich habe dann: Automatische Reparatur ausgewählt.
Versucht eine automatische Systemreparatur, indem der Cache neu aufgebaut und die Composer-Pakete neu installiert werden.
Manuelle Änderungen an den vendor-Dateien können dabei verloren gehen!
Nach:Reparatur ausführen
erscheint: Hintergrund-Prozess
Ein Hintergrund-Prozess wurde unerwartet beendet. Bitte prüfe die Konsolen-Ausgabe.
und im Konsolenfenster:
Code:
$ /usr/bin/php7.4-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
Fatal error: Uncaught Error: Class 'Contao\CalendarBundle\ContaoManager\Plugin' not found in /homepages/44/d585498314/htdocs/business/vendor/contao/manager-plugin/src/PluginLoader.php:50
Stack trace:
#0 /homepages/44/d585498314/htdocs/business/vendor/contao/manager-bundle/src/HttpKernel/ContaoKernel.php(113): Contao\ManagerPlugin\PluginLoader->__construct()
#1 /homepages/44/d585498314/htdocs/business/vendor/contao/manager-bundle/src/HttpKernel/ContaoKernel.php(140): Contao\ManagerBundle\HttpKernel\ContaoKernel->getPluginLoader()
#2 /homepages/44/d585498314/htdocs/business/vendor/contao/manager-bundle/src/HttpKernel/ContaoKernel.php(353): Contao\ManagerBundle\HttpKernel\ContaoKernel->getBundleLoader()
#3 /homepages/44/d585498314/htdocs/business/vendor/contao/manager-bundle/src/HttpKernel/ContaoKernel.php(74): Contao\ManagerBundle\HttpKernel\ContaoKernel->addBundlesFromPlugins(Array)
#4 /homepages/44/d585498314/htdocs/business/vendor/symfony/http-kernel/Kernel.php(446): Contao\ManagerBundle\HttpKernel\ContaoKernel->register in /homepages/44/d585498314/htdocs/business/vendor/contao/manager-plugin/src/PluginLoader.php on line 50
Loading composer repositories with package information
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
Nothing to install or update
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.
Generating optimized autoload files
Deprecation Notice: Class League\Uri\Schemes\AbstractUri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Data located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\File located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Ftp located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Http located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Uri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\UriException located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Ws located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Knp\Bundle\TimeBundle\DateTimeFormatter located in ./vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/DateTimeFormatter.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Knp\Bundle\TimeBundle\DependencyInjection\KnpTimeExtension located in ./vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/DependencyInjection/KnpTimeExtension.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Knp\Bundle\TimeBundle\KnpTimeBundle located in ./vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/KnpTimeBundle.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Knp\Bundle\TimeBundle\Templating\Helper\TimeHelper located in ./vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/Templating/Helper/TimeHelper.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Knp\Bundle\TimeBundle\Twig\Extension\TimeExtension located in ./vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/Twig/Extension/TimeExtension.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///homepages/44/d585498314/htdocs/business/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Warning: Ambiguous class resolution, "Knp\Bundle\TimeBundle\DateTimeFormatter" was found in both "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/DateTimeFormatter.php" and "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/DateTimeFormatter.php", the first will be used.
Warning: Ambiguous class resolution, "Knp\Bundle\TimeBundle\DependencyInjection\KnpTimeExtension" was found in both "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/DependencyInjection/KnpTimeExtension.php" and "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/DependencyInjection/KnpTimeExtension.php", the first will be used.
Warning: Ambiguous class resolution, "Knp\Bundle\TimeBundle\KnpTimeBundle" was found in both "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/KnpTimeBundle.php" and "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/KnpTimeBundle.php", the first will be used.
Warning: Ambiguous class resolution, "Knp\Bundle\TimeBundle\Templating\Helper\TimeHelper" was found in both "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/Templating/Helper/TimeHelper.php" and "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/Templating/Helper/TimeHelper.php", the first will be used.
Warning: Ambiguous class resolution, "Knp\Bundle\TimeBundle\Twig\Extension\TimeExtension" was found in both "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/Knp/Bundle/TimeBundle/Twig/Extension/TimeExtension.php" and "/homepages/44/d585498314/htdocs/business/vendor/knplabs/knp-time-bundle/Twig/Extension/TimeExtension.php", the first will be used.
78 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 89:
An error occurred while executing the "contao:install-web-dir" command:
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
# Process terminated with exit code 1
# Result: General error
---------------------------------------------
Ergänzung: Erhalte ganz zum Schluss in einem neuen Fenster den Hinweis:
ERROR 403
HTTP-Anfrage für "DELETE api/task" fehlgeschlagen.
Der Server hat eine Antwort mit Status-Code 403 gesendet.
Active task cannot be deleted
Danach kann ich nur noch das Fenster des CM schließen.
Weder das Contao-Backend noch das Frontend lassen sich aufrufen.
Wäre für Hinweise dankbar, wo mein Fehler liegt (vermutlich habe ich versucht, eine nicht funktionsfähige Contao Erweiterung [mae_event_categories] einzufügen bzw. diese Erweiterung ist für die Version 4.4 nicht geeignet, wozu ich allerdins keinen Hinweis erhalten habe und mir auch keine Gedanken gemacht habe, da ich die Erweiterung im Contao-Manager aufrufen konnte.) und wie ich ggf. die versuchte Installation wieder rückgängig machen kann.
Bevor jemand fragt.
Nein. Ich hatte noch kein Backup der MYSQL db gemacht und auch das Theme noch nicht gesichert. War noch an der Website am Arbeiten.
Und ja. Nachher ist man schlauer. Werde das in regelmäßigen Abständen das nächste Mal machen
Dank schon mal im Voraus für Tipps, wie ich mein Problem lösen könnte.
jujuiss
Lesezeichen