Jump to content

Test sending


Helaly

Recommended Posts

I send a post but i can not see it in the forum ??

 

- - - Updated - - -

 

here it is :)

Hello

Our template "tl4t" was working successfully on version 6.2..After upgrade to V 6.3.1 it stops working completely..We enable smarty php from security tab on the old 6.2 so it is already enabled after upgrade..It seems that smarty not parse the php tags after upgrade..I know that the smarty version on both 6.2 and 6.3 is the same so why our template stops..

 

Our web site : http://www.tl4t.com/

 

We need you help ASAP..

 

Regards

Link to comment
Share on other sites

as a new member in this forum, your post need one of the Mods to review and approve it.

 

- - - Updated - - -

 

enable the debug mode http://docs.whmcs.com/Blank_Pages#If_you_can_access_the_Admin_Area then check if there is any error displayed in your client area.

 

also check if Admin -> Utilities -> Logs -> Activity Log has any error records

Link to comment
Share on other sites

As mentioned, the admin logs might be a bit informative here.

Also, take a look through your site for error_logs.

You should avoid using {php} in general, in your smarty code. It's been frowned upon for years, and there's plenty of hooks, etc that you can use instead. There's really no guarantee that {php} will continue to be an option.

Link to comment
Share on other sites

Hello

Thank you very much for replies..Errors appear in activity log like

 

Smarty Error: Syntax error in template "/home/tl4tabed/public_html/templates/tl4t/em.tpl" on line 31 "<li class="nav-one"><a href="#core1" class="{php} if ($page=='pub') {echo "current";} else {echo "";} {/php}">{$LANG.emservtit1}</a></li>" unknown tag "echo"

 

 

Smarty Error: Syntax error in template "/home/tl4tabed/public_html/templates/tl4t/domainchecker.tpl" on line 107 "{foreach key=num item=tldpricelist from=$tldpricelist}" item variable 'tldpricelist' may not be the same variable as at 'from'

 

Smarty Error: Syntax error in template "/home/tl4tabed/public_html/templates/tl4t/ts.tpl" on line 31 "<li class="nav-one"><a href="#core1" class="{php} if ($page=='vblicense') {echo "current";} else {echo "";} {/php}">{$LANG.tsservtit1}</a></li>" unknown tag "echo"

 

 

Smarty Error: Syntax error in template "/home/tl4tabed/public_html/templates/tl4t/em.tpl" on line 31 "<li class="nav-one"><a href="#core1" class="{php} if ($page=='pub') {echo "current";} else {echo "";} {/php}">{$LANG.emservtit1}</a></li>" unknown tag "echo"

 

But why it works before on 6.2 and stops on 6.3 although the smarty version is the same ???!!!

 

Can you help us in fixing this issue with money ??? and how much ??

 

Regards

Link to comment
Share on other sites

the domainchecker issue can be resolved via the thread below...

http://forum.whmcs.com/showthread.php?104806-domainchecker-php-blank-page&p=434771#post434771

 

I suspect the other issues could be resolved by getting rid of the {php} tags and using Smarty... adding {debug} to your template will tell you if there is a Smarty equivalent variable or array you can use.

 

if you want to pay for someone to help you with this, you'd need to post in Service Offers & Requests

Link to comment
Share on other sites

Helaly,

 

the issues you mentioned here is easy to be resolved, you need to replace

{echo "";}

with

echo "";

 

and

{echo "current";}

with

echo "current";

 

then in foreach you need to modify it from

{foreach key=num item=tldpricelist from=$tldpricelist}

to

{foreach key=num item=tldprices from=$tldpricelist}

and of course replace "tldpricelist" used inside the foreach with the new name "tldprices"

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