DiegoM Posted July 13, 2009 Share Posted July 13, 2009 I'm getting a blank page when I try to use "Send Message" on Products & Services page. I activated the debug mode and got this error: Fatal error: Template error: [in emailtpl:emailmessage line 23]: syntax error: unclosed tag \{if} (opened line 13). (Smarty_Compiler.class.php, line 320) in PATH/includes/smarty/Smarty.class.php on line 1095 How can I solve it? WHMCS Version: 4.0.2 PHP Version: 5.2.6 MySQL Version: 5.0.81-community 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted July 16, 2009 WHMCS Support Manager Share Posted July 16, 2009 There's an if tag in the email template you've forgotten to close. 0 Quote Link to comment Share on other sites More sharing options...
darrenalex Posted July 17, 2009 Share Posted July 17, 2009 Hi DiegoM... I am agree with John, you forget to close one tag from your email template so close that your error will get solved... 0 Quote Link to comment Share on other sites More sharing options...
DiegoM Posted July 21, 2009 Author Share Posted July 21, 2009 It's very strange, because I didn't edit anything. I just updated my WHMCS version. I'll check it out and tell you about it. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
DiegoM Posted July 23, 2009 Author Share Posted July 23, 2009 Can anyone help me? I can't send any message and I need it because my clients are asking for these messages. What can I do? 0 Quote Link to comment Share on other sites More sharing options...
DiegoM Posted July 23, 2009 Author Share Posted July 23, 2009 Do you know what file and line I can see where's the error to check and try to correct it? 0 Quote Link to comment Share on other sites More sharing options...
DiegoM Posted July 23, 2009 Author Share Posted July 23, 2009 I get this error when I do it: 1) Go to a client profile; 2) Change to "Products/Services" tab; 3) Select "Hosting Account Welcome Email" and send it. I got this error: Fatal error: Template error: [in emailtpl:emailmessage line 23]: syntax error: unclosed tag \{if} (opened line 13). (Smarty_Compiler.class.php, line 320) in /home/uebihost/public_html/suporte/includes/smarty/Smarty.class.php on line 1095 I didn't edit anything on my files. It's a new and clean installation. WHMCS Version: 4.0.2 PHP Version: 5.2.6 MySQL Version: 5.0.81-community 0 Quote Link to comment Share on other sites More sharing options...
SistemasyServicios Posted July 25, 2009 Share Posted July 25, 2009 I'm getting a blank page after re-sending the Welcome Email and it is not being sent. Nothing has been modified, clean new instalation. 0 Quote Link to comment Share on other sites More sharing options...
DedicatedPros Posted July 25, 2009 Share Posted July 25, 2009 I'm getting a blank page after re-sending the Welcome Email and it is not being sent.Nothing has been modified, clean new instalation. Add this to your config file: $display_errors = true; Try to send the email again and post the issue you get here 0 Quote Link to comment Share on other sites More sharing options...
SistemasyServicios Posted July 25, 2009 Share Posted July 25, 2009 I get this error when I do it:1) Go to a client profile; 2) Change to "Products/Services" tab; 3) Select "Hosting Account Welcome Email" and send it. I got this error: Fatal error: Template error: [in emailtpl:emailmessage line 23]: syntax error: unclosed tag \{if} (opened line 13). (Smarty_Compiler.class.php, line 320) in /home/uebihost/public_html/suporte/includes/smarty/Smarty.class.php on line 1095 I didn't edit anything on my files. It's a new and clean installation. WHMCS Version: 4.0.2 PHP Version: 5.2.6 MySQL Version: 5.0.81-community I don't know why, but I just deleted the content of that email and created my own content. It is working perfectly now. Try it yourself, little extra work but it is worth it. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted July 26, 2009 WHMCS Support Manager Share Posted July 26, 2009 The error message says that there's an if tage in the email template somewhere that you haven't closed. Run it through an syntax validator and it will help you find it. 0 Quote Link to comment Share on other sites More sharing options...
DiegoM Posted July 26, 2009 Author Share Posted July 26, 2009 The problem was in this part: Nameserver 1: {$service_ns1} ({$service_ns1_ip})Nameserver 2: {$service_ns2} ({$service_ns2_ip}) I had deleted ns3 and ns4, and forgot to delete {if} part. Thanks All! 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.