Contao-Camp 2024
Ergebnis 1 bis 3 von 3

Thema: Nach Umzug zu all-inkl Fronten nicht erreichbar

  1. #1
    Contao-Nutzer
    Registriert seit
    02.01.2011.
    Beiträge
    10

    Standard Nach Umzug zu all-inkl Fronten nicht erreichbar

    Hallo,

    ich versuche nun schon seit Tagen verzweifelt meine Seite www.dock43.de von 1&1 erstmal testweise zu all-inkl umzuziehen www.madeleinedewald.de/cms (... will endlich mit all meinen Seiten weg von 1&1).
    Sorry, ich weiss, Conto 2.10 ist nun wirklich ein Oldtimer und soll auch bald von einer neuen Version abgelöst werden, aber die neue Seite ist einfach noch nicht fertig.
    Mit Hilfe des Forums habe ich es nun nach diversen Neuinstallationen und neu angelegten Datenbanken endlich geschafft zumindest ins Backend zu kommen und auch Seiten, Artikel, etc. bearbeiten zu können (vielen, vielen Dank dafür!).

    Contao-Check zeigt mir alles grün, ausser fehlender htaccess-Dateien in den Modulen (ist aber so glaube ich zu vernachlässigen, weil in der Quellinstallation bei 1&1 auch nicht vorhanden):
    Code:
    system/modules/backend/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/backend/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/backend/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/backend/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/backend/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/calendar/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/calendar/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/calendar/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/calendar/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/calendar/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/comments/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/comments/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/comments/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/comments/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/comments/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/faq/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/faq/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/faq/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/faq/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/faq/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/frontend/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/frontend/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/frontend/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/frontend/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/listing/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/listing/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/listing/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/listing/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/listing/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/news/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/news/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/news/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/news/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/news/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/newsletter/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/newsletter/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/newsletter/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/newsletter/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/newsletter/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/registration/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/registration/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/registration/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/registration/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/registration/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rep_base/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rep_base/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rep_base/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rep_client/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rep_client/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rep_client/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rep_client/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rep_client/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rss_reader/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rss_reader/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rss_reader/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rss_reader/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/rss_reader/templates/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/tpl_editor/config/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/tpl_editor/dca/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/tpl_editor/languages/de/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    system/modules/tpl_editor/languages/en/.htaccess	•	-	664, 644, 660, 640	•	-	w014672e	•	File	Missing
    Die htaccess im root sieht folgendermaßen aus:
    Code:
    AddHandler php52-cgi .php
    
    #AddType x-mapp-php5 .php
    #AddHandler x-mapp-php5 .php
    ##
    # Contao Open Source CMS
    # Copyright (C) 2005-2010 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-2010
    # @author     Leo Feyer <http://www.contao.org>
    # @license    LGPL
    ##
    
    
    <IfModule mod_deflate.c>
    
      ##
      # Use mod_deflate to compress JavaScript, CSS and XML files. Do not add
      # PHP and HTML files, because those have already been compressed by Contao.
      ##
      <FilesMatch "\.(css|js|xml)$">
        SetOutputFilter DEFLATE
      </FilesMatch>
    
    </IfModule>
    
    <IfModule mod_headers.c>
    
      ##
      # Add a Vary Accept-Encoding header for the compressed resources. If you
      # modify the file types above, make sure to change them here accordingly.
      ##
      <FilesMatch "\.(js|css|xml|gz)$">
        Header append Vary Accept-Encoding
      </FilesMatch>
    
    </IfModule>
    
    <IfModule mod_expires.c>
      ExpiresActive On
    
      ##
      # Specify an expiration one week in the future for images, JavaScripts and
      # CSS files (as recommended by Google Page Speed). Edit or remove the lines
      # to set up your own expiration logic.
      ##
      ExpiresByType image/png A604800
      ExpiresByType image/gif A604800
      ExpiresByType image/jpg A604800
      ExpiresByType image/jpeg A604800
      ExpiresByType text/javascript A604800
      ExpiresByType application/x-javascript A604800
      ExpiresByType text/css A604800
    
    </IfModule>
    
    <IfModule mod_rewrite.c>
      RewriteEngine On
    
      ##
      # Set the RewriteBase if your Contao installation is in a subdirectoy and
      # the rewrite rules are not working properly. Usage examples:
      #
      #   RewriteBase /contao-2.9.0
      #   RewriteBase /path/to/contao
      #
      # Uncomment the following line to set the RewriteBase.
      ##
      RewriteBase /
    
      ##
      # Contao usually does not pass absolute URLs via GET, therefore the
      # following rules block all requests that try to pass a URL or the /etc/
      # directory as parameter (malicious requests).
      ##
      RewriteCond %{REQUEST_URI} (ftp|https?):|/etc/ [NC,OR]
      RewriteCond %{QUERY_STRING} (ftp|https?):|/etc/ [NC]
      RewriteRule .* - [F,L]
    
      ##
      # Uncomment the following lines and replace "domain.com" with your domain
      # name to redirect requests without "www" to the correct domain. 
      ##
      #RewriteCond %{HTTP_HOST} ^domain\.com [NC]
      #RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
    
      ##
      # Do not rewrite requests for static files or folders such as style sheets,
      # images, movies or text documents.
      ##
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
    
      ##
      # By default, Contao adds ".html" to the generated URLs to simulate static
      # HTML documents. If you change the URL suffix in the back end settings, make
      # sure to change it here accordingly!
      #
      #   RewriteRule .*\.html$ index.php [L]   # URL suffix .html
      #   RewriteRule .* index.php [L]          # No URL suffix
      #   RewriteRule .*\.txt$ index.php [L]    # URL suffix .txt
      #
      # If you are using mod_cache, it is recommended to use the RewriteRule below,
      # which adds the query string to the internal URL:
      # 
      #   RewriteRule (.*\.html)$ index.php/$1 [L]
      #
      # Note that not all environments support mod_rewrite and mod_cache!
      ##
      RewriteRule .*\.html$ index.php [L]
    
    </IfModule>
    und meine localconfig so:
    PHP-Code:
    <?php if (!defined('TL_ROOT')) die('You can not access this file directly!');

    /**
     * TYPOlight webCMS
     * Copyright (C) 2005-2009 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 2.1 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-2009
     * @author     Leo Feyer <leo@https://contao.org>
     * @package    Config
     * @license    LGPL
     * @filesource
     */

    ### INSTALL SCRIPT START ###
    $GLOBALS['TL_CONFIG']['displayErrors'] = false;
    $GLOBALS['TL_CONFIG']['websitePath'] = '/cms';
    $GLOBALS['TL_CONFIG']['encryptionKey'] = 'e0f4583ffe3bf9ddbcfff1d081052a8b';
    $GLOBALS['TL_CONFIG']['dbDriver'] = 'MySQL';
    $GLOBALS['TL_CONFIG']['dbHost'] = 'localhost';
    $GLOBALS['TL_CONFIG']['dbUser'] = 'xxx';
    $GLOBALS['TL_CONFIG']['dbPass'] = 'xxx';
    $GLOBALS['TL_CONFIG']['dbDatabase'] = 'xxx';
    $GLOBALS['TL_CONFIG']['dbPconnect'] = false;
    $GLOBALS['TL_CONFIG']['dbCharset'] = 'UTF8';
    $GLOBALS['TL_CONFIG']['dbPort'] = 3306;
    $GLOBALS['TL_CONFIG']['adminEmail'] = 'basis@dock43.de';
    $GLOBALS['TL_CONFIG']['dateFormat'] = 'd.m.Y';
    $GLOBALS['TL_CONFIG']['datimFormat'] = 'd.m.Y H:i';
    $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']['useFTP'] = true;
    $GLOBALS['TL_CONFIG']['ftpHost'] = 'w014672e.kasserver.com';
    $GLOBALS['TL_CONFIG']['ftpPath'] = '/madeleinedewald.de/cms/';
    $GLOBALS['TL_CONFIG']['ftpUser'] = 'w014672e';
    $GLOBALS['TL_CONFIG']['ftpPass'] = 'xxx';
    $GLOBALS['TL_CONFIG']['installPassword'] = 'ab3e17b1c3fb3a1560d3963c11d7840451088996:01e73d7a086b9a8c5756120';
    $GLOBALS['TL_CONFIG']['exampleWebsite'] = 1265287851;
    $GLOBALS['TL_CONFIG']['websiteTitle'] = 'DOCK 43 Agentur für Film und Design';
    $GLOBALS['TL_CONFIG']['yw_youtube_rel'] = false;
    $GLOBALS['TL_CONFIG']['yw_youtube_fs'] = true;
    $GLOBALS['TL_CONFIG']['yw_youtube_showinfo'] = false;
    $GLOBALS['TL_CONFIG']['maxImageWidth'] = 1200;
    $GLOBALS['TL_CONFIG']['installCount'] = 0;
    $GLOBALS['TL_CONFIG']['inactiveModules'] = 'a:26:{i:0;s:16:"browserdetection";i:1;s:8:"calendar";i:2;s:9:"ce_slider";i:3;s:14:"changelanguage";i:4;s:13:"ch_flowplayer";i:5;s:8:"comments";i:6;s:14:"dlh_googlemaps";i:7;s:3:"faq";i:8;s:8:"fastedit";i:9;s:7:"favicon";i:10;s:8:"glossary";i:11;s:21:"interlake-videoplayer";i:12;s:10:"memberlist";i:13;s:12:"mooquee4ward";i:14;s:4:"news";i:15;s:10:"pageimages";i:16;s:9:"pageimage";i:17;s:13:"randomarticle";i:18;s:12:"registration";i:19;s:10:"rss_reader";i:20;s:14:"simple_columns";i:21;s:10:"slideitmoo";i:22;s:8:"videobox";i:23;s:6:"xgrind";i:24;s:10:"yw_youtube";i:25;s:10:"z_keywords";}';
    $GLOBALS['TL_CONFIG']['imageHeight'] = 1600;
    $GLOBALS['TL_CONFIG']['latestVersion'] = '3.5.9';
    $GLOBALS['TL_CONFIG']['liveUpdateId'] = '4526-e922-ce8b-f60d-7f1b';
    $GLOBALS['TL_CONFIG']['jpgQuality'] = 100;
    $GLOBALS['TL_CONFIG']['imageWidth'] = 1200;
    $GLOBALS['TL_CONFIG']['defaultUser'] = 1;
    $GLOBALS['TL_CONFIG']['defaultGroup'] = 1;
    $GLOBALS['TL_CONFIG']['resultsPerPage'] = 30;
    $GLOBALS['TL_CONFIG']['css_editor_fontFamily'] = 'Monospace';
    $GLOBALS['TL_CONFIG']['repository_unsafe_catalog'] = true;
    $GLOBALS['TL_CONFIG']['enableGZip'] = true;
    $GLOBALS['TL_CONFIG']['rewriteURL'] = true;
    $GLOBALS['TL_CONFIG']['secureDNS'] = 'auto';
    $GLOBALS['TL_CONFIG']['licenseAccepted'] = true;
    $GLOBALS['TL_CONFIG']['dbCollation'] = 'utf8_general_ci';
    $GLOBALS['TL_CONFIG']['customSections'] = '';
    $GLOBALS['TL_CONFIG']['cron_weekly'] = 201612;
    $GLOBALS['TL_CONFIG']['cron_daily'] = 20160325;
    ### INSTALL SCRIPT STOP ###

    ?>
    Ach so und die Domain läuft bei all-inkl auf PhP 5.6 (CGI)

    Hat vielleicht jemand von Euch eine Idee, warum ich die Seite im Frontend nicht aufrufen kann? Ich weiss gerade nicht, was ich sonst noch probieren kann.

    Beste Grüße
    Oli

  2. #2
    Contao-Urgestein Avatar von do_while
    Registriert seit
    15.06.2009.
    Ort
    Berlin | Deutschland
    Beiträge
    3.612
    Partner-ID
    1081
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Hallo Oli

    1)
    Ich kann es im Moment nicht testen, aber es könnte sein, dass Deine 2.10 nicht richtig in PHP 5.6 läuft. Gehe doch mal testweise auf "PHP 5.4 (als CGI/FPM)" (in der Domaineinstellung im KAS) zurück.

    2)
    Lösche mal die AddHandler- und AddType-Zeilen am Anfang der .htaccess raus, die brauchst Du bei All-Inkl nicht, wenn Du in der Domaineinstellung die richtige PHP-Version eingestellt hast.

    In der .htaccess musst Du noch die Zeile RewriteBase / auf "/cms" setzen

    3)
    Die .htaccess-Dateien in den Unterverzeichnissen sind nicht für den Betrieb notwendig. Sie sind "nur" für die Sicherheit der Installation vorhanden. Du solltest die Dateien allerdings unbedingt nachinstallieren! Auch die noch in Contao 2.10 notwendigen Sicherheitspatches sind zu installieren (siehe https://c-c-a.org/aktuelles/sicherheitsupdates)

    4)
    In der localconfig.php hast Du die neuen Daten für den Datenbankzugriff eingetragen?
    In dbDriver trage bitte "MySQLi" ein.
    Hast Du mit einem UTF-8-fähigen Editor gearbeitet? Sonst könnte es sein, dass Du die Datei mit BOM gespeichert hast, das kann dazu führen, dass nichts angezeigt wird.


    Soweit erstmal, was mir so aufgefallen ist.
    Vielleicht geht es dann schon ...

  3. #3
    Contao-Nutzer
    Registriert seit
    02.01.2011.
    Beiträge
    10

    Standard

    Hallo Hagen,

    es läuft wieder. PhP auf 5.4 gesetzt, ReWriteBase und dbDriver geändert und siehe da, es funktioniert. Puh!

    Ganz herzlichen Dank und schöne Ostertage wünscht

    Oli

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
  •