Zash Posted October 25, 2009 Share Posted October 25, 2009 I was editing my footer.tpl template, and when I submit my client area goes blank. I know this is a template issue since the Admin CP still works, and it works when I change templates. Here is my footer.tpl code: <!--{if $langchange}<div align="right">{$setlanguage}</div><br />{/if}--> </div> <div id="side_menu"> {literal}<div style="text-align:center;"><a href="javascript:void(window.open('https://www.mybbwebhost.com/livezilla/livezilla.php','','width=600,height=600,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes'))"><img src="https://www.mybbwebhost.com/livezilla/image.php?id=01" width="139" height="79" border="0" alt="MyBBWebHost - Online Support" /></a><noscript><a href="https://www.mybbwebhost.com/livezilla/livezilla.php" target="_blank"><img src="https://www.mybbwebhost.com/livezilla/image.php?id=01" width="139" height="79" border="0" alt="MyBBWebHost - Online Support" /></a></noscript><div id="livezilla_tracking" style="display:none"></div><script language="JavaScript" type="text/javascript"> <!-- var script = document.createElement("script");script.type="text/javascript";var src = "https://www.mybbwebhost.com/livezilla/server.php?request=track&output=jcrpt&nse="+Math.random();setTimeout("script.src=src;document.getElementById('livezilla_tracking').appendChild(script)",1); // --> </script></div>{/literal} <div style="text-align:center;" class="divider"></div> {if $loggedin}<p class="header">{$LANG.welcomeback}, {$clientsdetails.firstname}!</p>{else}<p class="header">{$LANG.quicknav}</p>{/if} <ul> {if $loggedin}{else}<li><a href="login.php"><img src="templates/{$template}/images/icons/support.gif" alt="Login" width="16" height="16" border="0" class="absmiddle" /></a> <a href="login.php" title="Login">Login</a></li>{/if} <!-- <li><a href="index.php"><img src="templates/{$template}/images/icons/support.gif" alt="{$LANG.globalsystemname}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="index.php" title="{$LANG.globalsystemname}">{$LANG.globalsystemname}</a></li>--> <li><a href="clientarea.php"><img src="templates/{$template}/images/icons/clientarea.gif" alt="{$LANG.clientareatitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="clientarea.php" title="{$LANG.clientareatitle}">{$LANG.clientareatitle}</a></li> {if $loggedin}<li><a href="clientarea.php?action=details" title="{$LANG.clientareanavdetails}"><img src="templates/{$template}/images/icons/announcement.gif" alt="{$LANG.clientareanavdetails}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="clientarea.php?action=details" title="{$LANG.clientareanavdetails}">{$LANG.clientareanavdetails}</a></li>{/if} <!-- <li><a href="announcements.php" title="{$LANG.announcementstitle}"><img src="templates/{$template}/images/icons/announcement.gif" alt="{$LANG.announcementstitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="announcements.php" title="{$LANG.announcementstitle}" title="{$LANG.announcementstitle}">{$LANG.announcementstitle}</a></li>--> <li><a href="submitticket.php" title="{$LANG.supportticketssubmitticket}"><img src="templates/{$template}/images/icons/submit-ticket.gif" alt="{$LANG.supportticketssubmitticket}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="submitticket.php" title="{$LANG.supportticketspagetitle}">{$LANG.supportticketssubmitticket}</a></li> <li><a href="knowledgebase.php" title="{$LANG.knowledgebasetitle}"><img src="templates/{$template}/images/icons/knowledgebase.gif" alt="{$LANG.knowledgebasetitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="knowledgebase.php" title="{$LANG.knowledgebasetitle}">{$LANG.knowledgebasetitle}</a></li> <li><a href="downloads.php" title="{$LANG.downloadstitle}"><img src="templates/{$template}/images/icons/downloads.gif" alt="{$LANG.downloadstitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="downloads.php" title="{$LANG.downloadstitle}">{$LANG.downloadstitle}</a></li> <li><a href="cart.php" title="{$LANG.ordertitle}"><img src="templates/{$template}/images/icons/order.gif" alt="{$LANG.ordertitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="cart.php" title="{$LANG.ordertitle}">{$LANG.ordertitle}</a></li> {if $loggedin}<li><a href="logout.php"><img src="templates/{$template}/images/icons/support.gif" alt="{$LANG.logouttitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="logout.php" title="{$LANG.logouttitle}">{$LANG.logouttitle}</a></li>{/if} </ul> {if $loggedin} <div class="divider"></div> <p class="header">{$LANG.accountinfo}</p> <p><strong>{$clientsdetails.firstname} {$clientsdetails.lastname} {if $clientsdetails.companyname}({$clientsdetails.companyname}){/if}</strong><br /> {$clientsdetails.address1}, {$clientsdetails.address2}<br /> {$clientsdetails.city}, {$clientsdetails.state}, {$clientsdetails.postcode}<br /> {$clientsdetails.countryname}<br /> {$clientsdetails.email}<br /><br /> <a href="clientarea.php?action=addfunds" title="{$LANG.addfunds}"><img src="templates/{$template}/images/icons/money.gif" alt="Add Funds" width="22" height="22" border="0" class="absmiddle" /></a> <a href="clientarea.php?action=addfunds" title="{$LANG.addfunds}">{$LANG.addfunds}</a> {if $addfundsenabled}{/if}</p> <div style="text-align:center;" class="divider"></div> <p class="header">{$LANG.accountstats}</p> <p>Number of Products: <strong>{$clientsstats.productsnumactive}</strong> ({$clientsstats.productsnumtotal})<br /> {$LANG.statsnumdomains}: <strong>{$clientsstats.numactivedomains}</strong> ({$clientsstats.numdomains})<br /> {$LANG.statsnumtickets}: <strong>{$clientsstats.numtickets}</strong><br /> {$LANG.statsnumreferredsignups}: <strong>{$clientsstats.numaffiliatesignups}</strong><br /> Credit Balance: <strong>{$clientsstats.creditbalance}</strong><br /> {$LANG.statsdueinvoicesbalance}: <strong>{if $clientsstats.numdueinvoices>0}<span class="red">{/if}{$clientsstats.dueinvoicesbalance}{if $clientsstats.numdueinvoices>0}</span>{/if}</strong><br /> </p> {else} <div style="text-align:center;" class="divider"></div> <form method="post" action="{$systemsslurl}dologin.php"> <p class="header">{$LANG.clientlogin}</p> <p><strong>{$LANG.email}</strong><br /> <input name="username" type="text" size="25" /> </p> <p><strong>{$LANG.loginpassword}</strong><br /> <input name="password" type="password" size="25" /> </p> <p> <input type="checkbox" name="rememberme" /> {$LANG.loginrememberme}</p> <p> <input type="submit" class="submitbutton" value="{$LANG.loginbutton}" /> </p> </form> <div style="text-align:center;" class="divider"></div> <p class="header">{$LANG.knowledgebasesearch}</p> <form method="post" action="knowledgebase.php?action=search"> <p> <input name="search" type="text" size="25" /><br /> <select name="searchin"> <option value="Knowledgebase">{$LANG.knowledgebasetitle}</option> <option value="Downloads">{$LANG.downloadstitle}</option> </select> <input type="submit" value="{$LANG.go}" /> </p> </form> {/if} </div> <div class="clear"></div> </div> <div class="clear"></div> <div id="footer"><div class="footer_text" style="float: right; padding-right: 10px;"> MyBBWebHosting is in no way affiliated to <a href="http://www.mybboard.net">MyBB</a> or its subsidiaries. </div> <div class="footer_text"> Copyright © 2009 MyBBWebHosting, all rights reserved. </div> <div id="footer_nav"> <a href="http://www.mybbwebhost.com/">Home</a> | <a href="http://www.mybbwebhost.com/hosting-plans.php">Hosting Plans</a> | <a href="http://www.mybbwebhost.com/terms.php">Terms of Service</a> | <a href="http://www.mybbwebhost.com/sla.php">Service Level Agreement</a> | <a href="http://www.mybbwebhost.com/privacy.php">Privacy Policy</a> | <a href="http://clients.mybbwebhost.com/">Client Area</a> | <a href="http://www.mybbwebhost.com/contact.php">Contact Us</a> </div> </div> </div></div> {literal}<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-5693772-25"); pageTracker._trackPageview(); } catch(err) {}</script> {/literal} </body> </html> My website is https://clients.mybbwebhost.com 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted October 25, 2009 WHMCS Support Manager Share Posted October 25, 2009 I don't think {if $loggedin}{else} is valid. 0 Quote Link to comment Share on other sites More sharing options...
Zash Posted October 25, 2009 Author Share Posted October 25, 2009 Hmm...not sure but it works well. I just read the sticky and did the error test, and I forgot to CHMOD my templates_c directory when moving my client area. Fixed 0 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.