Jump to content

smarty error in email ticket notification


Recommended Posts

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

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