Ergebnis 1 bis 5 von 5

Thema: Fehler nach Kopie

  1. #1
    Contao-Fan Avatar von Hoch-3
    Registriert seit
    16.11.2010.
    Ort
    Zürich
    Beiträge
    373
    Partner-ID
    7136

    Standard Fehler nach Kopie

    Ich habe eine Installation kopiert. Backend läuft soweit problemlos. Aber im Frontend zeigt es die Site nicht an. Mit folgendem Eintrag im Logfile:

    request.CRITICAL: Uncaught PHP Exception LogicException: "Could not find the entity manager for class "Contao\CoreBundle\Entity\RememberMe". Check your Doctrine configuration to make sure it is configured to load this entity’s metadata." at /...../htdocs/vendor/doctrine/doctrine-bundle/Repository/ServiceEntityRepository.php line 33 {"exception":"[object] (LogicException(code: 0): Could not find the entity manager for class "Contao\\CoreBundle\\Entity\\RememberMe". Check your Doctrine configuration to make sure it is configured to load this entity’s metadata. at /...../htdocs/vendor/doctrine/doctrine-bundle/Repository/ServiceEntityRepository.php:33)"}
    Im Frontend gibt es ausserdem noch ein Warning aus:

    Invalid argument supplied for foreach() in /....../htdocs/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php on line 178

    Und im Original und in der Kopie kann ich contao-manager das 4.8.5 nicht auf 4.8.8 aktualisieren. Es bricht mit Fehlermeldungen ab.

    > Resolving dependencies using Composer Cloud v3.2.0
    2
    !!! Current server is sponsored by: Contao Association !!!
    3
    4
    5
    [6.0MiB/0.18s] Loading composer repositories with package information
    6
    [6.7MiB/0.24s] Updating dependencies
    7
    [8.2MiB/0.26s] Your requirements could not be resolved to an installable set of packages.
    8
    [8.2MiB/0.26s]
    9
    Problem 1
    10
    - ocramius/package-versions 1.4.2 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
    11
    - contao/calendar-bundle 4.8.5 requires contao/core-bundle 4.8.5 -> satisfiable by contao/core-bundle[4.8.5].
    12
    - contao/core-bundle 4.8.5 requires ocramius/package-versions ^1.2 -> satisfiable by ocramius/package-versions[1.4.2].
    13
    - contao/calendar-bundle is locked to version 4.8.5 and an update of this package was not requested.
    14
    15
    [8.2MiB/0.27s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    16
    [7.0MiB/0.27s] Memory usage: 6.96MB (peak: 8.92MB), time: 0.27s.
    17
    [7.0MiB/0.27s] Finished Composer Cloud resolving.
    18
    19
    20
    # Cloud Job ID xxx failed
    Kann man das irgendwie einfach reparieren oder muss ich neu beginnen?

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    Du musst eine vollständige Paketaktualisierung durchführen: https://contao.org/de/news/contao-manager-1-4.html
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Fan Avatar von Hoch-3
    Registriert seit
    16.11.2010.
    Ort
    Zürich
    Beiträge
    373
    Partner-ID
    7136

    Standard

    Hallo spooky
    Herzlichen Dank.

    Hat aber leider einen Fehler gegeben:

    In ScriptHandler.php line 88:
    352

    353
    An error occurred while executing the "contao:install-web-dir" command:
    354

    355
    356
    install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
    357
    358
    359
    # Process terminated with exit code 1
    360
    # Result: General error
    Und jetzt geht gar nichts mehr... Automatic Repair macht auch einen Fehler, nach zwei Versuchen:

    HTTP request for "DELETE api/task" failed.
    Im task-output.log dann diese Meldung:

    $ /usr/local/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Zurich /services/webs/societylab-neu.ch/htdocs/vendor/contao/manager-bundle/bin/contao-console cache:clear --env=prod --no-warmup


    # Process terminated with exit code 255
    # Result: Unknown error


    Wenn ich den Contao-Manager starte kommt beim Installing Composer Dependencies:

    $ /usr/local/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Zurich /services/webs/societylab-neu.ch/htdocs/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    2
    3
    Installing dependencies from lock file
    4
    Verifying lock file contents can be installed on current platform.
    5
    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>`.
    6
    Your lock file does not contain a compatible set of packages. Please run composer update.
    7
    8
    Problem 1
    9
    - contao-community-alliance/composer-plugin is locked to version 3.0.9 and an update of this package was not requested.
    10
    - contao-community-alliance/composer-plugin 3.0.9 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
    11
    Problem 2
    12
    - contao-components/installer is locked to version 1.3.1 and an update of this package was not requested.
    13
    - contao-components/installer 1.3.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
    14
    Problem 3
    15
    - contao/manager-plugin is locked to version 2.7.1 and an update of this package was not requested.
    16
    - contao/manager-plugin 2.7.1 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
    17
    Problem 4
    18
    - ocramius/package-versions is locked to version 1.4.2 and an update of this package was not requested.
    19
    - ocramius/package-versions 1.4.2 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
    20
    Problem 5
    21
    - lib-xsl is present at version 1.1.32.0 and cannot be modified by Composer
    22
    - Only one of these can be installed: lib-libxslt[1.1.34], lib-xsl[1.1.32.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
    23
    - lib-libxslt is present at version 1.1.34 and cannot be modified by Composer
    24
    25
    26
    # Process terminated with exit code 2
    27
    # Result: Misuse of shell builtins
    Geändert von Hoch-3 (20.08.2021 um 10:04 Uhr)

  4. #4
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    Zitat Zitat von Hoch-3 Beitrag anzeigen
    Wenn ich den Contao-Manager starte kommt beim Installing Composer Dependencies:
    Das ist normal. Du musst wie gesagt eine vollständige Paketaktualisierung durchführen.
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Fan Avatar von Hoch-3
    Registriert seit
    16.11.2010.
    Ort
    Zürich
    Beiträge
    373
    Partner-ID
    7136

    Standard

    Dabei gibt es eben diesen Fehler:

    In ScriptHandler.php line 88:
    352

    353
    An error occurred while executing the "contao:install-web-dir" command:
    354

    355
    356
    install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
    357
    358
    359
    # Process terminated with exit code 1
    360
    # Result: General error

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
  •