dstemper Posted January 8, 2014 Share Posted January 8, 2014 Thank you community for hearing my issue. I tried to resolve this on my own, but alas that did not work. In fact, it got worse. Error : Smarty Error: [in emailtpl:emailmessage line 4]: syntax error: unclosed tag \{if} (opened line 2). (Smarty_Compiler.class.php, line 319) in the email everything comes up but the domain and product service. Dear {$client_name}, This is a notice that an invoice has been generated on {$invoice_date_created}. Product/Service: {$service_product_name} Domain: {$service_domain} Your payment method is: {$invoice_payment_method} Invoice #{$invoice_num} Amount Due: {$invoice_total} Due Date: {$invoice_date_due} Invoice Items {$invoice_html_contents} ------------------------------------------------------ You can login to your client area to view and pay the invoice at {$invoice_link} {$signature} Needless to say, I am at a loss. Maybe someone could point me in the correct direction? I have gone through the documentation and the Further Security Steps part of the troubleshooting sections and I don't really see anything helping me in my solution. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 9, 2014 WHMCS Support Manager Share Posted January 9, 2014 Hi, Please try disabling the rich text editor, you will probably see the if tags there. They won't be displayed in the rich text editor. 0 Quote Link to comment Share on other sites More sharing options...
dstemper Posted January 18, 2014 Author Share Posted January 18, 2014 That didn't work, This is the error I am getting within the activity log. Email Sent to Maxxxx (Quote #29 - Website Hosting Quote) - 01/18/2014 12:23 - dxxxxx - 24.xxxxxxxxxxx Modified Quote - Quote ID: 29 - 01/18/2014 12:23 - dxxxxx - 24.xxxxxxxxxxx Smarty Error: unable to read resource: "viewquote.tpl" - 01/18/2014 12:21 - dxxxxx- 24.xxxxxxxxxx Email Sent to Chris xxxxxxxxxx (Invoice Payment Confirmation) - 01/18/2014 12:17 - dxxxxx- xxxxxxxxxx Smarty Error: [in emailtpl:emailmessage line 4]: syntax error: unclosed tag \{if} (opened line 2). (Smarty_Compiler.class.php, line 319) 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted January 20, 2014 Share Posted January 20, 2014 As WHMCS John said, there is a hidden {if} tag in your email template that should be either enclosed either removed. Try to open HTML Editor, Enable/Disable Rich-Text editor or copy the content in a .txt, clean the editor and paste the content back to it. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 20, 2014 Share Posted January 20, 2014 also make sure viewquote.tpl exists on the server. 0 Quote Link to comment Share on other sites More sharing options...
julham Posted January 26, 2014 Share Posted January 26, 2014 help me i got this error Smarty Error: [in emailtpl:emailmessage line 17]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 592) Smarty Error: [in emailtpl:emailmessage line 17]: syntax error: unrecognized tag: </span><span>$</span> <span class="hps">invoice_link</span><span> (Smarty_Compiler.class.php, line 448) 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted January 26, 2014 Share Posted January 26, 2014 unrecognized tag Turn your editor to HTML editor and correct all the tags of the email template. 0 Quote Link to comment Share on other sites More sharing options...
julham Posted January 26, 2014 Share Posted January 26, 2014 thanks priestakos problem resolved 0 Quote Link to comment Share on other sites More sharing options...
dstemper Posted February 16, 2014 Author Share Posted February 16, 2014 Sorry, but I work crazy hours. I followed the instructions. I disabled the rich text editor, copied the content of the email to a txt editor. Cleared the content from the whmcs editor. Saved. And it still didn't work as I am getting the same error. I really have no idea what the issue is and it is more than frustrating, embarrassing that my clients are asking WTH is this crap I am getting in my email. 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted February 16, 2014 Share Posted February 16, 2014 Sorry to hear that. Add an test admin account, open a support ticket to WHMCS and send them the login information to assist you. PS: Try to replace 'viewquote.tpl' with the one that u got in the WHMCS zip 0 Quote Link to comment Share on other sites More sharing options...
dstemper Posted February 16, 2014 Author Share Posted February 16, 2014 viewquote.tpl[/i]' with the one that u got in the WHMCS zip Try that as well, no go. Yeah I am going to have to do that because this is getting ridiculous. This is a bug that needs to be fixed. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.