Ahler
1. Oktober 2016 um 07:21
1
Guten Morgen Leute,
auf unserer Seite funtkioniert der Warenkorb plötzlich nicht mehr richtig und ich finde einfach die Lösung für das Problem nicht.
Habt Ihr eine Idee woran dasliegen kann bzw. welche Daten ich erneut aufspielen kann damit es wieder funktioniert?
Der Shop ist noch nicht fertig aber Ihr könnt ihn hier finden:
www.carpworldkruidenier.com/shopware
Über Lösungsansätze würde ich mich riesig freuen.
DANKE!
useg
1. Oktober 2016 um 07:51
2
Was hast du denn in Vorfeld gemacht das es auch einmal nicht mehr funktioniert, plötzlich nicht mehr funktioniert ohne was getan zu haben ist eigentlich nicht möglich.
Irgendwelche Einstellungen Verändert, Zahlarten geändert oder angepasst, das gleiche mit den Versandarten usw…
Uwe
Ahler
1. Oktober 2016 um 07:55
3
Eigentlich nur auf 5.2.7 das update gemacht und ein Zahlungsmodul installiert. Aber letzteres war schon vorher integriert. Habe dort lediglich entsprechende „SecretKeys“ hinzugefügt.
Das Zahlungsmodul habe ich jetzt mal deinstalliert, daran hat es scheinbar nicht gelegen.
useg
1. Oktober 2016 um 08:07
4
Hattest du das Zahlungsmodul auf aktiv und der Zahlweise auch einen Versand zugeordnet?, weißt liegt es daran an den Zusammenspiel Zahlweise Versand, oder auch eine eigene Versandkostenberechnung die nicht richtig funktioniert hatte. Hast du mal geschaut ob die Fallback-Zahlungsart auch für alle Besucher gilt, bzw ab diese auch aktiv und zugeordnet ist?
Ahler
1. Oktober 2016 um 12:17
5
Finde es halt seltsam, dass es auch ohne das Zahlungsmodul nicht mehr funktioniert. Meiner Ansicht nach müsste es irgendwo anders dran liegen.
Auch ein Templatewechsel hilft nicht.
Die Artikel werden schon in den Warenkorb gelegt, es scheint “nur” die Anzeige des Warenkorbs in der Ansichts rechts nicht zu funktioneiren. Ich kann mir aber nicht erklären, woran das liegen soll.
Danke.
Hi,
evtl. ein Seiteneffekt mit Textbausteinen? Möglich wäre das durch Sonderzeichen/Apostroph o.ä. das JavaScript gestört wird.
Hast du mal testweise Sprache/Lokalisierung auf Deutsch gestellt? Wenn das Problem weiter besteht, hätten wir das zumindest ausgeschlossen
Sebastian
Ich sehe auch gerade, dass es auch eine „Ups“ Fehlermeldung im Hintergrund gibt. Da könnte schon ein Blick in var/logs/ helfen, welche Fehlermeldung im Detail geloggt wird.
Auch könnte man einmal den Mailversand im Log Plugin aktivieren. Dann bekommt man auf jeden Fall weitere Details zum Problem
Sebastian
Ahler
1. Oktober 2016 um 13:00
8
Hallo Sebastian,
die Sprachumstellung hat es gebracht. Kann ich daraus schließen, dass es an den Textbausteinen (NL) liegt?
Folgende Mail hat mir das System jetzt trotzdem noch geschickt:
exception 'Enlight_Controller_Exception' with message 'Permission denied' in /usr/www/users/carpwoi/shopware/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:247
Stack trace:
#0 /usr/www/users/carpwoi/shopware/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(200): Shopware_Plugins_Backend_Auth_Bootstrap->checkAuth()
#1 /usr/www/users/carpwoi/shopware/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs))
#2 /usr/www/users/carpwoi/shopware/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs))
#3 /usr/www/users/carpwoi/shopware/engine/Library/Enlight/Controller/Action.php(138): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#4 /usr/www/users/carpwoi/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('createLogAction')
#5 /usr/www/users/carpwoi/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#6 /usr/www/users/carpwoi/shopware/engine/Shopware/Kernel.php(177): Enlight_Controller_Front->dispatch()
#7 /usr/www/users/carpwoi/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /usr/www/users/carpwoi/shopware/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 /usr/www/users/carpwoi/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /usr/www/users/carpwoi/shopware/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /usr/www/users/carpwoi/shopware/shopware.php(113): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#12 {main}
Vielen Dank!
Ahler
1. Oktober 2016 um 13:34
9
Das Problem mit dem Warenkorb liegt definitiv an den Grundeinstellungen/Shopeinstellungen/Shops und dort an der Lokalisierung.
Sobald ich dort auf Dutch(Netherlands) umstelle, funtkioniert der Warenkorb nicht mehr. Kann ich den Bereich irgendwie reseten? Ich bearbeitete gern noch einmal die Textbausteine, hauptsache der Warenkorb funktioniert wieder.
Aus der anderen Fehlermeldung werd ich auch noch nicht schlau…
Danke.
Hi,
genaue Meldungen im Frontend kannst du über die Anpassung in der config.php auslesen http://community.shopware.com/Fehlermeldungen-in-Shopware-debuggen_detail_1880.html#Frontend_Error_Reporter
Dann kann man manuell den Warenkorb Link auf rufen, den man im Browser in der Konsole sieht. Da hatte ich gerade auch die Ups Meldung gesehen. Durch die detaillierte Ausgabe sollte man ggf. sogar den jeweiligen Textbausteinen erkennen können, der das Problem verursacht
Sebastian
Ahler
1. Oktober 2016 um 15:34
11
Wo werden die Meldungen denn angezeigt?
Die config.php habe ich angepasst:
array (
'host' => 'sql-server.de',
'port' => 'XXXX',
'username' => 'msiterx',
'password' => 'xxxxxxxxxxxxx',
'dbname' => 'dbworldwide',
),
'front' => array(
'showException' => true,
'noErrorHandler' => false,
),
//Low-Level PHP-Fehler ab Shopware 5.2.0
'phpsettings' => [
'display_errors' => 1,
]
);
Ahler
1. Oktober 2016 um 15:48
12
In der var/log wird eine ganze Menge ausgegeben.
[2016-10-01 17:42:35] core.ERROR: exception 'SmartyCompilerException' with message 'Syntax Error in template "/usr/www/users/misterx/shopware/engine/Shopware/Plugins/Community/Frontend/SwagPromotion/Views/frontend/swag_promotion/checkout/used_too_often_offcanvas.tpl" on line 2 "{$content = "{snippet namespace='frontend/swag_promotion/main' name='usedPromotions' default='The campaign \'{$promotionUsedTooOften->name}\' is not available for you anymore! (Used {if $promotionUsedTooOften->maxUsage == 1}once{else}{$promotionUsedTooOften->maxUsage} times{/if})' namespace='frontend/swag_promotion/checkout/used_too_often_offcanvas'}De campagne \'{$promotionUsedTooOften-> naam}\' is niet meer beschikbaar voor u! (Gebruikt {als $promotionUsedTooOften-> maxUsage == 1} once{else} {$promotionUsedTooOften-> maxUsage} {/if} keer){/snippet}"}" unknown tag "als"' in /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:657 Stack trace: #0 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(443): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "al...', 2) #1 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('als', Array) #2 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36() #3 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36) #4 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, ' once') #5 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('{foreach $promo...') #6 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_compile_include.php(146): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Enlight_Template_Default)) #7 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(475): Smarty_Internal_Compile_Include->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #8 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler('include', Array, Array) #9 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('include', Array) #10 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36() #11 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36) #12 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '\n ') #13 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('\n %%%%SMARTY...') #14 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_compile_block.php(191): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template)) #15 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_compile_block.php(255): Smarty_Internal_Compile_Block::compileChildBlock(Object(Smarty_Internal_SmartyTemplateCompiler), 'frontend_checko...') #16 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(465): Smarty_Internal_Compile_Blockclose->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #17 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler('blockclose', Array, Array) #18 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(2493): Smarty_Internal_TemplateCompilerBase->compileTag('blockclose', Array) #19 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r58() #20 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(58) #21 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '\n\n ') #22 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('{block name='fr...') #23 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Enlight_Template_Default)) #24 /usr/www/users/misterx/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #25 /usr/www/users/misterx/shopware/engine/Library/Enlight/View/Default.php(274): Smarty_Internal_TemplateBase->fetch() #26 /usr/www/users/misterx/shopware/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(216): Enlight_View_Default->render(Object(Enlight_Template_Default)) #27 /usr/www/users/misterx/shopware/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(242): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->renderTemplate(Object(Enlight_Template_Default)) #28 /usr/www/users/misterx/shopware/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(136): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->render() #29 [internal function]: Enlight_Controller_Plugins_ViewRenderer_Bootstrap->onPostDispatch(Object(Enlight_Controller_ActionEventArgs)) #30 /usr/www/users/misterx/shopware/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs)) #31 /usr/www/users/misterx/shopware/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #32 /usr/www/users/misterx/shopware/engine/Library/Enlight/Controller/Action.php(202): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs)) #33 /usr/www/users/misterx/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('ajaxCartAction') #34 /usr/www/users/misterx/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #35 /usr/www/users/misterx/shopware/engine/Shopware/Kernel.php(177): Enlight_Controller_Front->dispatch() #36 /usr/www/users/misterx/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #37 /usr/www/users/misterx/shopware/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #38 /usr/www/users/misterx/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(444): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #39 /usr/www/users/misterx/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(344): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #40 /usr/www/users/misterx/shopware/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #41 /usr/www/users/misterx/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(210): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #42 /usr/www/users/misterx/shopware/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #43 /usr/www/users/misterx/shopware/shopware.php(113): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #44 {main} [] {"uid":"4d8c215"}
Der Textbaustein usedPromotions ist bei dir kaputt. Mach den mal testweise leer und leere den Cache
Ahler
1. Oktober 2016 um 16:08
14
Folgendes steht in den Niederländischen Baustein:
De campagne \'{$promotionUsedTooOften-> naam}\' is niet meer beschikbaar voor u! (Gebruikt {als $promotionUsedTooOften-> maxUsage == 1} once{else} {$promotionUsedTooOften-> maxUsage} {/if} keer)
Aber vielleicht magst Du mir auch noch sagen, wo man erkennt, dass es daran lag.
Vielen, vielen Dank!
useg
1. Oktober 2016 um 19:04
15
Was steht denn in deutschen Textbaustein “usedPromotions” ich habe den nicht bei mir.
Ahler
19. Oktober 2016 um 12:48
16
Wenn mich nicht alles täuscht, liegt der Fehler tatsächlich in der aktuellen Version des PlugIn’s selbst.