![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 10 Pomógł: 0 Dołączył: 27.04.2017 Ostrzeżenie: (0%) ![]() ![]() |
Szanowni PHP'owicze
bardzo proszę o pomoc, sklep jest zrobiony na prestashop 1.7.0.2 po wybraniu realizacji opcji zapłaty (jakakolwiek forma - płatność przelewem, za pobraniem, przelewy24) pojawiała się biała strona, pozostawiłem teraz obecnie tylko moduł przelewy24 i po włączeniu debugowania pojawia się taki komunikat: (na podstronie /module/przelewy24/validation) Whoops, looks like something went wrong. 1/1 SmartyCompilerException in smarty_internal_templatecompilerbase.php line 4: Syntax error in template "/home/virtuss/public_html/opakio/themes/classic/mails/pl/order_conf_product_list.txt" on line 4 "Witaj {firstname} {lastname}," unknown tag "firstname" in smarty_internal_templatecompilerbase.php line 4 at Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "firstname"', '4') in smarty_internal_templatecompilerbase.php line 547 at Smarty_Internal_TemplateCompilerBase->compileTag('firstname', array()) in smarty_internal_templateparser.php line 3570 at Smarty_Internal_Templateparser->yy_r38() in smarty_internal_templateparser.php line 4392 at Smarty_Internal_Templateparser->yy_reduce('38') in smarty_internal_templateparser.php line 4493 at Smarty_Internal_Templateparser->doParse('3', '}') in smarty_internal_smartytemplatecompiler.php line 118 at Smarty_Internal_SmartyTemplateCompiler->doCompile(' Witaj {firstname} {lastname}, Odebrano nową wiadomość dotyczącą zlecenia z adnotacją {order_name}. KLIENT: {firstname} {lastname} ({email}) {message} {shop_name} [{shop_url}] powered by PrestaShop™ [http://www.prestashop.com/] ') in smarty_internal_templatecompilerbase.php line 283 at Smarty_Internal_TemplateCompilerBase->compileTemplate(object(Smarty_Dev_Template)) in smarty_internal_template.php line 197 at Smarty_Internal_Template->compileTemplateSource() in smarty_internal_templatebase.php line 155 at Smarty_Internal_TemplateBase->fetch('/home/virtuss/public_html/opakio/themes/classic/mails/pl/order_conf_product_list.txt', null, null, null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('/home/virtuss/public_html/opakio/themes/classic/mails/pl/order_conf_product_list.txt') in PaymentModule.php line 1059 at PaymentModuleCore->getEmailTemplateContent('order_conf_product_list.txt', '2', array(array('id_product' => '10', 'reference' => 'OPK00140', 'name' => 'Kanister 1L 58g Biały / Szary - Pojemność : 1L, Kolor : Bezbarwny', 'price' => '1,49 zł', 'quantity' => '1', 'customization' => array(), 'unit_price_full' => '', 'unit_price' => ''))) in PaymentModule.php line 543 at PaymentModuleCore->validateOrder('42', '15', '19.48', 'Przelewy24.pl') in validation.php line 22 at przelewy24validationModuleFrontController->postProcess() in Controller.php line 190 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 28 Co w takiej sytuacji zrobić? Pozdrawiam |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 319 Pomógł: 118 Dołączył: 26.11.2003 Skąd: Lublin Ostrzeżenie: (0%) ![]() ![]() |
Masz problem przy wysyłaniu maila:
Cytat Whoops, looks like something went wrong. 1/1 SmartyCompilerException in smarty_internal_templatecompilerbase.php line 4: Syntax error in template "/home/virtuss/public_html/opakio/themes/classic/mails/pl/order_conf_product_list.txt" on line 4 "Witaj {firstname} {lastname}," unknown tag "firstname" Wyraźnie napisane, problem masz w pliku: /home/virtuss/public_html/opakio/themes/classic/mails/pl/order_conf_product_list.txt Obstawiam, że masz problem z wersjami modułów. Pamiętaj, że 1.7 jest jeszcze mocno świeży (tzn. nie wszyscy przepisali moduły z 1.6) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 26.08.2025 - 00:10 |