DexSnake Posted May 18, 2016 Share Posted May 18, 2016 (edited) SOLVED. Somehow the include file extention was changed for all email templates. Changed them back and is working. I was doing some work on my shop this morning, updating some email templates. When all of a sudden I lost the ability to send emails from the back office in the order update. I tried making a new account to test somethings out, and I am getting this error: Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/public_html/themes/mytheme/mails/en/account.html" on line 3 "<!--{include file='.htmlheader.html'}-->" - Unexpected "&" <-- thrown in/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 3 Any help would be super appreciated. Here is the code for my account.html file: <!--{include file='.htmlheader.html'}--> <p><span style="color:#555454;font-family:'Open-sans', sans-serif;font-size:small;"> <span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px;">Hi {firstname} {lastname},</span><br /><span class="subtitle" style="font-weight:500;font-size:16px;text-transform:uppercase;line-height:25px;">Thank you for creating a customer account at {shop_name}.</span> </span> </p> <table class="table" style="width:100%;"><tbody><tr><td width="10" style="padding:7px 0;"> </td> <td style="padding:7px 0;"> <p style="border-bottom:1px solid #EEEEEE;margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;padding-bottom:10px;">Your {shop_name} login details</p> <span style="color:#555454;font-family:'Open-sans', sans-serif;font-size:small;"><span style="color:#777;"> Here are your login details:<br /><span style="color:#333;"><strong>E-mail address: <a href="mailto:{email}" style="color:#337ff1;">{email}</a></strong></span><br /><span style="color:#333;"><strong>Password:</strong></span> {passwd} </span> </span></td> <td width="10" style="padding:7px 0;"> </td> </tr></tbody></table><p> </p> <table class="table" style="width:100%;"><tbody><tr><td width="10" style="padding:7px 0;"> </td> <td style="padding:7px 0;"> <p style="border-bottom:1px solid #EEEEEE;margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;padding-bottom:10px;">Important Security Tips:</p> <ol style="margin-bottom:0;"><li>Always keep your account details safe.</li> <li>Never disclose your login details to anyone.</li> <li>Change your password regularly.</li> <li>Should you suspect someone is using your account illegally, please notify us immediately.</li> </ol></td> <td width="10" style="padding:7px 0;"> </td> </tr></tbody></table><p> <span style="color:#555454;font-family:'Open-sans', sans-serif;font-size:small;"> <span>You can now place orders on our shop: <a href="{shop_url}" style="color:#337ff1;">{shop_name}</a></span> </span></p> <!--{include file='.htmlfooter.html'}--> Edited May 18, 2016 by DexSnake (see edit history) 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