Jump to content
  • 0

Problem z zamówieniem


Matsu

Question

Witam.

 

Mam następujący problem - gdy próbuję zamówić coś na sklepie, przechodzę bez problemu przez wszystkie kroki, jednak po kliknięciu ostatecznego potwierdzenia pojawia się pusta strona.

 

Notyfikacja o nowym zamówieniu pojawia się w backoffice normalnie.

 

Po włączeniu trybu debugowania na pustej stronie po zamówieniu pojawia się taki komunikat:

 

 

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/erfarbco/public_html/prestashop/themes/default-bootstrap/mails/pl/order_conf_product_list.txt" on line 2 "{$product[\'reference\']}" - Unexpected "\" <-- thrown in /home/erfarbco/public_html/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 2

 

Czy jest jakiś sposób żeby to rozwiązać?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Ok, udało mi się znaleźć rozwiązanie - dla kogoś kto miałby podobny problem: http://www.prestashop.com/forums/topic/343780-fatal-error-uncaught-exception-smartycompilerexception-with-message-syntax-error-in-template/ z tym, że nie usunąłem całego folderu "mails/pl", a zmieniłem tylko nazwę pliku "order_conf_product_list.txt" i wszystko zaczęło śmigać

 

 

EDIT:

Powodem jest zmodyfikowanie templatek mailowych, w poście jest również podane rozwiązanie jak to obejść, aby błąd znów się nie powtórzył

Edited by Matsu (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...