Ergebnis 1 bis 9 von 9

Thema: Probleme mit install.php

  1. #1
    Contao-Nutzer
    Registriert seit
    04.12.2012.
    Beiträge
    24

    Standard Probleme mit install.php

    Hallo,
    habe gestern contao3.04 installiert, dann ein Theme importiert, alles prima geklappt. Als ich dann versucht habe, über install.php das zugehörige Template zu importieren, bekam ich immer die Fehlermeldung "Falsches Passwort". Habe dann $GLOBALS['TL_CONFIG']['installCount'] = 0; gesetzt. Wieder die gleiche Fehlermeldung.
    Habe dann $GLOBALS['TL_CONFIG']['installPassword'] herausgenommen. Nun bekam ich die Aufforderung ein neues Passwort einzugeben, habe ich auch korrekt gemacht, bekam dann aber auch wieder eine lange Fehlermeldung. Habe sie leider nicht gespeichert.

    Wie erkenne ich das richtige Passwort oder wie kann ich ein neues eingeben? Was kann ich machen, dass ich über install.php mein Template importieren kann?

  2. #2
    Contao-Nutzer
    Registriert seit
    17.01.2013.
    Beiträge
    55

    Standard

    http://de.contaowiki.org/Administrat...wort_vergessen
    vill klappts ja über die Datenbank

  3. #3
    Contao-Nutzer
    Registriert seit
    04.12.2012.
    Beiträge
    24

    Standard

    Zitat Zitat von JoeyConta3 Beitrag anzeigen
    http://de.contaowiki.org/Administrat...wort_vergessen
    vill klappts ja über die Datenbank
    Danke zunächst einmal für deine Antwort.

    Es handelt sich hier um eine absolute Neuinstallation. Neue Contao-Installation, neue Datenbank, da ist noch gar kein Admin Passwort vergeben worden.
    Habe mal gelesen, dass dann "contao" das Passwort für install.php sein soll. Aber das hat nicht funktioniert, das Backend-Passwort soll es ja auch nicht sein.

    So what?

  4. #4
    Contao-Nutzer
    Registriert seit
    04.12.2012.
    Beiträge
    24

    Standard

    So, da ich hörte dass contao3.0.4 fehlerhaft sei, habe ich nun auf contao3.0.3 downgegradet.
    Das gleiche Spiel noch einmal, beim Versuch install.php zu starten, um ein Template zu importieren, wurde mein Passwort nicht akzeptiert.

    Habe dann $GLOBALS['TL_CONFIG']['installPassword'] gelöscht, um ein neues Passwort eingeben zu können.
    Konnte dann ein neues Passwort eingeben und bestätigen, wenn ich dann den Vorgang beenden wollte bekam ich folgende Fehlermeldung:

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 122880 bytes) in /var/www/web948/html/contao/system/modules/comments/dca/tl_comments.php on line 554

    Was bedeutet diese Meldung, was kann ich zu seiner Behebung machen?

  5. #5
    Gesperrt
    Registriert seit
    03.04.2010.
    Ort
    Mosbach
    Beiträge
    338

    Standard

    Der Fehler sagt, daß deine Speicherkapazität, in der php.ini angegeben, nicht ausreichend ist. Frage deinen Hoster, ob er dies für dich erhöhen kann. Oder du hast selber Zugriff auf die php.ini, dann setze den Wert memory_limit auf min 32.

    Zum Passwort: Unter Contao 2.xx war es mal so, daß das Install-Passwort contao hieß. Ab Contao 3 muß man bei der Erstinstallation selber eins setzen, welches man dann immer eingeben muß, wenn man die install.php neu aufruft.

  6. #6
    Contao-Nutzer
    Registriert seit
    04.12.2012.
    Beiträge
    24

    Standard Komme nicht mehr ins Backend

    Danke zunächst für die Antwort. Habe die Speichererweiterung durchgeführt und mit der Passworteingabe konnte ich die Installation durchführen.
    Das Template ist geladen worden, ist auch auf der Website zu sehen. Ich bekam aber unten stehende Fehlermeldung und ich kann mich seitdem nicht mehr ins Backend einloggen.
    Kann mir jemand weiterhelfen?

    Warning: Invalid argument supplied for foreach() in /var/www/web948/html/contao/system/modules/core/library/Contao/Controller.php on line 114
    #0 /var/www/web948/html/contao/system/modules/core/library/Contao/Controller.php(114): __error(2, 'Invalid argumen...', '/var/www/web948...', 114, Array)
    #1 /var/www/web948/html/contao/system/modules/newsletter/dca/tl_newsletter.php(203): Contao\Controller::getTemplateGroup('mail_')
    #2 /var/www/web948/html/contao/system/modules/core/library/Contao/Controller.php(2394): include('/var/www/web948...')
    #3 /var/www/web948/html/contao/system/modules/core/library/Contao/DcaExtractor.php(280): Contao\Controller->loadDataContainer('tl_newsletter')
    #4 /var/www/web948/html/contao/system/modules/core/library/Contao/DcaExtractor.php(109): Contao\DcaExtractor->createExtract()
    #5 /var/www/web948/html/contao/system/modules/core/library/Contao/DcaExtractor.php(459): Contao\DcaExtractor->__construct('tl_newsletter')
    #6 /var/www/web948/html/contao/system/modules/core/library/Contao/Database/Installer.php(258): Contao\DcaExtractor::createAllExtracts()
    #7 /var/www/web948/html/contao/system/modules/core/library/Contao/Database/Installer.php(106): Contao\Database\Installer->getFromDca()
    #8 /var/www/web948/html/contao/system/modules/core/library/Contao/Database/Installer.php(38): Contao\Database\Installer->compileCommands()
    #9 /var/www/web948/html/contao/contao/install.php(227): Contao\Database\Installer->generateSqlForm()
    #10 /var/www/web948/html/contao/contao/install.php(936): InstallTool->run()
    #11 {main}

    Warning: Invalid argument supplied for foreach() in /var/www/web948/html/contao/system/modules/core/library/Contao/Controller.php on line 141
    #0 /var/www/web948/html/contao/system/modules/core/library/Contao/Controller.php(141): __error(2, 'Invalid argumen...', '/var/www/web948...', 141, Array)
    #1 /var/www/web948/html/contao/system/modules/newsletter/dca/tl_newsletter.php(203): Contao\Controller::getTemplateGroup('mail_')
    #2 /var/www/web948/html/contao/system/modules/core/library/Contao/Controller.php(2394): include('/var/www/web948...')
    #3 /var/www/web948/html/contao/system/modules/core/library/Contao/DcaExtractor.php(280): Contao\Controller->loadDataContainer('tl_newsletter')
    #4 /var/www/web948/html/contao/system/modules/core/library/Contao/DcaExtractor.php(109): Contao\DcaExtractor->createExtract()
    #5 /var/www/web948/html/contao/system/modules/core/library/Contao/DcaExtractor.php(459): Contao\DcaExtractor->__construct('tl_newsletter')
    #6 /var/www/web948/html/contao/system/modules/core/library/Contao/Database/Installer.php(258): Contao\DcaExtractor::createAllExtracts()
    #7 /var/www/web948/html/contao/system/modules/core/library/Contao/Database/Installer.php(106): Contao\Database\Installer->getFromDca()
    #8 /var/www/web948/html/contao/system/modules/core/library/Contao/Database/Installer.php(38): Contao\Database\Installer->compileCommands()
    #9 /var/www/web948/html/contao/contao/install.php(227): Contao\Database\Installer->generateSqlForm()
    #10 /var/www/web948/html/contao/contao/install.php(936): InstallTool->run()
    #11 {main}

  7. #7
    Contao-Urgestein Avatar von KlausGrenoble
    Registriert seit
    27.01.2013.
    Ort
    Grenoble
    Beiträge
    2.362

    Standard

    Mal ausprobieren, wenn Du unbedingt mit der 3.0.3 arbeiten willst:
    In der localconfig am Ende nach der Zeile:
    ### INSTALL SCRIPT STOP ###
    die folgenden beiden Zeilen einfügen (ist nicht von mir!):
    unset($_SERVER['HTTP_X_FORWARDED_FOR']);
    unset($_SERVER['HTTP_X_FORWARDED_HOST']);
    Das hat meine Website einmal gerettet, als ich die 3.0.3 hatte...
    In der 3.0.4 wurden 36 Bugfixes und Updates eingearbeitet. Und wie ich mich entsinne, auch etwas mit "Contao/Controller.php on line 114" war dabei.
    Ich würde lieber mit der 3.0.5 arbeiten (da wurde noch ein Bug mit Videoverarbeitung behoben)
    Gruss Klaus

  8. #8
    Contao-Nutzer
    Registriert seit
    04.12.2012.
    Beiträge
    24

    Standard Ein letzter Versuch

    Habe nun noch einmal eine automatische Installation von contao3.0.3 (alfahosting) vorgenommen und dann ein Theme importiert. Alles wunderbar so weit.

    Wenn ich nun install.php starte bekomme ich unten stehende Fehlermeldungen. Ich hab zwar die Möglichkeit, ein Template zu importieren und kann die Benutzerdaten einsehen,
    aber wenn ich das mache ohne die Fehler zu beheben, komme ich wahrscheinlich wieder nicht ins Backend wie beim letzten Mal.
    Ich wäre wirklich sehr dankbar, wenn mir jemand weiterhelfen könnte.

    Hier die Fehlermeldungen:

    Warning: Invalid argument supplied for foreach() in /var/www/web948/html/system/modules/core/library/Contao/Controller.php on line 114
    #0 /var/www/web948/html/system/modules/core/library/Contao/Controller.php(114): __error(2, 'Invalid argumen...', '/var/www/web948...', 114, Array)
    #1 /var/www/web948/html/system/modules/newsletter/dca/tl_newsletter.php(203): Contao\Controller::getTemplateGroup('mail_')
    #2 /var/www/web948/html/system/modules/core/library/Contao/Controller.php(2394): include('/var/www/web948...')
    #3 /var/www/web948/html/system/modules/core/library/Contao/DcaExtractor.php(280): Contao\Controller->loadDataContainer('tl_newsletter')
    #4 /var/www/web948/html/system/modules/core/library/Contao/DcaExtractor.php(109): Contao\DcaExtractor->createExtract()
    #5 /var/www/web948/html/system/modules/core/library/Contao/DcaExtractor.php(459): Contao\DcaExtractor->__construct('tl_newsletter')
    #6 /var/www/web948/html/system/modules/core/library/Contao/Database/Installer.php(258): Contao\DcaExtractor::createAllExtracts()
    #7 /var/www/web948/html/system/modules/core/library/Contao/Database/Installer.php(106): Contao\Database\Installer->getFromDca()
    #8 /var/www/web948/html/system/modules/core/library/Contao/Database/Installer.php(38): Contao\Database\Installer->compileCommands()
    #9 /var/www/web948/html/contao/install.php(227): Contao\Database\Installer->generateSqlForm()
    #10 /var/www/web948/html/contao/install.php(936): InstallTool->run()
    #11 {main}

    Warning: Invalid argument supplied for foreach() in /var/www/web948/html/system/modules/core/library/Contao/Controller.php on line 141
    #0 /var/www/web948/html/system/modules/core/library/Contao/Controller.php(141): __error(2, 'Invalid argumen...', '/var/www/web948...', 141, Array)
    #1 /var/www/web948/html/system/modules/newsletter/dca/tl_newsletter.php(203): Contao\Controller::getTemplateGroup('mail_')
    #2 /var/www/web948/html/system/modules/core/library/Contao/Controller.php(2394): include('/var/www/web948...')
    #3 /var/www/web948/html/system/modules/core/library/Contao/DcaExtractor.php(280): Contao\Controller->loadDataContainer('tl_newsletter')
    #4 /var/www/web948/html/system/modules/core/library/Contao/DcaExtractor.php(109): Contao\DcaExtractor->createExtract()
    #5 /var/www/web948/html/system/modules/core/library/Contao/DcaExtractor.php(459): Contao\DcaExtractor->__construct('tl_newsletter')
    #6 /var/www/web948/html/system/modules/core/library/Contao/Database/Installer.php(258): Contao\DcaExtractor::createAllExtracts()
    #7 /var/www/web948/html/system/modules/core/library/Contao/Database/Installer.php(106): Contao\Database\Installer->getFromDca()
    #8 /var/www/web948/html/system/modules/core/library/Contao/Database/Installer.php(38): Contao\Database\Installer->compileCommands()
    #9 /var/www/web948/html/contao/install.php(227): Contao\Database\Installer->generateSqlForm()
    #10 /var/www/web948/html/contao/install.php(936): InstallTool->run()
    #11 {main}

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web948/html/system/helper/functions.php:69) in /var/www/web948/html/system/modules/core/library/Contao/Template.php on line 277
    #0 [internal function]: __error(2, 'Cannot modify h...', '/var/www/web948...', 277, Array)
    #1 /var/www/web948/html/system/modules/core/library/Contao/Template.php(277): header('Vary: User-Agen...', false)
    #2 /var/www/web948/html/system/modules/core/classes/BackendTemplate.php(156): Contao\Template->output()
    #3 /var/www/web948/html/contao/install.php(747): Contao\BackendTemplate->output()
    #4 /var/www/web948/html/contao/install.php(250): InstallTool->outputAndExit()
    #5 /var/www/web948/html/contao/install.php(936): InstallTool->run()
    #6 {main}

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web948/html/system/helper/functions.php:69) in /var/www/web948/html/system/modules/core/library/Contao/Template.php on line 278
    #0 [internal function]: __error(2, 'Cannot modify h...', '/var/www/web948...', 278, Array)
    #1 /var/www/web948/html/system/modules/core/library/Contao/Template.php(278): header('Content-Type: t...')
    #2 /var/www/web948/html/system/modules/core/classes/BackendTemplate.php(156): Contao\Template->output()
    #3 /var/www/web948/html/contao/install.php(747): Contao\BackendTemplate->output()
    #4 /var/www/web948/html/contao/install.php(250): InstallTool->outputAndExit()
    #5 /var/www/web948/html/contao/install.php(936): InstallTool->run()
    #6 {main}

  9. #9
    Contao-Urgestein Avatar von KlausGrenoble
    Registriert seit
    27.01.2013.
    Ort
    Grenoble
    Beiträge
    2.362

    Standard

    Welcher Provider ist das ? Welche PHP-Version wird angeboten ? contao Version 3.x.x benötigt 5.3.2+ .

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
  •