Ergebnis 1 bis 23 von 23

Thema: Contao 3.5 - Installation von Erweiterungen nicht möglich - Skript bricht ab

  1. #1
    Contao-Nutzer
    Registriert seit
    02.01.2014.
    Beiträge
    25

    Standard Contao 3.5 - Installation von Erweiterungen nicht möglich - Skript bricht ab

    Hallo,

    leider habe ich ein altes Problem: über die Paketverwaltung im Backend ist mir das Updaten und die Neuinstallation von Erweiterungen nicht möglich. Es erfolgt jeweils nach ca. 30 Sekunden ein Abbruch. Ich gehe davon aus, dass es sich um eine Beschränkung der Laufzeit von PHP-Skripten seitens STRATO handelt.

    Jedoch sollte ich dringend eine Erweiterung installieren (cookiebar) installieren. Ich weiß noch, dass ich es einmal so gemacht habe, dass ich das zu installierende Paket im Backend vormerke, die eingetliche Installation aber über SSH direkt auf dem Server auslöse.

    Meine Frage: wie war das Vorgehen via SSH auf dem Server, damit die Aktualisierung der Pakete angestoßen wird?

    Herzliche Dank für Eure Hilfe

    Rainer

  2. #2
    Contao-Fan Avatar von fusch
    Registriert seit
    25.03.2012.
    Ort
    München
    Beiträge
    498
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Hallo Rainer,

    wechsle in das Verzeichnis /composer und gib die Ziele
    Code:
    composer require codefog/contao-cookiebar
    ein.

    Gruß
    Hella
    Mitglied des Contao User Treffen München
    Aktuelle Termine erfährst Du immer unter www.contao-bayern.de
    Komm' doch mal vorbei!

  3. #3
    Contao-Nutzer
    Registriert seit
    02.01.2014.
    Beiträge
    25

    Standard

    Zitat Zitat von fusch Beitrag anzeigen
    Hallo Rainer,

    wechsle in das Verzeichnis /composer und gib die Ziele
    Code:
    composer require codefog/contao-cookiebar
    ein.

    Gruß
    Hella
    Hallo Hella,

    vielen Dank für Deine schnelle Antwort. Allerdings bekomme ich da nur die Meldung "composer: Command not found."?

    Grüße

    Rainer

  4. #4
    Contao-Fan Avatar von Stefko
    Registriert seit
    25.10.2012.
    Ort
    Karlsruhe
    Beiträge
    775
    User beschenken
    Wunschliste

    Standard

    Zitat Zitat von Contao Rookie Beitrag anzeigen
    Allerdings bekomme ich da nur die Meldung "composer: Command not found."?
    Hänge mal ein .phar hinter composer an
    Code:
    composer.phar require codefog/contao-cookiebar
    Grüße, Stefko

  5. #5
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Und hänge noch ein php vorne dran:
    Code:
    php composer.phar require codefog/contao-cookiebar
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  6. #6
    Contao-Nutzer
    Registriert seit
    02.01.2014.
    Beiträge
    25

    Standard

    Erstes (kleines) Problem gelöst: es fehlte das PHP davor.

    Dabei hat es mir jetzt wohl irgendwie das System zerschossen, meine Website ist nicht mehr aufrufbar. Was tun?

    Aus dem Log-File:

    Code:
    [16-May-2018 14:42:54 Europe/Berlin] PHP Fatal error: Uncaught exception 'Composer\Json\JsonValidationException' with message '"./composer.json" does not match the expected JSON schema' thrown in phar:///mnt/web120/d1/35/53620935/htdocs/composer/composer.phar/src/Composer/Json/JsonFile.php on line 183
    #0 phar:///mnt/web120/d1/35/53620935/htdocs/composer/composer.phar/src/Composer/Factory.php(290): Composer\Json\JsonFile->validateSchema(1)
    #1 [internal function]: Composer\Factory->createComposer(Object(Composer\IO\BufferIO))
    #2 phar:///mnt/web120/d1/35/53620935/htdocs/composer/composer.phar/src/Composer/Util/Silencer.php(68): call_user_func_array(Array, Array)
    #3 /mnt/web120/d1/35/53620935/htdocs/system/modules/!composer/src/Runtime.php(587): Composer\Util\Silencer::call(Array, Object(Composer\IO\BufferIO))
    #4 /mnt/web120/d1/35/53620935/htdocs/system/modules/!composer/src/ClientBackend.php(300): ContaoCommunityAlliance\Contao\Composer\Runtime::createComposer(Object(Composer\IO\BufferIO))
    #5 /mnt/web120/d1/35/53620935/htdocs/system/modules/!composer/src/ClientBackend.php(125): ContaoCommunityAlliance\Contao\Composer\ClientBackend->loadComposer()
    #6 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/classes/Backend.php(423): ContaoCommunityAlliance\Contao\Composer\ClientBackend->generate()
    #7 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('composer')
    #8 /mnt/web120/d1/35/53620935/htdocs/contao/main.php(20): Contao\BackendMain->run()
    #9 {main}
    [16-May-2018 14:43:05 Europe/Berlin] PHP Fatal error: Uncaught exception 'Composer\Json\JsonValidationException' with message '"./composer.json" does not match the expected JSON schema' thrown in phar:///mnt/web120/d1/35/53620935/htdocs/composer/composer.phar/src/Composer/Json/JsonFile.php on line 183
    #0 phar:///mnt/web120/d1/35/53620935/htdocs/composer/composer.phar/src/Composer/Factory.php(290): Composer\Json\JsonFile->validateSchema(1)
    #1 [internal function]: Composer\Factory->createComposer(Object(Composer\IO\BufferIO))
    #2 phar:///mnt/web120/d1/35/53620935/htdocs/composer/composer.phar/src/Composer/Util/Silencer.php(68): call_user_func_array(Array, Array)
    #3 /mnt/web120/d1/35/53620935/htdocs/system/modules/!composer/src/Runtime.php(587): Composer\Util\Silencer::call(Array, Object(Composer\IO\BufferIO))
    #4 /mnt/web120/d1/35/53620935/htdocs/system/modules/!composer/src/ClientBackend.php(300): ContaoCommunityAlliance\Contao\Composer\Runtime::createComposer(Object(Composer\IO\BufferIO))
    #5 /mnt/web120/d1/35/53620935/htdocs/system/modules/!composer/src/ClientBackend.php(125): ContaoCommunityAlliance\Contao\Composer\ClientBackend->loadComposer()
    #6 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/classes/Backend.php(423): ContaoCommunityAlliance\Contao\Composer\ClientBackend->generate()
    #7 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('composer')
    #8 /mnt/web120/d1/35/53620935/htdocs/contao/main.php(20): Contao\BackendMain->run()
    #9 {main}
    [16-May-2018 14:43:10 Europe/Berlin] PHP Fatal error: Uncaught exception 'Composer\Json\JsonValidationException' with message '"./composer.json" does not match the expected JSON schema' thrown in phar:///mnt/web120/d1/35/53620935/htdocs/composer/composer.phar/src/Composer/Json/JsonFile.php on line 183
    #0 phar:///mnt/web120/d1/35/53620935/htdocs/composer/composer.phar/src/Composer/Factory.php(290): Composer\Json\JsonFile->validateSchema(1)
    #1 [internal function]: Composer\Factory->createComposer(Object(Composer\IO\BufferIO))
    #2 phar:///mnt/web120/d1/35/53620935/htdocs/composer/composer.phar/src/Composer/Util/Silencer.php(68): call_user_func_array(Array, Array)
    #3 /mnt/web120/d1/35/53620935/htdocs/system/modules/!composer/src/Runtime.php(587): Composer\Util\Silencer::call(Array, Object(Composer\IO\BufferIO))
    #4 /mnt/web120/d1/35/53620935/htdocs/system/modules/!composer/src/ClientBackend.php(300): ContaoCommunityAlliance\Contao\Composer\Runtime::createComposer(Object(Composer\IO\BufferIO))
    #5 /mnt/web120/d1/35/53620935/htdocs/system/modules/!composer/src/ClientBackend.php(125): ContaoCommunityAlliance\Contao\Composer\ClientBackend->loadComposer()
    #6 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/classes/Backend.php(423): ContaoCommunityAlliance\Contao\Composer\ClientBackend->generate()
    #7 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('composer')
    #8 /mnt/web120/d1/35/53620935/htdocs/contao/main.php(20): Contao\BackendMain->run()
    #9 {main}
    [16-May-2018 14:43:17 Europe/Berlin] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'j1.cookiebar_enable' in 'field list' (SELECT tl_module.*, j1.id AS jumpTo__id, j1.pid AS jumpTo__pid, j1.sorting AS jumpTo__sorting, j1.tstamp AS jumpTo__tstamp, j1.title AS jumpTo__title, j1.alias AS jumpTo__alias, j1.type AS jumpTo__type, j1.pageTitle AS jumpTo__pageTitle, j1.language AS jumpTo__language, j1.robots AS jumpTo__robots, j1.description AS jumpTo__description, j1.redirect AS jumpTo__redirect, j1.jumpTo AS jumpTo__jumpTo, j1.url AS jumpTo__url, j1.target AS jumpTo__target, j1.dns AS jumpTo__dns, j1.staticFiles AS jumpTo__staticFiles, j1.staticPlugins AS jumpTo__staticPlugins, j1.fallback AS jumpTo__fallback, j1.adminEmail AS jumpTo__adminEmail, j1.dateFormat AS jumpTo__dateFormat, j1.timeFormat AS jumpTo__timeFormat, j1.datimFormat AS jumpTo__datimFormat, j1.createSitemap AS jumpTo__createSitemap, j1.sitemapName AS jumpTo__sitemapName, j1.useSSL AS jumpTo__useSSL, j1.autoforward AS jumpTo__autoforward, j1.protected AS jumpTo__protected, j1.groups AS jumpTo__groups, j1.includeLayout AS jumpTo__includeLayout, j1.layout AS jumpTo__layout, j1.mobileLayout AS jumpTo__mobileLayout, j1.includeCache AS jumpTo__includeCache, j1.cache AS jumpTo__cache, j1.includeChmod AS jumpTo__includeChmod, j1.cuser AS jumpTo__cuser, j1.cgroup AS jumpTo__cgroup, j1.chmod AS jumpTo__chmod, j1.noSearch AS jumpTo__noSearch, j1.cssClass AS jumpTo__cssClass, j1.sitemap AS jumpTo__sitemap, j1.hide AS jumpTo__hide, j1.guests AS jumpTo__guests, j1.tabindex AS jumpTo__tabindex, j1.accesskey AS jumpTo__accesskey, j1.published AS jumpTo__published, j1.start AS jumpTo__start, j1.stop AS jumpTo__stop, j1.cookiebar_enable AS jumpTo__cookiebar_enable, j1.cookiebar_message AS jumpTo__cookiebar_message, j1.cookiebar_url AS jumpTo__cookiebar_url, j1.cookiebar_position AS jumpTo__cookiebar_position, j1.cookiebar_placement AS jumpTo__cookiebar_placement, j1.cookiebar_button AS jumpTo__cookiebar_button, j1.cookiebar_link AS jumpTo__cookiebar_link, j1.cookiebar_combineAssets AS jumpTo__cookiebar_combineAssets, j1.cookiebar_includeCss AS jumpTo__cookiebar_includeCss, j1.cookiebar_ttl AS jumpTo__cookiebar_ttl, j1.dlh_googlemaps_apikey AS jumpTo__dlh_googlemaps_apikey FROM tl_module LEFT JOIN tl_page j1 ON tl_module.jumpTo=j1.id WHERE tl_module.id IN(7,8,29,43,30,0,0,13,22,0,14,9,4) ORDER BY FIND_IN_SET(tl_module.id, '7,8,29,43,30,0,0,13,22,0,14,9,4'))' thrown in /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Database/Statement.php on line 295
    #0 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
    #1 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Model.php(1095): Contao\Database\Statement->execute(NULL)
    #2 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Model.php(890): Contao\Model::find(Array)
    #3 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/pages/PageRegular.php(83): Contao\Model::findMultipleByIds(Array)
    #4 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
    #5 /mnt/web120/d1/35/53620935/htdocs/index.php(20): Contao\FrontendIndex->run()
    #6 {main}
    [16-May-2018 14:43:21 Europe/Berlin] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'j1.cookiebar_enable' in 'field list' (SELECT tl_module.*, j1.id AS jumpTo__id, j1.pid AS jumpTo__pid, j1.sorting AS jumpTo__sorting, j1.tstamp AS jumpTo__tstamp, j1.title AS jumpTo__title, j1.alias AS jumpTo__alias, j1.type AS jumpTo__type, j1.pageTitle AS jumpTo__pageTitle, j1.language AS jumpTo__language, j1.robots AS jumpTo__robots, j1.description AS jumpTo__description, j1.redirect AS jumpTo__redirect, j1.jumpTo AS jumpTo__jumpTo, j1.url AS jumpTo__url, j1.target AS jumpTo__target, j1.dns AS jumpTo__dns, j1.staticFiles AS jumpTo__staticFiles, j1.staticPlugins AS jumpTo__staticPlugins, j1.fallback AS jumpTo__fallback, j1.adminEmail AS jumpTo__adminEmail, j1.dateFormat AS jumpTo__dateFormat, j1.timeFormat AS jumpTo__timeFormat, j1.datimFormat AS jumpTo__datimFormat, j1.createSitemap AS jumpTo__createSitemap, j1.sitemapName AS jumpTo__sitemapName, j1.useSSL AS jumpTo__useSSL, j1.autoforward AS jumpTo__autoforward, j1.protected AS jumpTo__protected, j1.groups AS jumpTo__groups, j1.includeLayout AS jumpTo__includeLayout, j1.layout AS jumpTo__layout, j1.mobileLayout AS jumpTo__mobileLayout, j1.includeCache AS jumpTo__includeCache, j1.cache AS jumpTo__cache, j1.includeChmod AS jumpTo__includeChmod, j1.cuser AS jumpTo__cuser, j1.cgroup AS jumpTo__cgroup, j1.chmod AS jumpTo__chmod, j1.noSearch AS jumpTo__noSearch, j1.cssClass AS jumpTo__cssClass, j1.sitemap AS jumpTo__sitemap, j1.hide AS jumpTo__hide, j1.guests AS jumpTo__guests, j1.tabindex AS jumpTo__tabindex, j1.accesskey AS jumpTo__accesskey, j1.published AS jumpTo__published, j1.start AS jumpTo__start, j1.stop AS jumpTo__stop, j1.cookiebar_enable AS jumpTo__cookiebar_enable, j1.cookiebar_message AS jumpTo__cookiebar_message, j1.cookiebar_url AS jumpTo__cookiebar_url, j1.cookiebar_position AS jumpTo__cookiebar_position, j1.cookiebar_placement AS jumpTo__cookiebar_placement, j1.cookiebar_button AS jumpTo__cookiebar_button, j1.cookiebar_link AS jumpTo__cookiebar_link, j1.cookiebar_combineAssets AS jumpTo__cookiebar_combineAssets, j1.cookiebar_includeCss AS jumpTo__cookiebar_includeCss, j1.cookiebar_ttl AS jumpTo__cookiebar_ttl, j1.dlh_googlemaps_apikey AS jumpTo__dlh_googlemaps_apikey FROM tl_module LEFT JOIN tl_page j1 ON tl_module.jumpTo=j1.id WHERE tl_module.id IN(7,8,29,43,30,0,0,13,22,0,14,9,4) ORDER BY FIND_IN_SET(tl_module.id, '7,8,29,43,30,0,0,13,22,0,14,9,4'))' thrown in /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Database/Statement.php on line 295
    #0 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
    #1 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Model.php(1095): Contao\Database\Statement->execute(NULL)
    #2 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Model.php(890): Contao\Model::find(Array)
    #3 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/pages/PageRegular.php(83): Contao\Model::findMultipleByIds(Array)
    #4 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
    #5 /mnt/web120/d1/35/53620935/htdocs/index.php(20): Contao\FrontendIndex->run()
    #6 {main}
    [16-May-2018 14:43:27 Europe/Berlin] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'j1.cookiebar_enable' in 'field list' (SELECT tl_module.*, j1.id AS jumpTo__id, j1.pid AS jumpTo__pid, j1.sorting AS jumpTo__sorting, j1.tstamp AS jumpTo__tstamp, j1.title AS jumpTo__title, j1.alias AS jumpTo__alias, j1.type AS jumpTo__type, j1.pageTitle AS jumpTo__pageTitle, j1.language AS jumpTo__language, j1.robots AS jumpTo__robots, j1.description AS jumpTo__description, j1.redirect AS jumpTo__redirect, j1.jumpTo AS jumpTo__jumpTo, j1.url AS jumpTo__url, j1.target AS jumpTo__target, j1.dns AS jumpTo__dns, j1.staticFiles AS jumpTo__staticFiles, j1.staticPlugins AS jumpTo__staticPlugins, j1.fallback AS jumpTo__fallback, j1.adminEmail AS jumpTo__adminEmail, j1.dateFormat AS jumpTo__dateFormat, j1.timeFormat AS jumpTo__timeFormat, j1.datimFormat AS jumpTo__datimFormat, j1.createSitemap AS jumpTo__createSitemap, j1.sitemapName AS jumpTo__sitemapName, j1.useSSL AS jumpTo__useSSL, j1.autoforward AS jumpTo__autoforward, j1.protected AS jumpTo__protected, j1.groups AS jumpTo__groups, j1.includeLayout AS jumpTo__includeLayout, j1.layout AS jumpTo__layout, j1.mobileLayout AS jumpTo__mobileLayout, j1.includeCache AS jumpTo__includeCache, j1.cache AS jumpTo__cache, j1.includeChmod AS jumpTo__includeChmod, j1.cuser AS jumpTo__cuser, j1.cgroup AS jumpTo__cgroup, j1.chmod AS jumpTo__chmod, j1.noSearch AS jumpTo__noSearch, j1.cssClass AS jumpTo__cssClass, j1.sitemap AS jumpTo__sitemap, j1.hide AS jumpTo__hide, j1.guests AS jumpTo__guests, j1.tabindex AS jumpTo__tabindex, j1.accesskey AS jumpTo__accesskey, j1.published AS jumpTo__published, j1.start AS jumpTo__start, j1.stop AS jumpTo__stop, j1.cookiebar_enable AS jumpTo__cookiebar_enable, j1.cookiebar_message AS jumpTo__cookiebar_message, j1.cookiebar_url AS jumpTo__cookiebar_url, j1.cookiebar_position AS jumpTo__cookiebar_position, j1.cookiebar_placement AS jumpTo__cookiebar_placement, j1.cookiebar_button AS jumpTo__cookiebar_button, j1.cookiebar_link AS jumpTo__cookiebar_link, j1.cookiebar_combineAssets AS jumpTo__cookiebar_combineAssets, j1.cookiebar_includeCss AS jumpTo__cookiebar_includeCss, j1.cookiebar_ttl AS jumpTo__cookiebar_ttl, j1.dlh_googlemaps_apikey AS jumpTo__dlh_googlemaps_apikey FROM tl_module LEFT JOIN tl_page j1 ON tl_module.jumpTo=j1.id WHERE tl_module.id IN(7,8,29,43,30,0,0,13,22,0,14,9,4) ORDER BY FIND_IN_SET(tl_module.id, '7,8,29,43,30,0,0,13,22,0,14,9,4'))' thrown in /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Database/Statement.php on line 295
    #0 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
    #1 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Model.php(1095): Contao\Database\Statement->execute(NULL)
    #2 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/library/Contao/Model.php(890): Contao\Model::find(Array)
    #3 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/pages/PageRegular.php(83): Contao\Model::findMultipleByIds(Array)
    #4 /mnt/web120/d1/35/53620935/htdocs/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
    #5 /mnt/web120/d1/35/53620935/htdocs/index.php(20): Contao\FrontendIndex->run()
    #6 {main}
    Geändert von xchs (16.05.2018 um 14:17 Uhr)

  7. #7
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Hast Du im Contao Installtool die Datenbank aktualisiert?
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  8. #8
    Contao-Nutzer
    Registriert seit
    02.01.2014.
    Beiträge
    25

    Standard

    Im SSH-Client bekomme ich die Fehlermeldung:

    [Composer\Json\JsonValidationException]
    "./composer.json" does not match the expected JSON schema:
    - config.github-oauth : Array value found, but an object is required

  9. #9
    Contao-Nutzer
    Registriert seit
    02.01.2014.
    Beiträge
    25

    Standard

    Zitat Zitat von xchs Beitrag anzeigen
    Hast Du im Contao Installtool die Datenbank aktualisiert?
    Wohl eher nicht. Wie geht das ohne Backend?

  10. #10
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Wie schaut Deine composer.json aus?
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  11. #11
    Wandelndes Contao-Lexikon Avatar von BugBuster
    Registriert seit
    15.06.2009.
    Ort
    Berlin
    Beiträge
    10.513
    User beschenken
    Wunschliste

    Standard

    Zum Einem ist deine composer.json fehlerhaft steht dort.
    Code:
    composer.json" does not match the expected JSON schema
    Zum Zweiten musst du contao/install.php aufrufen, um die Datenbank Felder anlegen zu lassen, steht auch so da.
    Code:
    Query error: Unknown column 'j1.cookiebar_enable'
    Grüße, BugBuster
    "view source" is your guide.
    Danke an alle Amazon Wunschlisten Erfüller

  12. #12
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von Contao Rookie Beitrag anzeigen
    Wie geht das ohne Backend?
    https://example.com/contao/install.php

    Dafür braucht es kein Backend.
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  13. #13
    Contao-Nutzer
    Registriert seit
    02.01.2014.
    Beiträge
    25

    Standard

    Zitat Zitat von xchs Beitrag anzeigen
    Wie schaut Deine composer.json aus?
    Code:
    {
        "name": "local/website",
        "description": "A local website project",
        "type": "project",
        "license": "proprietary",
        "require": {
            "codefog/contao-cookiebar": ">=2.0.1.0,<2.1-dev",
            "contao-community-alliance/composer-client": ">=0.16.4.0,<0.17-dev",
            "contao-legacy/backupdb": ">=3.2.2.9013,<3.3-dev",
            "contao-legacy/cookiebar": ">=2.0.1.9001,<2.1-dev",
            "contao-legacy/dlh_googlemaps": ">=2.2.0.9003,<2.3-dev",
            "contao-legacy/efg": ">=2.2.1.9005,<2.3-dev",
            "contao-legacy/xls_export": ">=3.0.0.9016,<3.1-dev",
            "delahaye/dlh_googlemaps": ">=2.4.1.0,<2.5-dev",
            "jschaedl/iban": ">=1.3.0.0,<1.4-dev",
            "terminal42/contao-conditionalformfields": ">=2.1.0.0,<2.2-dev",
            "terminal42/contao-leads": ">=1.2.0.0,<1.3-dev"
        },
        "prefer-stable": true,
        "minimum-stability": "beta",
        "config": {
            "preferred-install": "dist",
            "cache-dir": "cache",
            "component-dir": "../assets/components",
            "github-oauth": []
        },
        "repositories": [
            {
                "type": "artifact",
                "url": "packages"
            },
            {
                "type": "composer",
                "url": "http://legacy-packages-via.contao-community-alliance.org/"
            }
        ],
        "extra": {
            "contao": {
                "migrated": "done"
            }
        }
    }
    Geändert von xchs (16.05.2018 um 14:21 Uhr) Grund: Code-Tags

  14. #14
    Contao-Nutzer
    Registriert seit
    02.01.2014.
    Beiträge
    25

    Standard

    Zum Zweiten musst du contao/install.php aufrufen, um die Datenbank Felder anlegen zu lassen, steht auch so da.
    Code:
    Query error: Unknown column 'j1.cookiebar_enable'
    [/QUOTE]

    Das Installtool dreht ne Endlosschleife: die u.a. Tabelle wird ständig gelöscht, neu geschrieben und wieder gelöscht...

    Bestehende Tabellen löschen
    Alle auswählen


    DROP TABLE `tl_formdata`;

  15. #15
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Du könntest vorerst mal im Ordner system/modules/cookiebar/ eine neue Datei .skip (mit Punkt am Anfang, Inhalt egal) erstellen. Dann sollte die Erweiterung eigentlich deaktiviert sein.
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  16. #16
    Contao-Nutzer
    Registriert seit
    02.01.2014.
    Beiträge
    25

    Standard

    Zitat Zitat von xchs Beitrag anzeigen
    Du könntest vorerst mal im Ordner system/modules/cookiebar/ eine neue Datei .skip (mit Punkt am Anfang, Inhalt egal) erstellen. Dann sollte die Erweiterung eigentlich deaktiviert sein.
    Gemacht, aber ohne Wirkung.

    Website läuft seit der Aktualisierung der Datenbank wieder, aber bei SSH-Aufruf des Composers erscheint immer noch die Meldung

    Code:
    X-Powered-By: PHP/5.6.36
    Content-type: text/html
    
    Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI
    
    
      [Composer\Json\JsonValidationException]
      "./composer.json" does not match the expected JSON schema:
       - config.github-oauth : Array value found, but an object is required
    und beim Aufruf der Paketverwaltung im Backend kommt:

    Code:
    Fatal error: Uncaught exception Composer\Json\JsonValidationException with message "./composer.json" does not match the expected JSON schema thrown in phar://composer/composer.phar/src/Composer/Json/JsonFile.php on line 183
    
    #0 phar://composer/composer.phar/src/Composer/Factory.php(290): Composer\Json\JsonFile->validateSchema(1)
    #1 [internal function]: Composer\Factory->createComposer(Object(Composer\IO\BufferIO))
    #2 phar://composer/composer.phar/src/Composer/Util/Silencer.php(68): call_user_func_array(Array, Array)
    #3 system/modules/!composer/src/Runtime.php(587): Composer\Util\Silencer::call(Array, Object(Composer\IO\BufferIO))
    #4 system/modules/!composer/src/ClientBackend.php(300): ContaoCommunityAlliance\Contao\Composer\Runtime::createComposer(Object(Composer\IO\BufferIO))
    #5 system/modules/!composer/src/ClientBackend.php(125): ContaoCommunityAlliance\Contao\Composer\ClientBackend->loadComposer()
    #6 system/modules/core/classes/Backend.php(423): ContaoCommunityAlliance\Contao\Composer\ClientBackend->generate()
    #7 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('composer')
    #8 contao/main.php(20): Contao\BackendMain->run()
    #9 {main}
    Geändert von xchs (16.05.2018 um 14:35 Uhr) Grund: Code-Tags!

  17. #17
    Contao-Nutzer
    Registriert seit
    02.01.2014.
    Beiträge
    25

    Standard

    Jetzt habe ich die eckigen Klammern [] hinter "github-oauth": durch geschweifte Klammern {} ersetzt jetzt scheint es wieder zu gehen...

    Herzlichen Dank!!!

  18. #18
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Vorzugsweise solltest Du PHP auf der Konsole in der CLI-Variante ausführen, ich weiß aber nicht, ob bei Strato für PHP 5.6 ein CLI-Executable vorhanden ist (vermutlich nicht). Aber Du könntest ja mal versuchen, ob
    Code:
    $ /opt/RZphp56/bin/php-cli -v
    funktioniert.

    Ansonsten könntest Du ja auch auf PHP 7.1 umstellen.
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  19. #19
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.775
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Ich glaube die cli-Version gibt es bei Strato erst ab 7.2 als sie auch die intl-Extension installiert haben.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  20. #20
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Für PHP 7.0 und 7.1 steht auch eine CLI-Binary zur Verfügung.
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  21. #21
    Wandelndes Contao-Lexikon Avatar von tab
    Registriert seit
    22.10.2013.
    Beiträge
    10.081
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Und was spricht dann dagegen, einfach PHP 7.2 zu verwenden? Contao 3.5 kann das doch schon seit einiger Zeit, nötigenfalls halt auf die neueste 3.5 updaten, bietet sich ja wegen der letzten Sicherheitslücke sowieso an.

  22. #22
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.775
    Contao-Projekt unterstützen

    Support Contao

    Standard

    @xchs Die intl-Extension gibt es aber tatsächlich erst ab PHP 7.2 oder?
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  23. #23
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Eben nachgeschaut: Ab PHP 7.1 (cli) ist die intl Erweiterung verfügbar.
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

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
  •