Contao-Camp 2024
Ergebnis 1 bis 2 von 2

Thema: Fehler nach Installationsversuch [mae_event_categories] im Manager

  1. #1
    Contao-Nutzer
    Registriert seit
    27.03.2013.
    Beiträge
    18

    Standard Fehler nach Installationsversuch [mae_event_categories] im Manager

    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
    Geändert von jujuiss (25.10.2020 um 14:33 Uhr)

  2. #2
    Contao-Nutzer
    Registriert seit
    27.03.2013.
    Beiträge
    18

    Standard

    Liebe Community,

    vielen Dank für die rege Diskussion meines Problems an anderer Stelle hier im Forum.

    Backend und Frontend funktionieren zwischenzeitlich wieder.
    Kann nicht sagen warum.

    Unter var\ den cache manuell geleert.
    Dann den CM gestartet.
    Systemprüfung läuft einwandfrei durch ohne Fehlermeldung.
    Unter "Systemwartung" den Composer-Autoloader aktualisiert, Composer Update durchgeführt und den Cache geleert.
    Oh Wunder. Alles ohne Fehlermeldungen durchgelaufen.
    Im Installtool die Datenbank aktualisiert.

    Dann ließen sich Backend und Frontend wieder problemlos aufrufen.

    Und bevor ich es vergesse. Ja. Habe dann sofort die Erweiterung "Datenbanksicherung" für das Backup der db und des website Templates installiert und zusätzlich "extern" gesichert.

    Danke nochmal für Eure Bemühungen wobei ich doch gerne gewusst hätte, was ich mir bei dem Versuch, die Kalender Erweiterung zu installieren, zerschossen habe.

    jujuiss

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •