Jump to content

Smarty Error


magicfortune

Recommended Posts

Hello,

 

I am getting two different PHP error in my dashboard under System Activity.

 

Smarty Error: Syntax error in template "/home/magicfortune/public_html/magicfortunesystem/whmcs/templates/hexa/homepage.tpl" on line 1 "{php}header("Location: /home/magicfortune/public_html/magicfortunesystem/whmcs/clientarea.php");{/php}" unknown tag "php"

 

as well as this one...

 

Smarty Error: Syntax error in template "/home/magicfortune/public_html/magicfortunesystem/whmcs/templates/hexa/header.tpl" on line 68 "<li><a href="#" class="user dropdown-toggle" data-toggle="dropdown"><span class="username"><img src="https://www.gravatar.com/avatar/{php}$userid = $this->_tpl_vars['clientsdetails']['userid'];$result = mysql_query("SELECT email FROM tblclients WHERE id=$userid");$data = mysql_fetch_array($result);$email = $data["email"];echo md5( strtolower( trim( $email ) ) );{/php}?s=50&d=mm" class="user-avatar" alt=""> {$clientsdetails.firstname} {$clientsdetails.lastname} </span></a>" unknown tag "php"

 

I appreciate anyones help.

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

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated