Jump to content

"Send Message" Problem


DiegoM

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

 

:shock:

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated