Neu Kritisch: JTL Shop 5.1 Bugs: Template: blackline, Demo-Dateien, Composer und co.

Garten-Nutzer

Sehr aktives Mitglied
3. Juni 2019
138
49
Hallo Leute,

JTL Shop 5.1 ist da und hat uns ein neues Design / Template mitgebracht. Leider ist das Update wohl noch in der Alpha Version.

Folgende Fehler habe ich bisher gesehen:
- Demodateien lassen sich nicht installieren, Fixed durch neue Datei, wo das System meckert wegen modifizierte Datei
- Theme blackline: Icons fehlen und Ausrichtung scheint wohl nicht zu passen siehe:
blackline.JPG
Der Fehler ist da, wenn man die Java und CSS Dateien komprimieren lässt.
Wenn man das nicht macht, "funktioniert" es, aber die Demo-Dateien werden nicht angezeigt. Bilder Fehlen und wenn man die Kategorie anklickt:
error.JPG


Weite Funktionen kann ich noch nicht Testen, da der Composer auf der Startseite nicht funktioniert:
composer.JPG

Hoffe mal der Fix kommt bald, denn die Arbeiten für den Wechsel von JTL Shop 4 auf 5 wollte ich dieses Jahr beenden, da jetzt ja endlich die Sidebar überall verfügbar ist.
 

Garten-Nutzer

Sehr aktives Mitglied
3. Juni 2019
138
49
kannst du mal probieren für die Startseite einen anderen Entwurf zu erstellen und aktiv zu schalten ?
Hallo @MHillmann

habe ich versucht, aber egal ob über die Startseite oder auch den Backend wird der Composer geladen und dann kommt der "Internal Server Error". Liegt es eventuell daran, dass ich hier PHP 8 einsetze? Möchte halt direkt auf die neuste Version hoch, damit ich nicht in 1 Jahr nochmal prüfen muss.
 

Garten-Nutzer

Sehr aktives Mitglied
3. Juni 2019
138
49
Nein daran sollte es nicht liegen, die 5.1.0 wurde für PHP 8 fit gemacht. Auf jeden Fall wäre es erstmal gut wenn du die Fehlerausgabe aktivierst: https://guide.jtl-software.de/jtl-s...-jtl-shop-abgleich-angezeigt-was-soll-ich-tun

Gemacht und im Composer der selbe interne Fehler.

Auf der Startseite kommt ein ganz ganz langer Fatal Error:
PHP:
Fatal error: Uncaught ValueError: Path cannot be empty in /xxx/htdocs/entwicklung51/includes/src/OPC/Portlets/Video/Video.php:43 Stack trace: #0 /xxx/htdocs/entwicklung51/includes/src/OPC/Portlets/Video/Video.php(43): file_get_contents('') #1 /xxx/htdocs/entwicklung51/templates_c/NOVA/da76e344dacc157fffbd5307f30bc37aa7d0e87f_0.file.Video.tpl.php(61): JTL\OPC\Portlets\Video\Video->getPreviewImageUrl(Object(JTL\OPC\PortletInstance)) #2 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_613a0f02b52585_12388945(Object(JTL\Smarty\JTLSmartyTemplateClass)) #3 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(JTL\Smarty\JTLSmartyTemplateClass)) #4 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(JTL\Smarty\JTLSmartyTemplateClass)) #5 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmartyTemplateClass.php(54): Smarty_Internal_Template->render(true, 0) #6 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): JTL\Smarty\JTLSmartyTemplateClass->render(true, 0) #7 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(JTL\Smarty\JTLSmartyTemplateClass), NULL, NULL, NULL, 0) #8 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmarty.php(346): Smarty_Internal_TemplateBase->fetch('/homepages/36/d...', NULL, NULL, NULL) #9 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletHtml.php(150): JTL\Smarty\JTLSmarty->fetch('/homepages/36/d...') #10 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletHtml.php(118): JTL\OPC\Portlet->getHtmlFromTpl(Object(JTL\OPC\PortletInstance), false, true) #11 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletHtml.php(32): JTL\OPC\Portlet->getFinalHtmlFromTpl(Object(JTL\OPC\PortletInstance), true) #12 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletInstance.php(117): JTL\OPC\Portlet->getFinalHtml(Object(JTL\OPC\PortletInstance), true) #13 /xxx/htdocs/entwicklung51/includes/src/OPC/Area.php(84): JTL\OPC\PortletInstance->getFinalHtml(true) #14 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletInstance.php(156): JTL\OPC\Area->getFinalHtml() #15 /xxx/htdocs/entwicklung51/templates_c/NOVA/2dfd38cfebc88d007d966271f90b2f6a2848187c_0.file.Row.tpl.php(63): JTL\OPC\PortletInstance->getSubareaFinalHtml('col-1') #16 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_613a0f02aa83b8_32396218(Object(JTL\Smarty\JTLSmartyTemplateClass)) #17 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(JTL\Smarty\JTLSmartyTemplateClass)) #18 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(JTL\Smarty\JTLSmartyTemplateClass)) #19 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmartyTemplateClass.php(54): Smarty_Internal_Template->render(true, 0) #20 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): JTL\Smarty\JTLSmartyTemplateClass->render(true, 0) #21 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(JTL\Smarty\JTLSmartyTemplateClass), NULL, NULL, NULL, 0) #22 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmarty.php(346): Smarty_Internal_TemplateBase->fetch('/homepages/36/d...', NULL, NULL, NULL) #23 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletHtml.php(150): JTL\Smarty\JTLSmarty->fetch('/homepages/36/d...') #24 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletHtml.php(118): JTL\OPC\Portlet->getHtmlFromTpl(Object(JTL\OPC\PortletInstance), false, true) #25 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletHtml.php(32): JTL\OPC\Portlet->getFinalHtmlFromTpl(Object(JTL\OPC\PortletInstance), true) #26 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletInstance.php(117): JTL\OPC\Portlet->getFinalHtml(Object(JTL\OPC\PortletInstance), true) #27 /xxx/htdocs/entwicklung51/includes/src/OPC/Area.php(84): JTL\OPC\PortletInstance->getFinalHtml(true) #28 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletInstance.php(156): JTL\OPC\Area->getFinalHtml() #29 /xxx/htdocs/entwicklung51/templates_c/NOVA/cbb4f9187787a0757080265558f484595e64541b_0.file.Container.tpl.php(131): JTL\OPC\PortletInstance->getSubareaFinalHtml('container') #30 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_tplfunction.php(38): smarty_template_function_containerContent_79938662613a0f02a07d38_23087487(Object(JTL\Smarty\JTLSmartyTemplateClass), Array) #31 /xxx/htdocs/entwicklung51/templates_c/NOVA/cbb4f9187787a0757080265558f484595e64541b_0.file.Container.tpl.php(100): Smarty_Internal_Runtime_TplFunction->callTemplateFunction(Object(JTL\Smarty\JTLSmartyTemplateClass), 'containerConten...', Array, true) #32 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_613a0f02a49981_48315204(Object(JTL\Smarty\JTLSmartyTemplateClass)) #33 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(JTL\Smarty\JTLSmartyTemplateClass)) #34 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(JTL\Smarty\JTLSmartyTemplateClass)) #35 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmartyTemplateClass.php(54): Smarty_Internal_Template->render(true, 0) #36 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): JTL\Smarty\JTLSmartyTemplateClass->render(true, 0) #37 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(JTL\Smarty\JTLSmartyTemplateClass), NULL, NULL, NULL, 0) #38 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmarty.php(346): Smarty_Internal_TemplateBase->fetch('/homepages/36/d...', NULL, NULL, NULL) #39 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletHtml.php(150): JTL\Smarty\JTLSmarty->fetch('/homepages/36/d...') #40 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletHtml.php(118): JTL\OPC\Portlet->getHtmlFromTpl(Object(JTL\OPC\PortletInstance), false, false) #41 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletHtml.php(32): JTL\OPC\Portlet->getFinalHtmlFromTpl(Object(JTL\OPC\PortletInstance), false) #42 /xxx/htdocs/entwicklung51/includes/src/OPC/PortletInstance.php(117): JTL\OPC\Portlet->getFinalHtml(Object(JTL\OPC\PortletInstance), false) #43 /xxx/htdocs/entwicklung51/includes/src/OPC/Area.php(84): JTL\OPC\PortletInstance->getFinalHtml(false) #44 /xxx/htdocs/entwicklung51/includes/src/OPC/PageService.php(115): JTL\OPC\Area->getFinalHtml(false) #45 /xxx/htdocs/entwicklung51/templates_c/NOVA/d92fa073bc2bac4d78945366786176c916273120_0.file.header.tpl.php(1219): JTL\OPC\PageService->renderMountPoint(Array, Object(JTL\Smarty\JTLSmartyTemplateClass)) #46 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1678014951613a0f01be6d06_24400770->callBlock(Object(JTL\Smarty\JTLSmartyTemplateClass)) #47 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_1678014951613a0f01be6d06_24400770), Object(JTL\Smarty\JTLSmartyTemplateClass)) #48 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(JTL\Smarty\JTLSmartyTemplateClass), Object(Block_1678014951613a0f01be6d06_24400770)) #49 /xxx/htdocs/entwicklung51/templates_c/NOVA/d92fa073bc2bac4d78945366786176c916273120_0.file.header.tpl.php(1629): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(JTL\Smarty\JTLSmartyTemplateClass), 'Block_167801495...', 'layout-header-m...', 1) #50 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_36604565613a0f01af26c9_82922952->callBlock(Object(JTL\Smarty\JTLSmartyTemplateClass)) #51 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_36604565613a0f01af26c9_82922952), Object(JTL\Smarty\JTLSmartyTemplateClass)) #52 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(JTL\Smarty\JTLSmartyTemplateClass), Object(Block_36604565613a0f01af26c9_82922952)) #53 /xxx/htdocs/entwicklung51/templates_c/NOVA/d92fa073bc2bac4d78945366786176c916273120_0.file.header.tpl.php(35): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(JTL\Smarty\JTLSmartyTemplateClass), 'Block_366045656...', 'layout-header') #54 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_613a0f01c09ee2_55821488(Object(JTL\Smarty\JTLSmartyTemplateClass)) #55 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(JTL\Smarty\JTLSmartyTemplateClass)) #56 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(JTL\Smarty\JTLSmartyTemplateClass)) #57 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmartyTemplateClass.php(54): Smarty_Internal_Template->render(true, NULL) #58 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): JTL\Smarty\JTLSmartyTemplateClass->render() #59 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmartyTemplateClass.php(32): Smarty_Internal_Template->_subTemplateRender('file:layout/hea...', NULL, NULL, 0, 86400, Array, 0, false, NULL, NULL) #60 /xxx/htdocs/entwicklung51/templates_c/NOVA/5421a4c3f40586041c5fe315b9ce887596a687af_0.file.index.tpl.php(63): JTL\Smarty\JTLSmartyTemplateClass->_subTemplateRender('file:layout/hea...', NULL, NULL, 0, 86400, Array, 0, false) #61 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_317265160613a0f01a757b0_13469370->callBlock(Object(JTL\Smarty\JTLSmartyTemplateClass)) #62 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_317265160613a0f01a757b0_13469370), Object(JTL\Smarty\JTLSmartyTemplateClass)) #63 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(JTL\Smarty\JTLSmartyTemplateClass), Object(Block_317265160613a0f01a757b0_13469370)) #64 /xxx/htdocs/entwicklung51/templates_c/NOVA/5421a4c3f40586041c5fe315b9ce887596a687af_0.file.index.tpl.php(704): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(JTL\Smarty\JTLSmartyTemplateClass), 'Block_317265160...', 'layout-index-in...', 0) #65 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_2092323721613a0f01a71e21_32387317->callBlock(Object(JTL\Smarty\JTLSmartyTemplateClass)) #66 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_2092323721613a0f01a71e21_32387317), Object(JTL\Smarty\JTLSmartyTemplateClass)) #67 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(JTL\Smarty\JTLSmartyTemplateClass), Object(Block_2092323721613a0f01a71e21_32387317)) #68 /xxx/htdocs/entwicklung51/templates_c/NOVA/5421a4c3f40586041c5fe315b9ce887596a687af_0.file.index.tpl.php(40): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(JTL\Smarty\JTLSmartyTemplateClass), 'Block_209232372...', 'layout-index') #69 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_613a0f01ae3ab1_32948537(Object(JTL\Smarty\JTLSmartyTemplateClass)) #70 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(JTL\Smarty\JTLSmartyTemplateClass)) #71 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(JTL\Smarty\JTLSmartyTemplateClass)) #72 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmartyTemplateClass.php(54): Smarty_Internal_Template->render(false, 1) #73 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): JTL\Smarty\JTLSmartyTemplateClass->render(false, 1) #74 /xxx/htdocs/entwicklung51/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(JTL\Smarty\JTLSmartyTemplateClass), NULL, NULL, NULL, 1) #75 /xxx/htdocs/entwicklung51/includes/src/Smarty/JTLSmarty.php(363): Smarty_Internal_TemplateBase->display('layout/index.tp...', NULL, NULL, NULL) #76 /xxx/htdocs/entwicklung51/seite.php(134): JTL\Smarty\JTLSmarty->display('layout/index.tp...') #77 /xxx/htdocs/entwicklung51/index.php(13): require('/homepages/36/d...') #78 {main} thrown in /xxx/htdocs/entwicklung51/includes/src/OPC/Portlets/Video/Video.php on line 43

Line 43 von der Video.php:
PHP:
        if (!\is_file($localPath)) {
            if (!\is_writable(\PFAD_ROOT . \STORAGE_VIDEO_THUMBS)) {
                return null;
            }

            \file_put_contents($localPath, \file_get_contents($srcURL)); <-- Line 43
        }


Hast du ansonsten vielleicht noch Plugins aktiv, die mit der 5.1.0 Probleme machen?

Ich habe das JTL Shop 5.1 Komplettpaket + den Fix für die Demo-Dateien geladen, installiert und keine Plugins installiert, da ich erstmal am Design arbeiten wollte.
Der Shop hat keine Verbindung zur Wawi, daher die Demo-Dateien und liegt auf einer Sub-Domain. Ja der Shop liegt in einem Unterverzeichnis, ja das root Directory aus Shop Sicht ist richtig. Es ist die Hauptebene sprich der Shop sieht sich selber im Ordner "/" liegen. Der Shop 4 funktioniert hier ja auch.
 

MHillmann

Moderator
Mitarbeiter
11. Oktober 2018
1.367
535
@Garten-Nutzer

das Problem mit der statischen Komprimierung konnte ich auch gerade in einem Shop beobachten, bei mir war das Problem eine Pluginleiche in tplugin.
Du hast zwar schon gesagt, dass du keine Plugins installiert hast, aber kannst du trotzdem mal schauen ob du in der Tabelle tplugin ein Plugin drin hast mit nStatus=2?
 

MHillmann

Moderator
Mitarbeiter
11. Oktober 2018
1.367
535
Dann eventuell Schreibrechte von templates_c/min ?

Wenn das nicht, dann schau mal bitte in der Entwicklerkonsole, was es dort für Fehler gibt.
 

Garten-Nutzer

Sehr aktives Mitglied
3. Juni 2019
138
49

Garten-Nutzer

Sehr aktives Mitglied
3. Juni 2019
138
49
705 klingt ungewöhnlich, aber kommt natürlich darauf an wem der Ordner gehört und unter welchem Nutzer php läuft.
Vielleicht als Hilfe, FileZilla gibt mir die Rechte zurück. Die Rechte sind halt Besitzer darf alles, die Gruppe nix und der Gast darf lesen und ausführen. Da die selben Rechte auch im Shop 4 sind und der funktioniert gehe ich davon aus, dass da kein Problem besteht. Der Shop meldet ja auch kein Rechteproblem.

Ja ich meinte die Console z.B. im Chrome.
Keine Anzeige / Fehler. Ich habe auch mal die PHP Version auf 7.4 geändert. Hat aber nichts gebracht. Selbes Fehlerbild.
 

MHillmann

Moderator
Mitarbeiter
11. Oktober 2018
1.367
535
Dann habe ich leider keine Idee mehr und denke da muss mal jemand nachgucken. Daher würde ich sagen, wenn nach dem Update auf die 5.1.1 das Problem mit der statischen Komprimierung immer noch besteht, am besten mal ein Support-Ticket, mit Verweis auf diesen Thread eröffnen.
 
  • Gefällt mir
Reaktionen: Garten-Nutzer

Ähnliche Themen