domi Posted May 10, 2010 Share Posted May 10, 2010 Hello, when i click to purchase a product via paypal,i have a blank page,i put in confg.php the $display_errors = true; and came out this,what i do now? Fatal error: Smarty error: [in emailtpl:emailmessage line 6]: syntax error: unrecognized tag: font-family:"Cambria Math"; panose-1:0 0 0 0 0 0 0 0 0 0; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0; (Smarty_Compiler.class.php, line 446) in /home/prohoste/public_html/whmcs/includes/smarty/Smarty.class.php on line 1093 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 10, 2010 WHMCS Support Manager Share Posted May 10, 2010 This error is occurring because you've copied text in from a Microsoft Office application to the email message field. Their office apps add CSS code which contains the smarty template engine characters and causes this error. To avoid it, you should first copy your text into Notepad, that will remove the CSS formatting then from there you can copy and paste it into the WHMCS email field and then the email should send fine. 0 Quote Link to comment Share on other sites More sharing options...
domi Posted May 10, 2010 Author Share Posted May 10, 2010 This error is occurring because you've copied text in from a Microsoft Office application to the email message field. Their office apps add CSS code which contains the smarty template engine characters and causes this error. To avoid it, you should first copy your text into Notepad, that will remove the CSS formatting then from there you can copy and paste it into the WHMCS email field and then the email should send fine. I have to change it in all email templates or in a specific one and what exactly? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 10, 2010 WHMCS Support Manager Share Posted May 10, 2010 Well if you've customised all your email templates then you will need to go through each one. When placing an order the following emails are sent, so would be a good place to start: Invoice Created Order Confirmation Client Signup Email 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.