FriendsOfShopware / FroshPerformance

Performance improvements for Shopware
MIT License
28 stars 2 forks source link

LESS files are not loading as normal, mixed up frontend view from different subshops #13

Closed klausmad closed 5 years ago

klausmad commented 5 years ago

Actual behaviour

If html minify of the performance plugin is activ, the LESS files are not loading as normal, the colours and shop-logo is mixed up from 3 different subshop.

Looks like this...all what is orange coloured should be normaly blue like a other subshop in the same system.

grafik

This is the correct standardview without performance plugin

grafik

Environment

SW 5.5.4 prof. on apache 2.4 with PHP 7.0.30 Plugin version 1.0.2 Settings

grafik

Steps to reproduce

  1. Please send me PM, if you are online, I will activate the plugin so you can see it online what happens

Checklist

--

EDIT: I have seen now, all parts of the frontendview they get problems with the performance plugin and html minify are from the same developer. I will also inform this developer, about this issue.

grafik

♥ ANY INCOMPLETE REPORT WILL BE CLOSED RIGHT AWAY ♥

shyim commented 5 years ago

Wenn du die HTML Komprimierung ausstellst, funktioniert es dann?

klausmad commented 5 years ago

Hallo, shyim, korrekt....deaktiviere ich die Komprimierung ist in allen 4 Shops alles in Ordnung. Aktiviere ich das Plugin, dann werden alle Farben vertauscht, das betrifft jedoch alle Plugins (bewußt von einem Entwickler, damit die Kompatibilität passt) wie Hinweisleiste, Angebote Sales, Shipping Icon,Payment Icon wie oben rot markiert. Hatte zuvor HTML Komprimierung von WOTipps im Einsatz,( https://github.com/niklasbuechner/WOTippsHTML ) da tritt das Problem nicht auf. Vermute es wird irgendwie die JS zerschossen die die Darstellung der Banner und Leisten von Zenit aufruft... habe bei Zenit auch ein Ticket aufgemacht...sprecht euch zusammen...zenit Plugins sind doch stark verbreitet...

LG Klaus

shyim commented 5 years ago

Ich versuch das mal zu reproduzieren mit mehreren Subshops :)

klausmad commented 5 years ago

Danke Dir,

so ist mein Aufbau

grafik

Settings vom Payment Icon Banner

grafik

grafik

LG Klaus

shyim commented 5 years ago

image

image image

Ich kann es gerade leider nicht wirklich nachstellen es passt bei mir :see_no_evil:

klausmad commented 5 years ago

Auch wenn alle Subshops unter /Deutsch/ liegen ? Du zeigst ja einen Sprachshop unter Englisch

grafik

shyim commented 5 years ago

Ich habs omg... Ich stell gleich eine Zip bereit des Plugins. Könntest du das testen dann? :)

klausmad commented 5 years ago

Kannst Du bitte dir vieleicht eine Testversion von ZENIT Payment oder Shipping Icon laden ? Und die Farben unterschiedlich definieren wie oben angezeigt?

LG Klaus

klausmad commented 5 years ago

OK, warte auf das Update...teste es gleich... DANKE für Deine Mühe !

shyim commented 5 years ago

Das Update im Anhang :) Hast ja echt das Frontend aufgehübscht, seit ich bei codeenterprise war :)

FroshPerformance-master.zip

klausmad commented 5 years ago

Hallo,

ja man bemüht sich... mache das alles alleine, geht nur langsam voran, aber noch viel vor mir...

So, Update eingespielt... sieht gut aus, Farbzuordnung passt nun...nur das Bannerbild oben fehlt ..

grafik

shyim commented 5 years ago

Kommt das auch vom Plugin?

klausmad commented 5 years ago

So...mit HTML Komprimierung deaktivieren ist zuwenig...nur mit Plugin Performance deinstallieren kommt das Bild wieder zurück

So sollte es aussehen,

grafik

grafik

klausmad commented 5 years ago

Ja, das Bild kommt vom "Angebote Sales Countdown Banner (Zenit)" ... wenn Dein Plugin aktiv ist, ist das Bild weg...wird nicht aufgerufen... denke gleiche Ursache wie Hintergrundfarbe falsch...Hintergrundbild nicht da..ähnliches Muster ?

grafik

klausmad commented 5 years ago

Soll ich Dir zum Testen das Performance Plugin kurz aktivieren ?

shyim commented 5 years ago

Ich hab mir das Plugin schon geholt :) Schaue gerade nach einer Lösung

shyim commented 5 years ago

Ich war da jetzt 2,5 Stunden am Fehler suchen. Ich glaub ich habs jetzt. Ich teste das aber noch bisschen ob es endgültig klappt und auch mit jeder Shopware Version

shyim commented 5 years ago

Hey Klaus, könntest du mal diese Zip probieren?

FroshPerformance-master.zip

klausmad commented 5 years ago

Guten morgen, ist das die aktuelle Version aus dem SW Store oder neuer ? Komm erst abends dazu.... LG Klaus

shyim commented 5 years ago

Das ist die neuste mit den Fix für das fehlende Logo :)

shyim commented 5 years ago

Gibt es mittlerweile etwas neues? :)

klausmad commented 5 years ago

Hallo, konnte das Problem nun auch in meinem Testshop nachstellen, der letzte ZIP file hat aber leider keine Änderung gebracht. Könnte Dir Zugang zu meinem Testshop geben... wohin darf ich den Zugang mailen ?

grafik

grafik

klausmad commented 5 years ago

Es häng klar mit Verwendung eines Hintergrundbildes zusammen. Verwendet man Hintergrundfarbe ist alles OK, verwendet man ein Bild, wird das nicht angezeigt.

grafik

klausmad commented 5 years ago

Plugin für den Banner = "Countdown Banner für Angebote, Sales & Nachrichten" von ZENIT Mein Demoshop: SW 5.5.4 CE, sowei clean, also keine wesentlichen Plugins die Komplikationen bringen könnten.

shyim commented 5 years ago

Sollte nun mit den letzten Update behoben sein :)