Remitur Posted May 2, 2018 Share Posted May 2, 2018 .It's few days (maybe since WHMCS update to 7.5, but I can't be sure about this) that, for every ticket notification, I find two error messages in activity log: Smarty Error: Syntax error in template "mailMessage:mailMessage:plaintext" on line 14 "Nel ticket #{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id} {if $newReply || }è stata aggiunta una nuova {if $newReply}risposta{else}nota{/if} pubblicata da{else}è stato inserito un aggiornamento da{/if} {$changer}." - Unexpected "}" and Smarty Error: Syntax error in template "mailMessage:mailMessage:message" on line 39 "<p>Nel ticket #<a href="{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}"><strong>{$ticket_tid}</strong></a> {if $newReply || }è stata aggiunta una nuova {if $newReply}risposta{else}nota{/if} pubblicata da{else}è stato inserito un aggiornamento da{/if} <strong>{$changer}</strong>.</p>" - Unexpected "}" Email template seems to be right... {if $newTicket} Il ticket #{$ticket_tid} è stato aperto da {$changer}. Cliente: {$client_name}{if $client_id} #{$client_id}{/if} Dipartimento: {$ticket_department} Titolo: {$ticket_subject} Priorità: {$ticket_priority} {$newTicket} {else} Nel ticket #{$ticket_tid} {if $newReply || }è stata aggiunta una nuova {if $newReply}risposta{else}nota{/if} pubblicata da{else}è stato inserito un aggiornamento da{/if} {$changer}. {if $changes}{foreach $changes as $change}{/foreach} {$change@key}: {$change.old} {$change.new} {/if} {if $newReply} {$newReply} {/if} {if $newNote} {$newNote} {/if} {if $newAttachments}{$newAttachments}{/if} {/if} Puoi aggiungere una risposta al ticket rispondendo semplicemente a questa email oppure dall'interfaccia amministrativa utilizzando l'indirizzo riportato in basso. {$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id} Any idea? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 2, 2018 Share Posted May 2, 2018 22 minutes ago, Remitur said: Any idea? I don't like the code below... 22 minutes ago, Remitur said: {if $newReply || } if $newReply OR.... or what? it makes no sense. 1 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.