Sonderzeichen oberhalb von header

Hallo liebe shopware community! ich habe seit ein paar Tagen in der linken oberen Ecke (oberhalb vom header) 3 Sonderzeichen " /> kann mir bitte jemand behilflich sein, wo ich diese entfernen kann? ich bin schon ziemlich verzweifelt.:frowning: www.emma-und-paul.at meiner Meinung nach dürfte das noch bei shopware 4 entstanden sein … lg M

Hallo, wenn man im Browser den Seitenquelltext anzeigen lässt, kann man erkennen wo wohl das Problem liegt. In den Meta-Daten. Auszug:Dort ist ggf. ein Meta-Textbaustein falsch befüllt. Im „content“ kommt bereits der weitere Quelltext. Dort würde ich ansetzen Sebastian

Vielen Dank Sebastian! ich habe mal den Quelltest geöffnet. kann jedoch aufgrund mangelnder Kenntnisse, nicht feststellen, was hier falsch ist.

" /\>bitte nochmals um Hilfe

Hallo, die Sonderzeichen werden nach dem Body ausgegeben. Dannach kommen einige METAS, die in den Head gehören. Wie Sebastian schon geschrieben hat, scheint da irgendwo ein Fehler drin zu sein. Zieh dir einfach aus der CE die header.tpl: /themes/Frontend/Bare/frontend/index/header.tpl und überschreibe deine. Könnte die Lösung deines Problems sein :slight_smile:

Hallo. Leider bin ich absolute Anfängerin … Aber das schaffe ich schon. Welche Datei soll ich nun jetzt genau mit der header tpl. überschreiben und wo finde ich diese? Die Struktur ist ja nun eine ganz andere im Shopware 5. lg M

Hi, du sollst die header.tpl aus der CE mit der header.tpl aus deiner Installation überschreiben. Ist im gleichem Ordner zu finden. :slight_smile: Viele Grüße

[quote=“mschaller”]Vielen Dank Sebastian! ich habe mal den Quelltest geöffnet. kann jedoch aufgrund mangelnder Kenntnisse, nicht feststellen, was hier falsch ist.

" /\>bitte nochmals um Hilfe[/quote] so wie ich das sehe ist ein Fehler bei [code]" /\>[/code] da ist doch am Ende das " /\> zu viel drin. So sollte es sein: [code][/code]

Hallo. ich habe mir ein eigenes Response Template gemacht. in diesem ist jedoch in der themes/frontend/emmaundpaul/frontend/index Datei ist gar keine header.tpl. muss ich nicht ev. in den alten Dateien von shopware 4 etwas ändern, denn dieses hatte ich ja vor dem update und alle Daten wurden ja von diesem übernommen, oder? lg M

[quote=„mschaller“]Hallo. ich habe mir ein eigenes Response Template gemacht. in diesem ist jedoch in der themes/frontend/emmaundpaul/frontend/index Datei ist gar keine header.tpl. muss ich nicht ev. in den alten Dateien von shopware 4 etwas ändern, denn dieses hatte ich ja vor dem update und alle Daten wurden ja von diesem übernommen, oder? lg M[/quote] Poste mal den Code von der /themes/Frontend/Bare/frontend/index/header.tpl da muss doch der Fehler stecken wenn du nicht ein Plugin nutzt das die Blöcke überschreibt. Wenn du das Neue Themes von Shopware 5 nutzt, wird das 4er Template nicht geladen, außer eben noch die Plugins.

Hallo Uwe! Wie gewünscht, anbei die header.tpl lg M {* Http-Tags *} {block name=„frontend_index_header_meta_http_tags“} {/block} {* Meta-Tags *} {block name=‚frontend_index_header_meta_tags‘} {* *} {block name=‚frontend_index_header_meta_tags_schema_webpage‘} {/block} {block name=‚frontend_index_header_meta_tags_mobile‘} {/block} {/block} {* Set favicons and touch icons for all different sizes *} {block name=„frontend_index_header_favicons“} {/block} {* Internet Explorer 9 specific meta tags *} {block name=‚frontend_index_header_meta_tags_ie9‘} {* Navbutton color *} {* Pinned name *} {* Start url to launch from the shortcut *} {* Size of the window to launch *} {* Image of the Windows 8 tile *} {* Backgroud Color of the Windows 8 tile *} {/block} {* Android specifc meta tags *} {block name=‚frontend_index_header_meta_tags_android‘} {/block} {* Canonical link *} {block name=‚frontend_index_header_canonical‘}{/block} {* RSS and Atom feeds *} {block name=„frontend_index_header_feeds“}{/block} {* Page title *} {* Stylesheets *} {block name=„frontend_index_header_css_screen“} {{compileLess timestamp={themeTimestamp} output=„lessFiles“}} {foreach $lessFiles as $stylesheet} {/foreach} {if $theme.additionalCssData} {$theme.additionalCssData} {/if} {/block} {* Print Stylesheets *} {block name=„frontend_index_header_css_print“}{/block} {* Add Modernizr in the „“-element to have all the classes before the page was rendered *} {block name=„frontend_index_header_javascript_modernizr_lib“} {/block} {* Block for IE specific stylesheets - @deprecated due to the stylesheets are now merged *} {block name=„frontend_index_header_css_ie“}{/block}

das sind doch nur die Blöcke aus der header.tpl, damit kann man nichts anfangen. Die originale /themes/Frontend/Bare/frontend/index/header.tpl sieht doch so aus [code]

{* Http-Tags *} {block name=„frontend_index_header_meta_http_tags“} {/block} {* Meta-Tags *} {block name=‚frontend_index_header_meta_tags‘} {* *} {block name=‚frontend_index_header_meta_tags_schema_webpage‘} {/block} {block name=‚frontend_index_header_meta_tags_mobile‘} {/block} {/block} {* Set favicons and touch icons for all different sizes *} {block name=„frontend_index_header_favicons“} {/block} {* Internet Explorer 9 specific meta tags *} {block name=‚frontend_index_header_meta_tags_ie9‘} {* Navbutton color *} {* Pinned name *} {* Start url to launch from the shortcut *} {* Size of the window to launch *} {* Image of the Windows 8 tile *} {* Backgroud Color of the Windows 8 tile *} {/block} {* Android specifc meta tags *} {block name=‚frontend_index_header_meta_tags_android‘} {/block} {* Canonical link *} {block name=‚frontend_index_header_canonical‘}{/block} {* RSS and Atom feeds *} {block name=„frontend_index_header_feeds“}{/block} {* Page title *}{block name=‚frontend_index_header_title‘}{strip}
{if $sBreadcrumb}{foreach from=$sBreadcrumb|array_reverse item=breadcrumb}{$breadcrumb.name} | {/foreach}{/if}{config name=sShopname}
{/strip}{/block}{* Stylesheets *} {block name=„frontend_index_header_css_screen“} {{compileLess timestamp={themeTimestamp} output=„lessFiles“}} {foreach $lessFiles as $stylesheet} {/foreach} {if $theme.additionalCssData} {$theme.additionalCssData} {/if} {/block} {* Print Stylesheets *} {block name=„frontend_index_header_css_print“}{/block} {* Add Modernizr in the „“-element to have all the classes before the page was rendered *} {block name=„frontend_index_header_javascript_modernizr_lib“} {/block} {* Block for IE specific stylesheets - @deprecated due to the stylesheets are now merged *} {block name=„frontend_index_header_css_ie“}{/block} [/code] Bei den Eintrag {* Meta-Tags *} kann doch bei dir was nicht stimmen, oder du hast in den Textbausteinen „IndexMetaAuthor“, wie von :shopware:Sebastian schon angemerkt, was dort so nicht hingehört.

entschuldige bitte, so jetzt habe ich die Datei mal über brackets geöffnet.

{* Http-Tags *} {block name=“frontend_index_header_meta_http_tags”} {/block} {* Meta-Tags *} {block name=‘frontend_index_header_meta_tags’} {* *} {block name=‘frontend_index_header_meta_tags_schema_webpage’} {/block} {block name=‘frontend_index_header_meta_tags_mobile’} {/block} {/block} {* Set favicons and touch icons for all different sizes *} {block name=“frontend_index_header_favicons”} {/block} {* Internet Explorer 9 specific meta tags *} {block name=‘frontend_index_header_meta_tags_ie9’} {* Navbutton color *} {* Pinned name *} {* Start url to launch from the shortcut *} {* Size of the window to launch *} {* Image of the Windows 8 tile *} {* Backgroud Color of the Windows 8 tile *} {/block} {* Android specifc meta tags *} {block name=‘frontend_index_header_meta_tags_android’} {/block} {* Canonical link *} {block name=‘frontend_index_header_canonical’}{/block} {* RSS and Atom feeds *} {block name=“frontend_index_header_feeds”}{/block} {* Page title *}{block name=‘frontend_index_header_title’}{strip}
{if $sBreadcrumb}{foreach from=$sBreadcrumb|array_reverse item=breadcrumb}{$breadcrumb.name} | {/foreach}{/if}{config name=sShopname}
{/strip}{/block}{* Stylesheets *} {block name=“frontend_index_header_css_screen”} {{compileLess timestamp={themeTimestamp} output=“lessFiles”}} {foreach $lessFiles as $stylesheet} {/foreach} {if $theme.additionalCssData} {$theme.additionalCssData} {/if} {/block} {* Print Stylesheets *} {block name=“frontend_index_header_css_print”}{/block} {* Add Modernizr in the “”-element to have all the classes before the page was rendered *} {block name=“frontend_index_header_javascript_modernizr_lib”} {/block} {* Block for IE specific stylesheets - @deprecated due to the stylesheets are now merged *} {block name=“frontend_index_header_css_ie”}{/block}

Was mich ein wenig verwundert ist das der mit den Zeichen {* Inhalt… *} auskommentiert ist und gar nicht im Header erscheinen dürfte, auf der Wartungsseite dieser Eintrag aber zu sehen ist. Such mal in den Textbausteinen nach IndexMetaAuthor und schau mal ob das Feld einen Wert hat. Einstellung -> Textbausteine und dort in der Suche IndexMetaAuthor eingeben. Sonst kann nur noch ein Plugin die Ursache sein, hast du da welche installiert die mit SEO zu tun haben? Deinstalliere mal auch das Trusted-Plugin.

1 „Gefällt mir“

Hallo. Trustes shop und Logo des Shops tauschen plugin habe ich deaktiviert. Indexmetaauthor ist leer. shopware direkt meinte, dass es ev. an einer eingebundenen css Datei liegen könnte. Was auch immer das bedeutet… Lg M

Hat jemand noch einen Tipp für mich, wie ich dieses Problem lösen kann? lg M

Problem gelöst! Danke an alle Helfenden! LG M