ZAKS Posted February 7, 2015 Share Posted February 7, 2015 Hi, I'm having trouble when changing an order received from 'Pending' to 'Processing' or 'Complete' it yields a blank page and doesn't complete the action. In System Error Log i've received this - [Exception] /var/sites/z/mystore.com/public_html/includes/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:22 - Syntax error in template "f0d9f60b8943a75aa73ac9a7d224e22fab4e9b24" on line 22 "brokenlinkimage{DATA.logoURL} the brokenlinkimage being {$DATA.storeName} I have edited my store name. Could anyone tell me what this means please, and how to fix it. Thanks Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 7, 2015 Share Posted February 7, 2015 In this case, a template that cannot be rendered by Smarty will cause Smarty to crash and the browser gets a zero-byte page (blank) as a result. With a template name like that, I'm sure it is Smarty creating a temporary compiled template, but there is an issue being caused by a fault in the source template. Knowing that CubeCart wants to email the customer and/or admin about the change in status of the order, I am going to assert that the source template in question is one of the Email Contents templates. This expression of a variable: {DATA.logoURL} is not correct. You will need to find the template you have edited, and make sure the variables are expressed as: {$DATA.logoURL} I think it should be the Email Templates tab, Default Emails template, HTML Content tab, right-click on the image, select Edit Link, and make sure the Protocol is <other> and the URL is {$DATA.logoURL}. Quote Link to comment Share on other sites More sharing options...
ZAKS Posted February 7, 2015 Author Share Posted February 7, 2015 You....Mr Smither are a gentleman. :-) Thank you. All is now well. 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.