Ergebnis 1 bis 16 von 16

Thema: GELÖST - Darstellungsfehler nach Umzug auf anderen Webserver

  1. #1
    Contao-Nutzer
    Registriert seit
    23.02.2016.
    Beiträge
    59

    Standard GELÖST - Darstellungsfehler nach Umzug auf anderen Webserver

    Guten Morgen liebe Community!

    Ich habe gestern eine Homepage für einen Kunden fertiggestellt und diese dann auf den gewünschten Webserver hochgeladen.

    Nun ist das Problem, dass bei drei verschiedenen Browsern die Seite an manchen Stellen falsch dargestellt wird - Firefox rendert die Webseite allerdings problemlos...

    Nach langem Suchen und überlegen hatte ich gestern Abend beschlossen mich heute mit frischer Energie an die Fehlersuche ran zu machen, da ist mir auch dann gleich in der Früh (beim Spaziergang mit den Hunden - frische Luft am Morgen kann schon oft sehr hilfreich sein ) eingefallen, dass ich genau den selben Fehler schon mal hatte!
    Er wurde damals in diesem Thread behandelt https://community.contao.org/de/show...747#post433747
    ...ziemlich am Ende ...die Sache mit dem BOM


    Bei der aktuellen Webseite wurden folgende zwei Dateien von mir bearbeitet:

    localconfig.php
    .htaccess

    Seit einer Stunde sehe ich mir nun diese zwei Dateien an und kann einfach keinen BOM entdecken... -.-

    Der Hoster hat mich gestern darum gebeten, dass ich bei der .htaccess folgende zwei Zeilen rein schreibe:
    Action php /cgi-php7/php
    AddHandler php7 .php

    localconfig:
    PHP-Code:
    <?php

    ### INSTALL SCRIPT START ###
    $GLOBALS['TL_CONFIG']['licenseAccepted'] = true;
    $GLOBALS['TL_CONFIG']['installPassword'] = '****';
    $GLOBALS['TL_CONFIG']['encryptionKey'] = '****';
    $GLOBALS['TL_CONFIG']['dbDriver'] = 'MySQLi';
    $GLOBALS['TL_CONFIG']['dbHost'] = 'localhost';
    $GLOBALS['TL_CONFIG']['dbUser'] = '***';
    $GLOBALS['TL_CONFIG']['dbPass'] = '***';
    $GLOBALS['TL_CONFIG']['dbDatabase'] = '***';
    $GLOBALS['TL_CONFIG']['dbPconnect'] = false;
    $GLOBALS['TL_CONFIG']['dbCharset'] = 'UTF8';
    $GLOBALS['TL_CONFIG']['dbPort'] = 3306;
    $GLOBALS['TL_CONFIG']['dbSocket'] = '';
    $GLOBALS['TL_CONFIG']['adminEmail'] = '***';
    $GLOBALS['TL_CONFIG']['latestVersion'] = '3.5.34';
    $GLOBALS['TL_CONFIG']['maintenanceMode'] = false;
    $GLOBALS['TL_CONFIG']['installCount'] = 0;
    $GLOBALS['TL_CONFIG']['exampleWebsite'] = 1517237406;
    $GLOBALS['TL_CONFIG']['pct_themedesigner_hidden'] = true;
    $GLOBALS['TL_CONFIG']['websiteTitle'] = 's\'Kulinarium - Catering für verwöhnte Gaumen';
    $GLOBALS['TL_CONFIG']['fontawesome'] = 'local';
    $GLOBALS['TL_CONFIG']['fontaweseomeSource'] = 'local';
    $GLOBALS['TL_CONFIG']['liveUpdateId'] = '';
    $GLOBALS['TL_CONFIG']['iconStylesheets'] = 'a:6:{i:0;s:36:"20a36fe2-a0ae-11e4-96da-33282f75bc4e";i:1;s:36:"20a36fd8-a0ae-11e4-96da-33282f75bc4e";i:2;s:36:"20a36fc4-a0ae-11e4-96da-33282f75bc4e";i:3;s:36:"20a36fba-a0ae-11e4-96da-33282f75bc4e";i:4;s:36:"a7c9958c-2f94-11e5-8803-a7a5456c4d40";i:5;s:36:"20a36fec-a0ae-11e4-96da-33282f75bc4e";}';
    $GLOBALS['TL_CONFIG']['maxFileSize'] = 6048000;
    $GLOBALS['TL_CONFIG']['rewriteURL'] = true;
    ### INSTALL SCRIPT STOP ###
    .htaccess
    PHP-Code:
    Action php /cgi-php7/php
    AddHandler php7 
    .php

    ##
    # Contao Open Source CMS
    #
    # Copyright (c) 2005-2016 Leo Feyer
    #
    # @license LGPL-3.0+
    ##

    ##
    # Prevent access to the Contao template files
    ##
    <FilesMatch "\.(tpl|html5|xhtml)$">
      <
    IfModule !mod_authz_core.c>
        
    Order deny,allow
        Deny from all
      
    </IfModule>
      <
    IfModule mod_authz_core.c>
        Require 
    all denied
      
    </IfModule>
    </
    FilesMatch>

    ##
    # Allow access from all domains for webfonts
    # @see https://github.com/h5bp/html5-boilerplate
    ##
    <IfModule mod_headers.c>
      <
    FilesMatch "\.(ttf|ttc|otf|eot|woff2?|font\.css)$">
        
    Header set Access-Control-Allow-Origin "*"
      
    </FilesMatch>
    </
    IfModule>

    ##
    # Disable ETags
    # @see http://developer.yahoo.com/performance/rules.html#etags
    ##
    FileETag None
    <IfModule mod_headers.c>
      
    Header unset ETag
    </IfModule>

    ##
    # Set the proper MIME types
    # @see https://github.com/h5bp/html5-boilerplate
    ##
    <IfModule mod_mime.c>
      
    AddType application/javascript              js jsonp
      AddType application
    /json                    json
      AddType audio
    /ogg                           oga ogg
      AddType audio
    /mp4                           m4a f4a f4b
      AddType video
    /ogg                           ogv
      AddType video
    /mp4                           mp4 m4v f4v f4p
      AddType video
    /webm                          webm
      AddType video
    /x-flv                         flv
      AddType image
    /svg+xml                       svg svgz
      AddEncoding gzip                            svgz
      AddType application
    /vnd.ms-fontobject       eot
      AddType application
    /x-font-ttf              ttf ttc
      AddType font
    /opentype                       otf
      AddType application
    /x-font-woff             woff woff2
      AddType image
    /x-icon                        ico
      AddType image
    /webp                          webp
      AddType text
    /cache-manifest                 appcache manifest
      AddType text
    /x-component                    htc
      AddType application
    /xml                     rss atom xml rdf
      AddType application
    /x-web-app-manifest+json webapp
      AddType text
    /x-vcard                        vcf
      AddType application
    /x-shockwave-flash       swf
    </IfModule>

    ##
    # Gzip compression
    # @see https://github.com/h5bp/html5-boilerplate
    ##
    <IfModule mod_deflate.c>
      <
    IfModule mod_filter.c>
        
    AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
        AddOutputFilterByType DEFLATE application
    /javascript
        AddOutputFilterByType DEFLATE text
    /xml application/xml text/x-component
        AddOutputFilterByType DEFLATE application
    /xhtml+xml application/rss+xml application/atom+xml
        AddOutputFilterByType DEFLATE image
    /x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
      
    </IfModule>
    </
    IfModule>

    ##
    # Expires headers (for better cache control)
    # @see https://github.com/h5bp/html5-boilerplate
    ##
    <IfModule mod_expires.c>
      
    ExpiresActive on

      
    ##
      # Productional website
      ##
      
    ExpiresByType text/cache-manifest           "access plus 0 seconds"
      
    ExpiresByType text/html                     "access plus 0 seconds"
      
    ExpiresByType text/xml                      "access plus 0 seconds"
      
    ExpiresByType application/xml               "access plus 0 seconds"
      
    ExpiresByType application/json              "access plus 0 seconds"
      
    ExpiresByType application/rss+xml           "access plus 1 hour"
      
    ExpiresByType application/atom+xml          "access plus 1 hour"
      
    ExpiresByType image/gif                     "access plus 1 month"
      
    ExpiresByType image/png                     "access plus 1 month"
      
    ExpiresByType image/jpeg                    "access plus 1 month"
      
    ExpiresByType image/x-icon                  "access plus 1 month"
      
    ExpiresByType video/ogg                     "access plus 1 month"
      
    ExpiresByType audio/ogg                     "access plus 1 month"
      
    ExpiresByType video/mp4                     "access plus 1 month"
      
    ExpiresByType video/webm                    "access plus 1 month"
      
    ExpiresByType text/x-component              "access plus 1 month"
      
    ExpiresByType application/x-font-ttf        "access plus 1 month"
      
    ExpiresByType font/opentype                 "access plus 1 month"
      
    ExpiresByType application/x-font-woff       "access plus 1 month"
      
    ExpiresByType image/svg+xml                 "access plus 1 month"
      
    ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
      
    ExpiresByType text/css                      "access plus 1 year"
      
    ExpiresByType application/javascript        "access plus 1 year"

      
    ##
      # Disable caching during development
      # @see https://github.com/contao/core/issues/4364
      ##
      #ExpiresByType text/cache-manifest           "access"
      #ExpiresByType text/html                     "access"
      #ExpiresByType text/xml                      "access"
      #ExpiresByType application/xml               "access"
      #ExpiresByType application/json              "access"
      #ExpiresByType application/rss+xml           "access"
      #ExpiresByType application/atom+xml          "access"
      #ExpiresByType image/gif                     "access"
      #ExpiresByType image/png                     "access"
      #ExpiresByType image/jpeg                    "access"
      #ExpiresByType image/x-icon                  "access"
      #ExpiresByType video/ogg                     "access"
      #ExpiresByType audio/ogg                     "access"
      #ExpiresByType video/mp4                     "access"
      #ExpiresByType video/webm                    "access"
      #ExpiresByType text/x-component              "access"
      #ExpiresByType application/x-font-ttf        "access"
      #ExpiresByType font/opentype                 "access"
      #ExpiresByType application/x-font-woff       "access"
      #ExpiresByType image/svg+xml                 "access"
      #ExpiresByType application/vnd.ms-fontobject "access"
      #ExpiresByType text/css                      "access"
      #ExpiresByType application/javascript        "access"

    </IfModule>

    ##
    # Header adjustments
    ##
    <IfModule mod_headers.c>

      
    ##
      # Disable caching during development
      # @see https://github.com/contao/core/issues/4364
      ##
      #Header unset Cache-Control
      #Header append Cache-Control must-revalidate

      ##
      # Do not cache the cron.txt file
      # @see https://github.com/contao/core/issues/5105
      ##
      
    <FilesMatch "cron\.txt$">
        
    Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"
      
    </FilesMatch>

      
    ##
      # 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
      #
      # Note: If you are using a case-sensitive file system like HFS+ or ext4, you
      # have to change the <FilesMatch> directive as follows:
      #
      # <FilesMatch "\.(?i:js|css|xml|gz|svgz)$">
      #
      # For more information see: https://github.com/contao/core/issues/4364
      ##
      
    <FilesMatch "\.(js|css|xml|gz|svgz)$">
        
    Header append Vary Accept-Encoding
      
    </FilesMatch>

      
    ##
      # Do not cache source map files
      # @see https://github.com/contao/core/issues/8532
      ##
      
    <FilesMatch "\.map$">
        
    Header set Expires "0"
        
    Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"
      
    </FilesMatch>

    </
    IfModule>

    ##
    # Disable MultiViews if you are having issues with requests returning the wrong
    # page. Requires AllowOverride Options=All,MultiViews to be set here.
    # @see https://github.com/contao/core/issues/3521
    ##
    #Options -MultiViews

    ##
    # URL rewriting
    ##
    <IfModule mod_rewrite.c>
      
    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-3.0.0
      #   RewriteBase /path/to/contao
      #
      # Depending on your server, you might have to remove the line entirely.
      ##
      
    RewriteBase /

      
    ##
      # Uncomment the following lines to add "www." to the domain:
      #
      #   RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
      #   RewriteRule (.*) http://www.example.com/$1 [R=301,L]
      #
      # Uncomment the following lines to remove "www." from the domain:
      #
      #   RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
      #   RewriteRule (.*) http://example.com/$1 [R=301,L]
      #
      # Make sure to replace "example.com" with your domain name.
      ##

      ##
      # 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 "application/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]

      ##
      # 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 third
      # 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.
      ##
      
    RewriteCond %{REQUEST_FILENAME} !\.(htm|php|js|css|map|htc|png|gif|jpe?g|ico|xml|csv|txt|swf|flv|mp4|webm|ogv|mp3|ogg|oga|eot|otf|tt[cf]|woff2?|svgz?|pdf|zip|gz)$
      
    RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule 
    .*\.htmlindex.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 the empty URL
      # to the front end controller, the second one adds a missing trailing slash.
      ##
      
    RewriteRule ^[a-z]{2}(\-[A-Z]{2})?/$ index.php [L]
      
    RewriteRule ^([a-z]{2}(\-[A-Z]{2})?)$ $1/ [R=301,L]

    </
    IfModule
    Kann es nun sein, dass der Fehler der damals durch den BOM ausgelöst wurde, hier nun durch diese zwei Zeilen entsteht?

    Vielen lieben Dank schon mal im Voraus!

    Link zur Webseite: www.skulinarium.at


    Edit:

    Es war (schon wieder) ein BOM
    Geändert von Llywellyn (06.04.2018 um 10:16 Uhr)

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

    Standard

    Zitat Zitat von Llywellyn Beitrag anzeigen
    Nun ist das Problem, dass bei drei verschiedenen Browsern die Seite an manchen Stellen falsch dargestellt wird - Firefox rendert die Webseite allerdings problemlos...
    Poste genaue Links und Browser Informationen.

  3. #3
    Contao-Nutzer
    Registriert seit
    23.02.2016.
    Beiträge
    59

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Poste genaue Links und Browser Informationen.

    Im Endeffekt sollte die Seite so aussehen wie hier -> vorschau.papers.co.at/skulinarium


    die Seite befindet sich nun hier www.skulinarium.at

    Bei den Browsern Chrome, Opera & Safari sind folgende Fehler:
    Die ganze Webseite hat nun oben einen Abstand und das Suchsymbol ist auch komplett verschoben.
    Auf den folgenden Sites "Party" "Business" "Brötchen & mehr" werden die 6 Bilder weiter unten falsch dargestellt.
    Ebenso wird das favicon.ico nicht angezeigt.

    Firefox hingegen rendert die Seite vollkommen fehlerfrei.

    Auf mobilen Geräten sind die Fehler allerdings ebenso vorhanden.


    Sag bitte Bescheid falls du sonst noch Informationen benötigst!

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

    Standard

    Poste bitte direkte Links (keine Beschreibung wie man zu der richtigen Seite kommt) und in welchen Browsern und Versionen der Fehler auftritt.

  5. #5
    Contao-Nutzer
    Registriert seit
    23.02.2016.
    Beiträge
    59

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Poste bitte direkte Links (keine Beschreibung wie man zu der richtigen Seite kommt) und in welchen Browsern und Versionen der Fehler auftritt.
    Browser:
    Chrome Version 65.0.3325.181 (Offizieller Build) (64-Bit)
    Opera 52.0.2871.40 - Opera ist auf dem neuesten Stand
    Safari Version 11.1 (12605.1.33.1.3)
    Firefox 59.0.2 (64-Bit)

    Fehlerfreie Darstellung der Webseite (in der Dev-Area)
    http://vorschau.papers.co.at/skulina....php/home.html

    Fehlerhafte Darstellung der Webseite (davon betroffen Chrome, Opera, Safari)
    http://www.skulinarium.at/home.html (auf der kompletten Webseite ist oben ein Abstand vorhanden und das Suchsymbol ist verschoben)

    http://www.skulinarium.at/party.html
    http://www.skulinarium.at/business.html
    http://www.skulinarium.at/broetchen-mehr.html
    Die Darstellung der 6 Bilder unterhalb sind falsch

    siehe zum Vergleich
    http://vorschau.papers.co.at/skulina...php/party.html
    http://vorschau.papers.co.at/skulina.../business.html
    http://vorschau.papers.co.at/skulina...chen-mehr.html

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

    Standard

    Das dürfte an einem JavaScript liegen. Welches JavaScript dafür verantwortlich ist habe ich auf die Schnelle nicht herausfinden können. Jedenfalls produziert das Script dann folgendes Markup:
    HTML-Code:
    <html lang="de"><head><style></style></head><body class="win chrome blink ch65 home home themedesigner_active themedesigner_hidden float_left cookiebar_open" style="padding-bottom: 57px;"><nav class="mod_navigation block mm-menu mm-theme-dark mm-offcanvas mm-parentselected" id="mobnav"><div class="mm-panels"><div class="mm-panel mm-hasnavbar mm-opened mm-current" id="mm-1"><div class="mm-navbar"><a class="mm-title">Menu</a></div><ul class="vlist level_1 mm-listview">
            
        	
    	<li class="mlist active float_left first mm-selected"><a href="home.html" title="s'Kulinarium - Catering für verwöhnte Gaumen" class="a-level_1 active float_left first"><i class="active float_left first"></i>Home</a></li>
    
             
        	
    	<li class="mlist float_left sibling "><a href="party.html" title="s'Kulinarium - Party" class="a-level_1 float_left sibling"><i class="float_left sibling"></i>Party</a></li>
    
             
        	
    	<li class="mlist float_left sibling "><a href="business.html" title="s'Kulinarium - Businessevent" class="a-level_1 float_left sibling"><i class="float_left sibling"></i>Business</a></li>
    
             
        	
    	<li class="mlist float_left sibling "><a href="broetchen-mehr.html" title="s'Kulinarium - Brötchen" class="a-level_1 float_left sibling"><i class="float_left sibling"></i>Brötchen &amp; mehr</a></li>
    
             
        	
    	<li class="mlist float_left sibling "><a href="ueber-uns.html" title="Unsere Geschichte" class="a-level_1 float_left sibling"><i class="float_left sibling"></i>Über uns</a></li>
    
             
        	
    	<li class="mlist float_left sibling "><a href="team.html" title="Unser Team" class="a-level_1 float_left sibling"><i class="float_left sibling"></i>Team</a></li>
    
             
        	
    	<li class="mlist float_right sibling "><a href="partnerlocations.html" title="Locations" class="a-level_1 float_right sibling"><i class="float_right sibling"></i>Partnerlocations</a></li>
    
             
        	
    	<li class="mlist float_left sibling "><a href="referenzen.html" title="Unsere Referenzen" class="a-level_1 float_left sibling"><i class="float_left sibling"></i>Referenzen</a></li>
    
             
        	
    	<li class="mlist float_right sibling "><a href="news.html" title="s'Kulinarium - News" class="a-level_1 float_right sibling"><i class="float_right sibling"></i>News</a></li>
    
             
        	
    	<li class="mlist float_left sibling "><a href="karriere.html" title="s'Kulinarium - Karriere" class="a-level_1 float_left sibling"><i class="float_left sibling"></i>Karriere</a></li>
    
             
        	
    	<li class="mlist float_right sibling last "><a href="kontakt.html" title="Kontakt" class="a-level_1 float_right sibling last"><i class="float_right sibling last"></i>Kontakt</a></li>
    
         </ul></div></div><a href="home.html#skipNavigation261" class="invisible">Navigation überspringen</a><a id="skipNavigation261" class="invisible">&nbsp;</a></nav>?
    
    
    
    	  
    		<meta charset="utf-8">
    	    <title>s'Kulinarium - Catering für verwöhnte Gaumen - s'Kulinarium - Catering für verwöhnte Gaumen</title>
    	    <base href="http://www.skulinarium.at/">
    
    				<meta name="robots" content="index,follow">
    		<meta name="description" content="Seit über 20 Jahren verwöhnt s‘Kulinarium nach allen Regeln bester Kulinarik. Die Leidenschaft zum Kochen, unsere Erfahrung und beste ausgewählte Zutaten sind seit jeher unsere wichtigsten Begleiter.">
    		<meta name="keywords" content=""> 
    		<meta name="generator" content="Contao Open Source CMS">
    
    		<link rel="shortcut icon" href="files/cto_layout/img/favicon.ico" type="image/x-icon">
    		<link rel="apple-touch-icon" href="files/cto_layout/img/apple-touch-icon.png">
    				
    				<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
    		<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700%7CSource+Sans+Pro:300,400,700%7CPlayfair+Display:400italic,700italic">
    <link rel="stylesheet" href="files/cto_layout/scripts/rs-plugin/css/settings.css">
    <link rel="stylesheet" href="system/modules/pct_revolutionslider/assets/css/styles.css">
    <link rel="stylesheet" href="system/modules/pct_customelements/assets/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.eot">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.svg">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.ttf">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.woff">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.woff2">
    <link rel="stylesheet" href="files/cto_layout/fonts/FontAwesome.otf">
    <link rel="stylesheet" href="assets/css/eed51279c9b3.css">
    
    		<link rel="stylesheet" type="text/css" media="screen" href="assets/css/746ec7d6f2e3.css">
    		
    		<!-- for better page speed remove this lines (start)-->
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/framework.css" media="screen">
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/customelements.css" media="screen">
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/customcatalog.css" media="screen">
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/styles.css" media="screen">
    		<!-- for better page speed remove this lines (end)-->
    		
    		<!-- pct_themer module (start)-->
    		<link id="layout_css" rel="stylesheet" title="theme_css_session" type="text/css" href="files/cto_layout/themedesigner/css/layout_eclipse_diners_untitled-4.css?1523003561"> 
    		<!-- pct_themer module (end)-->
    		
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/customize.css" media="screen">
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/print.css" media="print">
    		
    		<script src="files/cto_layout/scripts/rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
    <script src="files/cto_layout/scripts/rs-plugin/js/jquery.themepunch.tools.min.js"></script>
    <style>.mod_quickmenu_493 li a:hover {width:160px!important}</style>
      						  	
     
    	
    
    
    
    <div id="mm-0" class="mm-page mm-slideout"><div class="body_top"><div id="offcanvas-top">
    	<div class="offcanvas-top-inside">
    Vermutlich ist mmenu bzw. ein Script von dir, das mmenu verwendet dafür verantwortlich.

  7. #7
    Contao-Nutzer
    Registriert seit
    23.02.2016.
    Beiträge
    59

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Das dürfte an einem JavaScript liegen. Welches JavaScript dafür verantwortlich ist habe ich auf die Schnelle nicht herausfinden können. Jedenfalls produziert das Script dann folgendes Markup:
    kann solch ein Fehler nur durch den Umzug von einem Server zum anderen entstehen?

  8. #8
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.752
    Contao-Projekt unterstützen

    Support Contao

    Standard

    @Spooky Ich habe die Startseite vorhin ohne javascript laufen gehabt. Der obere Abstand ist auch dann da.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




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

    Standard

    Zitat Zitat von mlweb Beitrag anzeigen
    @Spooky Ich habe die Startseite vorhin ohne javascript laufen gehabt. Der obere Abstand ist auch dann da.
    Es muss aber ein JavaScript sein. Der reguläre Source Code sieht so aus:
    HTML-Code:
    <!DOCTYPE html>
    <html lang="de">
    <head>
    
    	  
    		<meta charset="utf-8">
    	    <title>s'Kulinarium - Catering für verwöhnte Gaumen - s'Kulinarium - Catering für verwöhnte Gaumen</title>
    	    <base href="http://www.skulinarium.at/">
    
    				<meta name="robots" content="index,follow">
    		<meta name="description" content="Seit über 20 Jahren verwöhnt s‘Kulinarium nach allen Regeln bester Kulinarik. Die Leidenschaft zum Kochen, unsere Erfahrung und beste ausgewählte Zutaten sind seit jeher unsere wichtigsten Begleiter.">
    		<meta name="keywords" content=""> 
    		<meta name="generator" content="Contao Open Source CMS">
    
    		<link rel="shortcut icon" href="files/cto_layout/img/favicon.ico" type="image/x-icon">
    		<link rel="apple-touch-icon" href="files/cto_layout/img/apple-touch-icon.png">
    				
    				<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
    		<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700%7CSource+Sans+Pro:300,400,700%7CPlayfair+Display:400italic,700italic">
    <link rel="stylesheet" href="files/cto_layout/scripts/rs-plugin/css/settings.css">
    <link rel="stylesheet" href="system/modules/pct_revolutionslider/assets/css/styles.css">
    <link rel="stylesheet" href="system/modules/pct_customelements/assets/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.eot">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.svg">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.ttf">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.woff">
    <link rel="stylesheet" href="files/cto_layout/fonts/fontawesome-webfont.woff2">
    <link rel="stylesheet" href="files/cto_layout/fonts/FontAwesome.otf">
    <link rel="stylesheet" href="assets/css/eed51279c9b3.css">
    
    		<link rel="stylesheet" type="text/css" media="screen" href="assets/css/746ec7d6f2e3.css">
    		
    		<!-- for better page speed remove this lines (start)-->
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/framework.css" media="screen">
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/customelements.css" media="screen">
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/customcatalog.css" media="screen">
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/styles.css" media="screen">
    		<!-- for better page speed remove this lines (end)-->
    		
    		<!-- pct_themer module (start)-->
    		<link id="layout_css" rel="stylesheet" title="theme_css_session" type="text/css" href="files/cto_layout/themedesigner/css/layout_eclipse_diners_untitled-4.css?1523003570"> 
    		<!-- pct_themer module (end)-->
    		
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/customize.css" media="screen">
    		<link rel="stylesheet" type="text/css" href="files/cto_layout/css/print.css" media="print">
    		
    		<script src="files/cto_layout/scripts/rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
    <script src="files/cto_layout/scripts/rs-plugin/js/jquery.themepunch.tools.min.js"></script>
    <style>.mod_quickmenu_493 li a:hover {width:160px!important}</style>
      						  	
     
    	
    </head>
    <body class="win chrome blink ch65 home home themedesigner_active themedesigner_hidden float_left">
    
    <div class="body_top"><div id="offcanvas-top">
    Der Abstand resultiert aus dem invaliden HTML.
    Geändert von Spooky (06.04.2018 um 09:47 Uhr)

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

    Standard

    @Llywellyn: bitte ändere deinen Thread Titel auf etwas bezeichnenderes.

  11. #11
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.752
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Du hast recht, aber das ist auch ohne javascript vorhanden.

    2018_04_06_layout_problem.png
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  12. #12
    Contao-Nutzer
    Registriert seit
    23.02.2016.
    Beiträge
    59

    Standard

    sollte ich die Seite vielleicht einfach nochmal neu hochladen?


    können solche Fehler nur durchs Hochladen entstehen, oder hängt das in gewisser Weise auch mit dem Hoster zusammen?

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

    Support Contao

    Standard

    Da ist irgendwo ein BOM drin versteckt. Wird in Chrome angezeigt als "&#65279", wenn man auf untersuchen geht.

  14. #14
    Contao-Nutzer
    Registriert seit
    23.02.2016.
    Beiträge
    59

    Standard

    Zitat Zitat von tab Beitrag anzeigen
    Da ist irgendwo ein BOM drin versteckt. Wird in Chrome angezeigt als "&#65279", wenn man auf untersuchen geht.
    wie geht das, dass man sich das anzeigen lassen kann?

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

    Support Contao

    Standard

    In Chrome auf ein Element mit rechter Maustaste klicken -> Untersuchen. Dann hast du links den (von Chrome interpretierten) Quellcode, da steht dann unter der Navigation eben das Zeichen drin. Dezimal 65279 = Hex FEFF

  16. #16
    Contao-Nutzer
    Registriert seit
    23.02.2016.
    Beiträge
    59

    Standard

    es war ein BOM!

    danke!!!


    euch allen noch ein schönes Wochenende!
    Geändert von Llywellyn (06.04.2018 um 10:19 Uhr)

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
  •