Ergebnis 1 bis 18 von 18

Thema: "file_locator" service or alias has been removed

  1. #1
    Contao-Nutzer
    Registriert seit
    29.03.2012.
    Beiträge
    60

    Standard "file_locator" service or alias has been removed

    Hallo, ich erhalte nach einem Update meiner Pakete über den Contao Manager von contao 4.7 folgende Fehlermeldung und weiß nicht mehr weiter:
    Code:
    In Container.php line 263:
                                                                                   
      The "file_locator" service or alias has been removed or inlined when the co  
      ntainer was compiled. You should either make it public, or stop using the c  
      ontainer directly and use dependency injection instead.
    Im abgesicherten Modus kann ich weiterhin im Contao Manager arbeiten.

    Hier ist noch meine composer.json:
    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0-or-later",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^7.1",
            "contao-bootstrap/core": "^2.0",
            "contao-bootstrap/form": "^2.1",
            "contao-bootstrap/grid": "^2.0",
            "contao-bootstrap/layout": "^2.0",
            "contao-bootstrap/navbar": "^2.1",
            "contao-bootstrap/panel": "^2.1",
            "contao/calendar-bundle": "^4.7",
            "contao/comments-bundle": "^4.7",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "^4.7",
            "contao/listing-bundle": "^4.7",
            "contao/manager-bundle": "4.7.*",
            "contao/news-bundle": "^4.7",
            "contao/newsletter-bundle": "^4.7",
            "heimrichhannot/contao-categories-bundle": "^1.0@beta",
            "heimrichhannot/contao-categories-multilingual-bundle": "^0.0.4",
            "heimrichhannot/contao-slick-bundle": "^1.0@beta",
            "heimrichhannot/contao-teaser-bundle": "^0.2.1",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "menatwork/semantic_html5": "^2.0",
            "terminal42/dc_multilingual": "^3.0",
            "terminal42/notification_center": "^1.5"
        },
        "conflict": {
            "contao-components/installer": "<1.3"
        },
        "require-dev": {
            "sensiolabs/security-checker": "^4.1"
        },
        "extra": {
            "branch-alias": {
                "dev-4.6": "4.6.x-dev"
            },
            "contao-component-dir": "assets"
        },
        "autoload": {
            "psr-4": {
                "App\\": "src/"
            }
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        },
        "minimum-stability": "beta"
    }

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

    Standard

    Lösche den Ordner var/cache und öffne das Frontend oder Backend mal mit der app_dev.php und poste die komplette Fehlermeldung, um herauszufinden, wo dieser Service gebraucht wird.

  3. #3
    Contao-Urgestein Avatar von Kahmoon
    Registriert seit
    22.06.2009.
    Ort
    München
    Beiträge
    5.280

    Standard Aktuelles Systemupdate wirft Fehler

    Servus,

    ich wollte gerade mal wieder alle meine 4.7.4 Installationen updaten. Der Vorgang bricht aber ab mit der Meldung

    In Container.php line 263: The "file_locator" service or alias has been removed or inlined when the co ntainer was compiled. You should either make it public, or stop using the c ontainer directly and use dependency injection instead.

    Hab vorher den Testlauf gemacht und es waren eigentlich nur 35 Symfony Updates die er machen wollte.

    Danach will der Contao Manager ein System Repair durchführen! :-(

    Contao Backends sind nicht mehr erreichbar. Frontend soweit schon.



    VG
    Angehängte Grafiken Angehängte Grafiken

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

    Standard

    Moderation: Themen zusammengeführt.

  5. #5
    Contao-Urgestein Avatar von Kahmoon
    Registriert seit
    22.06.2009.
    Ort
    München
    Beiträge
    5.280

    Standard

    Ich komme gar nicht mehr dazu app_dev zu aktivieren. Er springt direkt in "Installing Composer Dependencies" und rödelt dann.

    Code:
    
    Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
    Loading composer repositories with package information
    Installing dependencies from lock file
    Nothing to install or update
    Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead.
    Generating optimized autoload files
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    ocramius/package-versions:  Generating version class...
    ocramius/package-versions: ...done generating version class
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    
    
    In Container.php line 263:
                                                                                   
      The "file_locator" service or alias has been removed or inlined when the co  
      ntainer was compiled. You should either make it public, or stop using the c  
      ontainer directly and use dependency injection instead.                      
                                                                                   
    
    
    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:      
      In Container.php line 263:                                                   
                                                                                   
                                                                                   
        The "file_locator" service or alias has been removed or inlined when the   
      co                                                                           
        ntainer was compiled. You should either make it public, or stop using the  
       c                                                                           
        ontainer directly and use dependency injection instead.                    
                                                                                   
    
    
    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
    
    
    
    
    ---
    
    
    ### The background task has stopped unexpectedly ###

    Lösche ich var/cache geht auch das Frontend nicht mehr. Argh...Supergau!

  6. #6
    Contao-Nutzer
    Registriert seit
    29.03.2012.
    Beiträge
    60

    Standard

    Die app_dev kann ich nicht öffnen, weil das Kennwort und der Benutzername noch nicht gesetzt wurde und dies im abgesicherten Modus des Contao Managers nicht möglich ist. Hier noch die Logs:
    Code:
    [2019-04-18 07:46:58] request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "The "file_locator" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead." at ###ROOT###vendor/symfony/dependency-injection/Container.php line 263 {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException(code: 0): The \"file_locator\" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead. at ###ROOT###vendor/symfony/dependency-injection/Container.php:263)"} []
    [2019-04-18 07:47:03] request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "The "file_locator" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead." at ###ROOT###vendor/symfony/dependency-injection/Container.php line 263 {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException(code: 0): The \"file_locator\" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead. at ###ROOT###vendor/symfony/dependency-injection/Container.php:263)"} []
    [2019-04-18 07:47:03] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /contao-manager/users.json" (from "###DOMAIN###/contao-manager.phar.php/")" at ###ROOT###vendor/symfony/http-kernel/EventListener/RouterListener.php line 139 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /contao-manager/users.json\" (from \"###DOMAIN###/contao-manager.phar.php/\") at ###ROOT###vendor/symfony/http-kernel/EventListener/RouterListener.php:139, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): None of the routers in the chain matched this request\nGET /contao-manager/users.json HTTP/1.1\r\nAccept:               application/json, text/plain, */*\r\nAccept-Encoding:      gzip, deflate\r\nAccept-Language:      de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7\r\nConnection:           keep-alive\r\nCookie:               PHPSESSID=###SESSIONID###\r\nForwarded:            for=\"85.16.0.108\";host=\"###DOMAIN###\";proto=http\r\nHost:                 ###DOMAIN###\r\nReferer:              ###DOMAIN###/contao-manager.phar.php/\r\nSurrogate-Capability: symfony=\"ESI/1.0\"\r\nUser-Agent:           Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36\r\nX-Forwarded-For:      85.16.0.108\r\nX-Php-Ob-Level:       0\r\nX-Requested-With:     XMLHttpRequest\r\nCookie: PHPSESSID=###SESSIONID###\r\n\r\n at ###ROOT###vendor/symfony-cmf/routing/src/ChainRouter.php:210)"} []
    [2019-04-18 07:53:44] request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "The "file_locator" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead." at ###ROOT###vendor/symfony/dependency-injection/Container.php line 263 {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException(code: 0): The \"file_locator\" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead. at ###ROOT###vendor/symfony/dependency-injection/Container.php:263)"} []
    [2019-04-18 07:53:44] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /contao-manager/users.json" (from "###DOMAIN###/contao-manager.phar.php/")" at ###ROOT###vendor/symfony/http-kernel/EventListener/RouterListener.php line 139 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /contao-manager/users.json\" (from \"###DOMAIN###/contao-manager.phar.php/\") at ###ROOT###vendor/symfony/http-kernel/EventListener/RouterListener.php:139, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): None of the routers in the chain matched this request\nGET /contao-manager/users.json HTTP/1.1\r\nAccept:               application/json, text/plain, */*\r\nAccept-Encoding:      gzip, deflate\r\nAccept-Language:      de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7\r\nConnection:           keep-alive\r\nCookie:               PHPSESSID=###SESSIONID###\r\nForwarded:            for=\"85.16.0.108\";host=\"###DOMAIN###\";proto=http\r\nHost:                 ###DOMAIN###\r\nReferer:              ###DOMAIN###/contao-manager.phar.php/\r\nSurrogate-Capability: symfony=\"ESI/1.0\"\r\nUser-Agent:           Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36\r\nX-Forwarded-For:      85.16.0.108\r\nX-Php-Ob-Level:       0\r\nX-Requested-With:     XMLHttpRequest\r\nCookie: PHPSESSID=###SESSIONID###\r\n\r\n at ###ROOT###vendor/symfony-cmf/routing/src/ChainRouter.php:210)"} []

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

    Standard

    Benutzername & Passwort könnt ihr einfach über die Konsole setzen:
    Code:
    vendor/bin/contao-console contao:install-web-dir --user=…

  8. #8
    Contao-Fan Avatar von Nightwing
    Registriert seit
    29.05.2013.
    Beiträge
    436

    Standard

    Alternativ, wenn kein SSH vorhanden, Option 2: click me softly

    ToM

  9. #9
    Contao-Urgestein Avatar von Kahmoon
    Registriert seit
    22.06.2009.
    Ort
    München
    Beiträge
    5.280

    Standard

    Hmm geht nicht

    Code:
    (uiserver):u60854035:~/oberhammer-v2$ vendor/bin/contao-console contao:install-web-dir --user=meinuser--password=meinpasswort
    X-Powered-By: PHP/4.4.9
    Content-type: text/html
    
    
    <br />
    <b>Parse error</b>:  syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in <b>/homepages/46/d346729057/htdocs/oberhammer-v2/vendor/contao/manager-bundle/bin/contao-console</b> on line <b>14</b><br />

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

    Standard

    Du musst natürlich die richtige PHP Version verwenden.

  11. #11
    Contao-Nutzer
    Registriert seit
    29.03.2012.
    Beiträge
    60

    Standard

    Backend:
    Code:
    (1/1) ServiceNotFoundException
    The "file_locator" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.
    
    in Container.php line 263
    at Container->make('file_locator', 1)
    in Container.php line 225
    at Container->get('file_locator')
    in ContainerUtil.php line 39
    at ContainerUtil->__construct(object(appContao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer))
    in getHuh_Utils_ContainerService.php line 11
    at require('/###ROOT###var/cache/dev/ContainerMZH0jfs/getHuh_Utils_ContainerService.php')
    in appContao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer.php line 679
    at appContao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer->load('getHuh_Utils_ContainerService.php')
    in Container.php line 243
    at Container->make('huh.utils.container', 1)
    in Container.php line 225
    at Container->get('huh.utils.container')
    in TemplateUtil.php line 54
    at TemplateUtil->__construct(object(appContao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer))
    in getHuh_Cache_WarmInternalService.php line 14
    at require('/###ROOT###var/cache/dev/ContainerMZH0jfs/getHuh_Cache_WarmInternalService.php')
    in appContao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer.php line 679
    at appContao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer->load('getHuh_Cache_WarmInternalService.php')
    in getCacheWarmerService.php line 14
    at appContao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer->{closure}()
    in CacheWarmerAggregate.php line 88
    at CacheWarmerAggregate->warmUp('/###ROOT###var/cache/dev')
    in Kernel.php line 587
    at Kernel->initializeContainer()
    in ContaoKernel.php line 237
    at ContaoKernel->initializeContainer()
    in Kernel.php line 133
    at Kernel->boot()
    in Kernel.php line 193
    at Kernel->handle(object(Request))
    in app_dev.php line 83
    Frontend:
    Code:
    INFO
    08:14:09
    php	User Deprecated: Referencing service route loaders with a single colon is deprecated since Symfony 4.1. Use contao_manager.routing_loader::loadFromPlugins instead.
    {
        "exception": {}
    }
    DEBUG
    08:14:09
    app	Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message ""
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClasses() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClasses() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addNamespaces() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addNamespace() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClasses() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addNamespaces() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addNamespace() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClasses() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addNamespaces() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addNamespace() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClasses() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClasses() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    INFO
    08:14:09
    php	User Deprecated: Using ClassLoader::addClass() has been deprecated and will no longer work in Contao 5.0.
    {
        "exception": {}
    }
    CRITICAL
    08:14:09
    request	Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "The "file_locator" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead." at ###ROOT###/vendor/symfony/dependency-injection/Container.php line 263
    {
        "exception": {}
    }

  12. #12
    Contao-Urgestein Avatar von Kahmoon
    Registriert seit
    22.06.2009.
    Ort
    München
    Beiträge
    5.280

    Standard

    Habs auch mit
    Code:
    (uiserver):u60854035:~/oberhammer-v2$ php vendor/bin/contao-console contao:install-web-dir --user=meinuser--password=meinpasswort
    versucht.

    Sorry...Konsolennoob hier


    Edit: Murmelfrosch hats ja schon gepostet

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

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

    Standard

    Zitat Zitat von Kahmoon Beitrag anzeigen
    Habs auch mit
    Code:
    (uiserver):u60854035:~/oberhammer-v2$ php vendor/bin/contao-console contao:install-web-dir --user=meinuser--password=meinpasswort
    versucht.

    Sorry...Konsolennoob hier
    Das ist das selbe
    Code:
    vendor/bin/contao-console …
    ist äquivalent zu
    Code:
    php vendor/bin/contao-console …
    Du musst den korrekten Pfad zu einem PHP CLI in der richtigen PHP Version angeben.

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

    Standard

    Für einen quick fix könnt ihr, bis das Problem bei heimrichhannot/contao-utils-bundle behoben wurde,
    Code:
    composer require symfony/dependency-injection:^3.4 --no-update && composer update
    ausführen.

  16. #16
    Contao-Urgestein Avatar von Kahmoon
    Registriert seit
    22.06.2009.
    Ort
    München
    Beiträge
    5.280

    Standard

    In welchem Verzeichnis führe ich das aus?

    Und wie finde ich den korrekten Aufruf für PHP? Das sind 1und1 Installationen

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

    Standard

    Zitat Zitat von Kahmoon Beitrag anzeigen
    In welchem Verzeichnis führe ich das aus?
    Der Befehl ist nur stellvertretend. Ziel ist es, dass bei dir symfony/dependency-injection in Version ^3.4 installiert wird.


    Zitat Zitat von Kahmoon Beitrag anzeigen
    Und wie finde ich den korrekten Aufruf für PHP? Das sind 1und1 Installationen
    https://github.com/contao/contao-man...ki/1und1-IONOS

    Angenommen du verwendest PHP 7.1, dann währen die Schritte, die du ausführen musst, folgende:

    1. Im Root Verzeichnis der Contao Installation folgenden Befehl über SSH ausführen:
      Code:
      /usr/bin/php7.1-cli web/contao-manager.phar.php composer require symfony/dependency-injection:^3.4 --no-update
    2. Dann in den Contao Manager wechseln.
    3. Alle Pakete zum Update markieren.
    4. Änderungen übernehmen (= Pakete aktualisieren).


    Sobald das Problem in heimrichhannot/contao-utils-bundle behoben wurde, machst du folgendes:

    1. Im Root Verzeichnis der Contao Installation folgenden Befehl über SSH ausführen:
      Code:
      /usr/bin/php7.1-cli web/contao-manager.phar.php composer remove symfony/dependency-injection --no-update
    2. Dann in den Contao Manager wechseln.
    3. Alle Pakete zum Update markieren. (in diesem Fall vermutlich optional)
    4. Änderungen übernehmen (= Pakete aktualisieren).

  18. #18
    Contao-Urgestein Avatar von Kahmoon
    Registriert seit
    22.06.2009.
    Ort
    München
    Beiträge
    5.280

    Standard

    PRoblem ist behoben.

    Danke das hier immer so unfassbar fucking schnell agiert wird. Das kann nur Contao!

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
  •