mtom75 Posted October 25, 2014 Share Posted October 25, 2014 Sziasztok! Segítséget szeretnék kérni, következő lenne a problémám: Amikor rendelést adok le az áruházban amikor a végső részhez érnék, akkor egy üres oldal fogad. Fizetés megerősítése után nem történik semmi ki kéne írni a banki adatokat, küldeni emailt mind nekem mind adminnak és a rendelőnek. Egyik se történik meg, de viszont a PHP hibát ad. [25-Oct-2014 22:03:24 Europe/Budapest] PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/budapes3/domains/budapestilaptopszerviz.hu/public_html/webshop/themes/default-bootstrap/mails/hu/order_conf_product_list.txt" on line 2 "{$product[\'reference\']}" - Unexpected "\" <-- thrown in /home/budapes3/domains/budapestilaptopszerviz.hu/public_html/webshop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 2 Köszönöm ha tudtok segíteni Tamás Link to comment Share on other sites More sharing options...
wilbury Posted October 25, 2014 Share Posted October 25, 2014 Hozzányúltál ehhez a text file-hoz? Ki kéne iratni a $product tömböt még előtte. Meg kéne nézni, mi van benne! 1 Link to comment Share on other sites More sharing options...
Diakro Posted October 26, 2014 Share Posted October 26, 2014 Meg akartam nézni, de nálam alapból nincs is ilyen mappa: "themes/default-bootstrap/mails/..." A "./mails" mappában viszont nekem így szerepel ez a változó: {$product['reference']} Tehát próbáld meg a backslash jeleket törölni az aposztrófok elől. 1 Link to comment Share on other sites More sharing options...
wilbury Posted October 26, 2014 Share Posted October 26, 2014 Azt hittem, csak a hibaüzenet írja ki így slash-sel. De ott a hibaleírás: "Unexpected /", szóval akkor tuti így van a file-ban is. Ki kell törölni, ahogy diakro mondta! 1 Link to comment Share on other sites More sharing options...
mtom75 Posted October 26, 2014 Author Share Posted October 26, 2014 Azt mindig elfelejtem hogy a verzió szám is kell. tehát 1.6.0.9 shopom van. 1 Link to comment Share on other sites More sharing options...
mtom75 Posted October 26, 2014 Author Share Posted October 26, 2014 Köszönöm a segítséget működik, csak azt nem értem, hogy került oda a backslash. Link to comment Share on other sites More sharing options...
pattila01 Posted October 26, 2014 Share Posted October 26, 2014 Szép topik, gyors megoldás! Gratulálok diakro, wilbury! Örülök, hogy ilyen segítőkész emberek vannak itt, és nem engedünk a bontásnak! Mindenkinek szép vasárnapot! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now