Jump to content

Changing Orders from Pending blank page


ZAKS

Recommended Posts

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

Link to comment
Share on other sites

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}.

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.

×
×
  • Create New...