Ergebnis 1 bis 14 von 14

Thema: Umzug auf All Inkl - Probleme!

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

    Standard Umzug auf All Inkl - Probleme!

    Hallo!

    Hab eine Seite auf Allinkl umgehostet und dreh hier bald durch

    Zuerst ein paar Infos zu der Seite:
    - Läuft auf Contao 2.10.2
    - Contao Check habe ich drüber laufen lasse - alles grün, Safemode = Off
    - Datenbankverbindung steht, Die Seite lässt sich aufrufen
    - Die Seite liegt in einem Unterverzeichnis


    Folgende Dinge funktionieren nicht:

    1.Urls werden nicht umschrieben bzw. wenn ich in der Localconfig "rewriteURL" auf "true" setze bekomme ich bei unterseiten einen 404
    Ohne rewrite lassen sich auch alle Unterseiten problemlos aufrufen.

    2. Ein paar Icons werden nicht angezeigt

    3. Ich kann das backend nicht erreichen. Es kommt folgenden Fehlermeldung:

    Code:
    thrown in /www/htdocs/xxxxxx/xxxxxx/system/libraries/File.php on line 109
    
    #0 /www/htdocs/xxxxxxx/xxxxxx/system/libraries/Combiner.php(163): File->__construct('system/scripts/...')
    #1 /www/htdocs/xxxxxxx/xxxxxx/system/modules/backend/templates/be_login.html5(11): Combiner->getCombinedFile()
    #2 /www/htdocs/xxxxxxx/xxxxxx/system/libraries/Template.php(246): include('/www/htdocs/w01...')
    #3 /www/htdocs/xxxxxxx/xxxxxx/system/modules/backend/BackendTemplate.php(49): Template->parse()
    #4 /www/htdocs/xxxxxxx/xxxxxx/system/modules/backend/BackendTemplate.php(153): BackendTemplate->parse()
    #5 /www/htdocs/xxxxxxx/xxxxxx/contao/index.php(129): BackendTemplate->output()
    #6 /www/htdocs/xxxxxxx/xxxxxx/contao/index.php(138): Index->run()
    #7 {main}


    Was ich schon probiert habe bzw. meine aktuellen Einstellungen:

    1. Im All Inkl KAS habe ich die Besitzerrechte auf den gleichen user wie bei "Login" gestellt und das Häkchen bei "rekursiv" angeklickt.

    2. Meiner Htacces habe ich die Zeile verpasst:
    Code:
    AddHandler php-fastcgi .php
    auch mit dem hier hats nicht funktioniert:
    Code:
    AddHandler php54-cgi .php
    Die ganze .htaccess Datei sieht so aus:
    Code:
    ##
    # Contao Open Source CMS
    # Copyright (C) 2005-2012 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-2012
    # @author     Leo Feyer <http://www.contao.org>
    # @license    LGPL
    ##
    
    AddHandler php-fastcgi .php
    
    ##
    # Disable ETags
    # @see http://developer.yahoo.com/performance/rules.html#etags
    ##
    FileETag None
    
    ##
    # Prevent access to the Contao template files
    ##
    <FilesMatch "\.(tpl|html5|xhtml)$">
      Order allow,deny
      Deny from all
    </FilesMatch>
    
    <IfModule mod_mime.c>
    
      ##
      # Serve the correct content type for .htc files (CSS3 PIE)
      # @see http://css3pie.com/documentation/known-issues/#content-type
      ##
      AddType text/x-component .htc
    
    </IfModule>
    
    <IfModule mod_deflate.c>
    
      ##
      # Use mod_deflate to compress JavaScript, CSS, XML, HTML and PHP files.
      # @see http://developer.yahoo.com/performance/rules.html#gzip
      ##
      <FilesMatch "\.(css|js|xml|html?|php)$">
        SetOutputFilter DEFLATE
      </FilesMatch>
    
    </IfModule>
    
    <IfModule mod_headers.c>
    
      ##
      # Disable ETags
      # @see http://developer.yahoo.com/performance/rules.html#etags
      ##
      Header unset ETag
    
      ##
      # Add a Vary Accept-Encoding header for the compressed resources. If you
      # modify the file types above, make sure to change them here accordingly.
      # @see http://developer.yahoo.com/performance/rules.html#gzip
      ##
      <FilesMatch "\.(js|css|xml|gz)$">
        Header append Vary Accept-Encoding
      </FilesMatch>
    
    </IfModule>
    
    <IfModule mod_expires.c>
    
      ##
      # Activate the module
      ##
      ExpiresActive On
    
      ##
      # Specify an expiration 30 days in the future for images, JavaScripts and
      # CSS files. Edit or remove the lines to set up your own expiration logic.
      # @see http://developer.yahoo.com/performance/rules.html#expires
      ##
      ExpiresByType image/png A2592000
      ExpiresByType image/gif A2592000
      ExpiresByType image/jpg A2592000
      ExpiresByType image/jpeg A2592000
      ExpiresByType text/javascript A2592000
      ExpiresByType application/x-javascript A2592000
      ExpiresByType application/javascript A2592000
      ExpiresByType text/css A2592000
      ExpiresByType image/x-icon A2592000
    
    </IfModule>
    
    <IfModule mod_rewrite.c>
    
      ##
      # Activate the module
      ##
      RewriteEngine On
    
      ##
      # Change the RewriteBase if your Contao installation is in a subdirectoy and
      # the rewrite rules are not working properly. Usage examples:
      #
      #   RewriteBase /contao-2.11.0
      #   RewriteBase /path/to/contao
      #
      # Depending on your server, you might have to remove the line entirely. 
      ##
      RewriteBase /xxxxxxx
    
      ##
      # 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]
    
      ##
      # If you cannot use mod_deflate, uncomment the following lines to load a
      # compressed .gz version of the aggregated Contao JavaScript and CSS files.
      ##
      #AddEncoding gzip .gz
      #<FilesMatch "\.js\.gz$">
      #  AddType "text/javascript" .gz
      #</FilesMatch>
      #<FilesMatch "\.css\.gz$">
      #  AddType "text/css" .gz
      #</FilesMatch>
      #RewriteCond %{HTTP:Accept-encoding} gzip
      #RewriteCond %{REQUEST_FILENAME} \.(js|css)$
      #RewriteCond %{REQUEST_FILENAME}.gz -f
      #RewriteRule ^(.*)$ $1.gz [QSA,L]
    
      ##
      # Do not rewrite requests for static files or folders such as style sheets,
      # images, movies or text documents. Do not add the URL suffix here!
      ##
      <FilesMatch "\.(png|gif|jpe?g|js|css|ico|php|xml|csv|txt|gz|swf|flv|eot|woff|svg|ttf|htm)$">
        RewriteEngine Off
      </FilesMatch>
    
      ##
      # 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 .*\.txt$ index.php [L]    # URL suffix .txt
      #   RewriteRule .*\.json$ index.php [L]   # URL suffix .json
      #
      # If you do not want to use an URL suffix at all, you have to add a second
      # line to prevent URLs that point to folders from being rewritten (see #4031).
      #
      #   RewriteCond %{REQUEST_FILENAME} !-d
      #   RewriteRule .* index.php [L]
      #
      # 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]
    
      ##
      # The following rules are required if you want to pass the language as first
      # URL parameter (added in Contao 2.11). The first rule rewrites an empty URL
      # to the front end controller, the second one adds a missing trailing slash.
      ##
      RewriteRule ^[a-z]{2}/$ index.php [L]
      RewriteRule ^([a-z]{2})$ $1/ [R=301,L]
    
    </IfModule>


    Meine localconfig sieht so aus:

    Code:
    ### INSTALL SCRIPT START ###
    $GLOBALS['TL_CONFIG']['licenseAccepted'] = true;
    $GLOBALS['TL_CONFIG']['installPassword'] = 'xxx';
    $GLOBALS['TL_CONFIG']['encryptionKey'] = 'xxx';
    $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'] = 'xxx';
    $GLOBALS['TL_CONFIG']['latestVersion'] = '3.2.7';
    $GLOBALS['TL_CONFIG']['rewriteURL'] = false;
    $GLOBALS['TL_CONFIG']['secureDNS'] = 'auto';
    $GLOBALS['TL_CONFIG']['default_compression'] = 'none';
    $GLOBALS['TL_CONFIG']['default_css_minimizer'] = 'none';
    $GLOBALS['TL_CONFIG']['default_js_minimizer'] = 'none';
    $GLOBALS['TL_CONFIG']['displayErrors'] = true;
    $GLOBALS['TL_CONFIG']['traceDomainLink'] = false;
    $GLOBALS['TL_CONFIG']['allowedTags'] = '<a><abbr><acronym><address><area><article><aside><b><big><blockquote><br><base><bdo><button><caption><cite><code><col><colgroup><dd><del><div><dfn><dl><dt><em><figure><figcaption><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><section><select><small><span><strong><sub><sup><style><table><tbody><td><textarea><tfoot><th><thead><tr><tt><u><ul><script><iframe><nav>';
    $GLOBALS['TL_CONFIG']['maxFileSize'] = 20480000;
    $GLOBALS['TL_CONFIG']['imageWidth'] = 8000;
    $GLOBALS['TL_CONFIG']['imageHeight'] = 6000;
    $GLOBALS['TL_CONFIG']['minifyMarkup'] = false;
    $GLOBALS['TL_CONFIG']['gzipScripts'] = false;
    $GLOBALS['TL_CONFIG']['installCount'] = 0;
    $GLOBALS['TL_CONFIG']['path_routes'] = 'a:1:{i:0;a:3:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";}}';
    $GLOBALS['TL_CONFIG']['uploadTypes'] = 'jpg,jpeg,gif,png,ico,csv,doc,docx,xls,xlsx,ppt,pptx,odt,ods,odp,pdf,mp3,mp4,m4a,m4v,webm,ogg,wma,wmv,ram,rm,mov,fla,flv,swf,css,html,htm,txt,zip,cto,eot,svg,ttf,woff';
    $GLOBALS['TL_CONFIG']['websitePath'] = '';
    $GLOBALS['TL_CONFIG']['cron_weekly'] = 201408;
    $GLOBALS['TL_CONFIG']['cron_daily'] = 20140221;
    $GLOBALS['TL_CONFIG']['cacheMode'] = 'none';
    ### INSTALL SCRIPT STOP ###



    Ich hoffe es hat jemand noch Vorschläge für mich. Wäre für jeglich Hilfe sehr dankbar!
    Danke!
    Geändert von shmelman (21.02.2014 um 21:24 Uhr)

  2. #2
    Contao-Fan
    Registriert seit
    19.06.2009.
    Ort
    Mittelhessen
    Beiträge
    463

    Standard

    Hast Du schon mal die install.php nach dem Umzug ausgeführt?
    Vielleicht sind die Pfade in der pathconfig.php nicht richtig gesetzt.

    Kann es sein, dass die Fehlermeldung nicht vollständig ist? Irgendwie meine ich, da stehen am Anfang doch meist noch andere Angaben.

  3. #3
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    Hm, läuft dein all-inkl Webspace by default mit PHP 5.3 oder höher? Bei einem all-inkl Webspace den ich verwalte muss ich
    Code:
    AddHandler php53-cgi .php
    in die .htaccess hinzufügen, damit das der Fall ist, ansonsten würde Contao nicht funktioniern (benötigt mindestens PHP 5.3).

  4. #4
    Contao-Nutzer
    Registriert seit
    23.11.2009.
    Beiträge
    25

    Standard

    Hallo!


    Die Install.php habe ich aufgerufen. Unterhalb erscheinen noch folgende Fehlermeldungen:

    Code:
    Warning: fopen(/www/htdocs/xxxxxx/xxxxxxx/system/tmp/43106567dc8bb659391dd47f14e7e886): failed to open stream: Permission denied in /www/htdocs/xxxxxx/xxxxxx/system/libraries/Config.php on line 215
    
    #0 [internal function]: __error(2, 'fopen(/www/htdo...', '/www/htdocs/w01...', 215, Array)
    #1 /www/htdocs/w0119e13/xxxxxx/system/libraries/Config.php(215): fopen('/www/htdocs/w01...', 'wb')
    #2 /www/htdocs/w0119e13/xxxxxx/system/libraries/Config.php(102): Config->save()
    #3 [internal function]: Config->__destruct()
    #4 {main}
    
    
    Warning: fputs() expects parameter 1 to be resource, boolean given in /www/htdocs/xxxxxx/xxxxxxx/system/libraries/Config.php on line 216
    
    #0 [internal function]: __error(2, 'fputs() expects...', '/www/htdocs/w01...', 216, Array)
    #1 /www/htdocs/w0119e13/xxxxxx/system/libraries/Config.php(216): fputs(false, 'save()
    #3 [internal function]: Config->__destruct()
    #4 {main}
    
    
    Warning: fclose() expects parameter 1 to be resource, boolean given in /www/htdocs/xxxxxx/xxxxxxx/system/libraries/Config.php on line 217
    
    #0 [internal function]: __error(2, 'fclose() expect...', '/www/htdocs/w01...', 217, Array)
    #1 /www/htdocs/w0119e13/xxxxxx/system/libraries/Config.php(217): fclose(false)
    #2 /www/htdocs/w0119e13/xxxxxx/system/libraries/Config.php(102): Config->save()
    #3 [internal function]: Config->__destruct()
    #4 {main}

  5. #5
    Contao-Urgestein
    Registriert seit
    03.06.2010.
    Ort
    Wuppertal
    Beiträge
    2.149
    User beschenken
    Wunschliste

    Standard

    Einmal deinen gesamten Cache löschen.

    Du hast vor der Umstellung eine Session gestartet die sich Contao gemerkt hat und jetzt versucht wieder zu starten. Da sich aber der tmp Ordner geändert hat, kann die Session natürlich nicht wieder neu gestartet werden.
    Deshalb lokal einmal löschen und fertig.

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

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Hm, läuft dein all-inkl Webspace by default mit PHP 5.3 oder höher? Bei einem all-inkl Webspace den ich verwalte muss ich
    Code:
    AddHandler php53-cgi .php
    in die .htaccess hinzufügen, damit das der Fall ist, ansonsten würde Contao nicht funktioniern (benötigt mindestens PHP 5.3).
    Die Contao Version wird im all inkl KAS als 5.4.24 angegeben.
    Hab jetzt versucht in die .htaccess folgendes zu schreiben:
    Code:
    AddHandler php54-cgi .php
    Es half leider nicht...

  7. #7
    Contao-Nutzer
    Registriert seit
    23.11.2009.
    Beiträge
    25

    Standard

    Zitat Zitat von Flex Beitrag anzeigen
    Einmal deinen gesamten Cache löschen.

    Du hast vor der Umstellung eine Session gestartet die sich Contao gemerkt hat und jetzt versucht wieder zu starten. Da sich aber der tmp Ordner geändert hat, kann die Session natürlich nicht wieder neu gestartet werden.
    Deshalb lokal einmal löschen und fertig.
    Hi!

    Meinst du mit lokal löschen den Browsercache?
    Den habe ich mehrfach gelöscht aber die Fehlermeldung kommt dennoch immer wieder..

  8. #8
    Contao-Urgestein
    Registriert seit
    03.06.2010.
    Ort
    Wuppertal
    Beiträge
    2.149
    User beschenken
    Wunschliste

    Standard

    Ja, eigentlich ist diese Fehlermeldung typisch für das o.g. Session Problem.

    Mal einen anderen Browser probiert ob der Fehler da auch noch auftritt?

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

    Standard

    Zitat Zitat von Flex Beitrag anzeigen
    Ja, eigentlich ist diese Fehlermeldung typisch für das o.g. Session Problem.

    Mal einen anderen Browser probiert ob der Fehler da auch noch auftritt?
    Hi!

    Hab grad den Safari mit geleertem Cache probiert. Selber Fehler...

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

    Support Contao

    Standard

    Eventuell auch mal die Cookies der Domain löschen.

  11. #11
    Contao-Nutzer
    Registriert seit
    23.11.2009.
    Beiträge
    25

    Standard

    Zitat Zitat von tab Beitrag anzeigen
    Eventuell auch mal die Cookies der Domain löschen.
    hi!

    hab ich auch probiert. hilft leider auch nicht..

  12. #12
    Contao-Nutzer Avatar von Mr. Acylase
    Registriert seit
    24.01.2011.
    Ort
    Waldbrunn / Westerwald
    Beiträge
    151

    Standard

    Hi,
    Zu 1
    Lösche mal in der .htaccess die Pfad Angabe bei RewriteBase so dass folgendes dort steht RewriteBase /

    Grüße Stefan

    Gesendet von meinem Lenovo S6000L-F mit Tapatalk

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

    Standard

    Zitat Zitat von Mr. Acylase Beitrag anzeigen
    Hi,
    Zu 1
    Lösche mal in der .htaccess die Pfad Angabe bei RewriteBase so dass folgendes dort steht RewriteBase /

    Grüße Stefan

    Gesendet von meinem Lenovo S6000L-F mit Tapatalk

    hi!

    leider keine besserung...

  14. #14
    Alter Contao-Hase
    Registriert seit
    18.07.2012.
    Ort
    Löbau
    Beiträge
    1.140

    Standard

    Mh komisch hatte da noch nie Probleme.

    Kannst du deine Installation nicht local auf 2.11.3 updaten dann bei all-inkl per Softwareinstallationstool die Contao 2.11.3 installieren lassen, datenbank importen/datein hochladen und checken..

    So in der art hatte es bei mir mal geholfen (andere provider)

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
  •