Nach update auf 5.3 shop tot - unknown tag s

@Stephan Pohl schrieb:

Hey @exact‍,

bitte schau mal in deinen aktiven Template in die Template-Datei „SSSW_theme/frontend/listing/product-box/box-basic.tpl“. Hier wird noch der mittlerweile entfernte Smarty-Modifier „|rewrite“ verwendet.

Der Aufruf müsste ca. so aussehen:
 

{$sArticle.articleName|truncate:200|escapeHtml}{if $sArticle.attr2 && $sArticle.attr2 != „1 Stück“ && $sArticle.attr2 != „1 Rolle“ }, {$sArticle.attr2}{/if}

Bitte entferne „|rewrite::“ bis zum schließenden „}“ geschweiften Klammer.

Viele Grüße,
Stephan Pohl  Shopware

Vielen Dank ! Hat es geholfen !

Jetzt ist was mit Security Smarty

Fatal error: Uncaught SmartyException:

directory ‚/var/www/vhosts/themes/Frontend/SSSW_theme‘ not allowed by security setting in /var/www/vhosts/engine/Library/Smarty/sysplugins/smarty_security.php:381

Stack trace: #0 /var/www/vhosts/engine/Library/Smarty/sysplugins/smarty_internal_resource_file.php(33): Smarty_Security->isTrustedResourceDir(‚/var/www/vhosts…‘)
#1 /var/www/vhosts/engine/Library/Smarty/sysplugins/smarty_resource.php(532): Smarty_Internal_Resource_File->populate(Object(Smarty_Template_Source), NULL)
#2 /var/www/vhosts/engine/Library/Smarty/sysplugins/smarty_internal_resource_extends.php(41): Smarty_Resource::source(NULL, Object(Enlight_Template_Manager), ‚‘)
#3 /var/www/vhosts/engine/Library/Enlight/Components/Snippet/Resource.php(76):

Smarty_Internal_Resource_Extends->populate(Object(Sm in /var/www/vhosts/engine/Library/Smarty/sysplugins/smarty_security.php on line 381

Wie findet man raus welcher Plugin macht Ärger?

Vielen Dank

MfG

Vip