Ergebnis 1 bis 6 von 6

Thema: Anfang der webseite kommt immer "LITY or FITNESS FOR A PAR ....." defekte localconfig

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

    Standard Anfang der webseite kommt immer "LITY or FITNESS FOR A PAR ....." defekte localconfig

    hallo,

    seid heute früh kam auf jeder seite :

    PHP-Code:
    LITY or FITNESS FOR A PARTICULAR PURPOSESee 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 notplease visit the Free Software Foundation 
    website at 
    . * *
     
    PHP version 5 * @copyright Leo Feyer 2005-2011 * @author Leo Feyer * @
    package Config * @license LGPL * @filesource */ ?>LITY 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 . * * PHP version 5 * @copyright Leo Feyer 
    2005-2011 * @author Leo Feyer * @package Config * @license LGPL * 
    @filesource */ ?> 




    meine localconfig.php:

    PHP-Code:
    LITY 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */


    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */

    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */


    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */


    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */

    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */

    ### INSTALL SCRIPT START ###
    $GLOBALS['TL_CONFIG']['websitePath'] = '';
    $GLOBALS['TL_CONFIG']['useFTP'] = true;
    $GLOBALS['TL_CONFIG']['ftpHost'] = 'localhost';
    ..
    ..
    ..
    ..
    ..
    ..
    $GLOBALS['TL_CONFIG']['avatar_maxdims'] = 32;
    $GLOBALS['TL_CONFIG']['avatar_maxsize'] = 8;
    $GLOBALS['TL_CONFIG']['avatar_dir'] = 'tl_files/avatars';
    $GLOBALS['TL_CONFIG']['useSMTP'] = true;
    $GLOBALS['TL_CONFIG']['websiteTitle'] = '.: Naumburger Hussiten Kirschfest :.';
    ...
    ..
    ..
    $GLOBALS['TL_CONFIG']['allowedTags'] = '<fb:like><iframe><script><a><abbr><acronym><address><area><b><big><blockquote><br><base><bdo><button><caption><cite><code><col><colgroup><dd><del><div><dfn><dl><dt><em><form><fieldset><hr><h1><h2><h3><h4><h5><h6><i><img><input><ins><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>';
    $GLOBALS['TL_CONFIG']['cacheMode'] = 'both';
    $GLOBALS['TL_CONFIG']['customSections'] = 'banner';
    ### INSTALL SCRIPT STOP ###

    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */


    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */

    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */


    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */


    ?><?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

    /**
     * Contao Open Source CMS
     * Copyright (C) 2005-2011 Leo Feyer
     *
     * Formerly known as TYPOlight Open Source CMS.
     *
     * 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-2011
     * @author     Leo Feyer <http://www.contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */

    ?>
    nach dem ich den zusätlichen code gelsöcht hatte ging wieder alles.
    worann kann sowas liegen ?

    ich hatte auch schonmal bei einener anderen seite das die komplette localconfig.php
    als text inkl aller meiner passwörter in haeder ausgeben wurde.

    bitte im eine lösung

    lg
    kai

  2. #2
    Contao-Fan Avatar von Bandyt
    Registriert seit
    22.04.2010.
    Ort
    Bremen
    Beiträge
    808

    Standard

    Hattest du eine Erweiterung installiert oder selbst die Dateien kopiert/bearbeitet?
    Meine Erweiterungen: League Manager | Forum

  3. #3
    AG Core-Entwicklung Avatar von Psi
    Registriert seit
    19.06.2009.
    Ort
    Mittelfranken
    Beiträge
    930
    Partner-ID
    5583
    User beschenken
    Wunschliste

    Standard

    Kopier eine originale rein und ruf das install-tool auf.

  4. #4
    AG CMS-Garden
    Contao-Urgestein
    Avatar von lindesbs
    Registriert seit
    05.06.2009.
    Ort
    Oer-Erkenschwick
    Beiträge
    4.154
    Partner-ID
    keine
    User beschenken
    Wunschliste

    Standard

    Welche Contao Version ?

    Dort sind die PHP Bereiche mehrfach vorhanden. Das darf eigentlich nicht sein.

    Raeum mal auf.
    von Willi Voltz aus PR 500: Henry George sagte einmal: »Kultur ist Zusammenarbeit.«


    Contao-Hosting: begeisterter Uberspace-Nutzer

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

    Standard

    hallo,


    was soll ich aufräumen. wie verhällt es sich mit der config.php und der localconfig.php

    zb wenn ich den safe-mod hack nachhinein aktivieren möchte.

    ich dachte die daten stehen alle in der config.php und daraus wird die localconfig erzeugt.

    lg
    kai

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

    Standard

    Die config.php bringt Contao mit ,mit den Default Angaben.
    Alles davon abweichende muss in der localconfig.php stehen.
    Damit ist das dann auch updatesicher.
    Dort trägt auch das Install Tool die Daten ein, bzw. einiges vom Backend unter Einstellungen.
    Grüße, BugBuster
    "view source" is your guide.
    Danke an alle Amazon Wunschlisten Erfüller

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
  •