Ergebnis 1 bis 3 von 3

Thema: Nach Update auf 2.9.1 Fehler oben auf der Seite : ### INSTALL SCRIPT START

  1. #1
    Contao-Nutzer Avatar von luv76
    Registriert seit
    19.05.2010.
    Ort
    Naumburg Saale
    Beiträge
    26

    Standard Nach Update auf 2.9.1 Fehler oben auf der Seite : ### INSTALL SCRIPT START

    Ich habe per "Live ID" mein system aktualisiert. Jetzt steht immer "### INSTALL SCRIPT START ### $GLOBA" am Anfang der Webseite. Dieses scheint aus der "localconfig.php" zustammen.

    Der fehler ist auf der Kirschfest.de zusehen http://www.kirschfest.de/cms/index.php

    FEHLER:
    Code:
    ### INSTALL SCRIPT START ### $GLOBALS['TL_CONFIG']['latestVersion'] = '2.9.1'; $GLOBALS['TL_CONFIG']['cron_daily'] = 20101001; ### INSTALL SCRIPT STOP ### ?> ### INSTALL SCRIPT START ### $GLOBALS['TL_CONFIG']['latestVersion'] = '2.9.1'; $GLOBALS['TL_CONFIG']['cron_daily'] = 20101001; ### INSTALL SCRIPT STOP ### ?>
    localconfig:

    PHP-Code:
    <?php if (!defined('TL_ROOT')) die('You can not access this file directly!');



    /**

     * TYPOlight Open Source CMS

     * Copyright (C) 2005-2010 Leo Feyer

     *

     * This program is free software: you can redistribute it and/or

     * modify it under the terms of the GNU Lesser General Public

     * License as published by the Free Software Foundation, either

     * version 3 of the License, or (at your option) any later version.

     *

     * This program is distributed in the hope that it will be useful,

     * but WITHOUT ANY WARRANTY; without even the implied warranty of

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

     * Lesser General Public License for more details.

     *

     * You should have received a copy of the GNU Lesser General Public

     * License along with this program. If not, please visit the Free

     * Software Foundation website at <http://www.gnu.org/licenses/>.

     *

     * PHP version 5

     * @copyright  Leo Feyer 2005-2010

     * @author     Leo Feyer <https://contao.org>

     * @package    Config

     * @license    LGPL

     * @filesource

     */

    ### INSTALL SCRIPT START ###
    $GLOBALS['TL_CONFIG']['useFTP'] = true;
    $GLOBALS['TL_CONFIG']['ftpHost'] = 'localhost';
    $GLOBALS['TL_CONFIG']['ftpPath'] = '/html/cms/';
    $GLOBALS['TL_CONFIG']['ftpUser'] = 'webxxx';
    $GLOBALS['TL_CONFIG']['ftpPass'] = 'xxx';
    $GLOBALS['TL_CONFIG']['licenseAccepted'] = true;
    $GLOBALS['TL_CONFIG']['installPassword'] = 'xxx';
    $GLOBALS['TL_CONFIG']['installCount'] = 0;
    $GLOBALS['TL_CONFIG']['encryptionKey'] = 'xxx';
    $GLOBALS['TL_CONFIG']['dbDriver'] = 'MySQL';
    $GLOBALS['TL_CONFIG']['dbHost'] = 'localhost';
    $GLOBALS['TL_CONFIG']['dbUser'] = 'webxx';
    $GLOBALS['TL_CONFIG']['dbPass'] = 'xxxx';
    $GLOBALS['TL_CONFIG']['dbDatabase'] = 'usr_web3xx';
    $GLOBALS['TL_CONFIG']['dbPconnect'] = false;
    $GLOBALS['TL_CONFIG']['dbCharset'] = 'UTF8';
    $GLOBALS['TL_CONFIG']['dbPort'] = 3306;
    $GLOBALS['TL_CONFIG']['dbCollation'] = 'utf8_general_ci';
    $GLOBALS['TL_CONFIG']['adminEmail'] = 'xxxxx@googlemail.com';
    $GLOBALS['TL_CONFIG']['latestVersion'] = '2.9.1';
    $GLOBALS['TL_CONFIG']['customSections'] = 'banner';
    $GLOBALS['TL_CONFIG']['defaultChmod'] = 'a:6:{i:0;s:2:"u1";i:1;s:2:"u2";i:2;s:2:"u3";i:3;s:2:"u4";i:4;s:2:"u5";i:5;s:2:"u6";}';
    $GLOBALS['TL_CONFIG']['avatar_maxdims'] = 32;
    $GLOBALS['TL_CONFIG']['debugMode'] = false;
    $GLOBALS['TL_CONFIG']['rewriteURL'] = false;
    $GLOBALS['TL_CONFIG']['disableAlias'] = true;
    $GLOBALS['TL_CONFIG']['avatar_maxsize'] = 3;
    $GLOBALS['TL_CONFIG']['avatar_dir'] = 'tl_files/kirschfest.de/images';
    $GLOBALS['TL_CONFIG']['enableGZip'] = true;
    $GLOBALS['TL_CONFIG']['cron_weekly'] = 201039;
    $GLOBALS['TL_CONFIG']['cron_daily'] = 20100929;
    $GLOBALS['TL_CONFIG']['enableSearch'] = false;
    $GLOBALS['TL_CONFIG']['displayErrors'] = false;
    $GLOBALS['TL_CONFIG']['websitePath'] = '/cms';
    $GLOBALS['TL_CONFIG']['allowedTags'] = '<a><abbr><acronym><address><area><b><big><blockquote><br><base><bdo><button><caption><code><col><colgroup><dd><div><dfn><dl><dt><em><form><fieldset><hr><h1><h2><h3><h4><h5><h6><i><img><input><label><legend><li><link><map><object><ol><optgroup><option><p><pre><param><q><select><small><span><strong><sub><sup><style><table><tbody><td><textarea><tfoot><th><thead><tr><tt><u><ul><script><center>';
    $GLOBALS['TL_CONFIG']['repository_languages'] = 'de';
    ### INSTALL SCRIPT STOP ###

    [COLOR="red"]### INSTALL SCRIPT START ###
    $GLOBALS['TL_CONFIG']['liveUpdateId'] = 'xxxxxxxxxxx';
    $GLOBALS['TL_CONFIG']['latestVersion'] = '2.9.1';
    $GLOBALS['TL_CONFIG']['cron_daily'] = 20100930;
    ### INSTALL SCRIPT STOP ###

    ?>

    [COLOR="red"]### INSTALL SCRIPT START ###
    $GLOBALS['TL_CONFIG']['latestVersion'] = '2.9.1';
    $GLOBALS['TL_CONFIG']['cron_daily'] = 20101001;
    ### INSTALL SCRIPT STOP ###[/COLOR]

    ?>[/COLOR]
    Immer wenn ich das berienige am ende der config geht es kurz nur dann ist es wieder da....

    bitte um hilfe kai.
    Geändert von Nina (01.10.2010 um 19:40 Uhr)

  2. #2
    Maintainer Avatar von xtra
    Registriert seit
    02.07.2009.
    Ort
    Tuebingen
    Beiträge
    2.007
    User beschenken
    Wunschliste

    Standard

    Ich korrigier das mal eben:
    PHP-Code:
    <?php if (!defined('TL_ROOT')) die('You can not access this file directly!');

    /**
     * TYPOlight Open Source CMS
     * Copyright (C) 2005-2010 Leo Feyer
     *
     * This program is free software: you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation, either
     * version 3 of the License, or (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this program. If not, please visit the Free
     * Software Foundation website at <http://www.gnu.org/licenses/>.
     *
     * PHP version 5
     * @copyright  Leo Feyer 2005-2010
     * @author     Leo Feyer <https://contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */

    ### INSTALL SCRIPT START ###

    $GLOBALS['TL_CONFIG']['useFTP'] = true;
    $GLOBALS['TL_CONFIG']['ftpHost'] = 'localhost';
    $GLOBALS['TL_CONFIG']['ftpPath'] = '/html/cms/';
    $GLOBALS['TL_CONFIG']['ftpUser'] = 'webxxx';
    $GLOBALS['TL_CONFIG']['ftpPass'] = 'xxx';
    $GLOBALS['TL_CONFIG']['licenseAccepted'] = true;
    $GLOBALS['TL_CONFIG']['installPassword'] = 'xxx';
    $GLOBALS['TL_CONFIG']['installCount'] = 0;
    $GLOBALS['TL_CONFIG']['encryptionKey'] = 'xxx';
    $GLOBALS['TL_CONFIG']['dbDriver'] = 'MySQL';
    $GLOBALS['TL_CONFIG']['dbHost'] = 'localhost';
    $GLOBALS['TL_CONFIG']['dbUser'] = 'webxx';
    $GLOBALS['TL_CONFIG']['dbPass'] = 'xxxx';
    $GLOBALS['TL_CONFIG']['dbDatabase'] = 'usr_web3xx';
    $GLOBALS['TL_CONFIG']['dbPconnect'] = false;
    $GLOBALS['TL_CONFIG']['dbCharset'] = 'UTF8';
    $GLOBALS['TL_CONFIG']['dbPort'] = 3306;
    $GLOBALS['TL_CONFIG']['dbCollation'] = 'utf8_general_ci';
    $GLOBALS['TL_CONFIG']['adminEmail'] = 'xxxxx@googlemail.com';
    $GLOBALS['TL_CONFIG']['latestVersion'] = '2.9.1';
    $GLOBALS['TL_CONFIG']['customSections'] = 'banner';
    $GLOBALS['TL_CONFIG']['defaultChmod'] = 'a:6:{i:0;s:2:"u1";i:1;s:2:"u2";i:2;s:2:"u3";i:3;s:2:"u4";i:4;s:2:"u5";i:5;s:2:"u6";}';
    $GLOBALS['TL_CONFIG']['avatar_maxdims'] = 32;
    $GLOBALS['TL_CONFIG']['debugMode'] = false;
    $GLOBALS['TL_CONFIG']['rewriteURL'] = false;
    $GLOBALS['TL_CONFIG']['disableAlias'] = true;
    $GLOBALS['TL_CONFIG']['avatar_maxsize'] = 3;
    $GLOBALS['TL_CONFIG']['avatar_dir'] = 'tl_files/kirschfest.de/images';
    $GLOBALS['TL_CONFIG']['enableGZip'] = true;
    $GLOBALS['TL_CONFIG']['cron_weekly'] = 201039;
    $GLOBALS['TL_CONFIG']['cron_daily'] = 20100929;
    $GLOBALS['TL_CONFIG']['enableSearch'] = false;
    $GLOBALS['TL_CONFIG']['displayErrors'] = false;
    $GLOBALS['TL_CONFIG']['websitePath'] = '/cms';
    $GLOBALS['TL_CONFIG']['allowedTags'] = '<a><abbr><acronym><address><area><b><big><blockquote><br><base><bdo><button><caption><code><col><colgroup><dd><div><dfn><dl><dt><em><form><fieldset><hr><h1><h2><h3><h4><h5><h6><i><img><input><label><legend><li><link><map><object><ol><optgroup><option><p><pre><param><q><select><small><span><strong><sub><sup><style><table><tbody><td><textarea><tfoot><th><thead><tr><tt><u><ul><script><center>';
    $GLOBALS['TL_CONFIG']['repository_languages'] = 'de';
    $GLOBALS['TL_CONFIG']['liveUpdateId'] = 'xxxxxxxxxxx';
    $GLOBALS['TL_CONFIG']['latestVersion'] = '2.9.1';
    $GLOBALS['TL_CONFIG']['cron_daily'] = 20100930;

    ### INSTALL SCRIPT STOP ###

    ?>
    So sollte es eigentlich passen.
    Was mir gerade aufgefallen ist, du hast oben haufenweise Leerzeilen.
    Das ist ein beinahe sicherer Indikator, dass deine Datei mit windows Zeilenenden arbeitet.
    Evtl. willst du die mit z.B. Notepad++ mal eben auf unix line endings umschreiben (linux commandline: dos2unix localconfig.php)

    Gruss
    Chris
    Bedenke stets: Wenn Du ungenaue oder unzureichende Angaben machst, so koennte dies die Bearbeitung deiner Frage endlos verzoegern (oder sogar dazu fyhren, dass ich zu viel nachdenken muss und die Antwort vergesse!). Kein Support per PN.

  3. #3
    Contao-Nutzer Avatar von luv76
    Registriert seit
    19.05.2010.
    Ort
    Naumburg Saale
    Beiträge
    26

    Standard

    danke danke schein zu gehen.

    lg
    kai

Aktive Benutzer

Aktive Benutzer

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

Ähnliche Themen

  1. Fehler nach Update
    Von chr.flader im Forum Allgemeine Inhaltselemente
    Antworten: 1
    Letzter Beitrag: 03.06.2010, 13:35
  2. Antworten: 3
    Letzter Beitrag: 07.05.2010, 12:14
  3. Fehler beim Aufrufen install.php nach eingabe des Passwortes
    Von sgluehe im Forum Installation / Update
    Antworten: 9
    Letzter Beitrag: 05.01.2010, 07:04
  4. Install script password
    Von tlightuser im Forum Installation / Update
    Antworten: 11
    Letzter Beitrag: 02.11.2009, 17:31

Lesezeichen

Lesezeichen

Berechtigungen

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