ssoylu1996 Posted May 4, 2013 Share Posted May 4, 2013 Hi, Here is a link to my site :http://client.linearhosting.net/cart.php?a=add&pid=1 the cart.php has no style? it suddenly is gone now. how can i fix this? It was there earlier... Thanks. 0 Quote Link to comment Share on other sites More sharing options...
vec Posted May 4, 2013 Share Posted May 4, 2013 Did you change anything in the template? 0 Quote Link to comment Share on other sites More sharing options...
WebsiteIntegrations Posted May 5, 2013 Share Posted May 5, 2013 Its not just the cart http://client.linearhosting.net/clientarea.php - in admin does the activity log show any error? 0 Quote Link to comment Share on other sites More sharing options...
ssoylu1996 Posted May 5, 2013 Author Share Posted May 5, 2013 (edited) Smarty Error: [in design/header.tpl line 233]: syntax error: unclosed tag \{if} (opened line 192). (Smarty_Compiler.class.php, line 320) - 05/05/2013 17:20 - System - 66.249.75.17 Edit: I dont understand what the problem is. I did not edit anyting. I only transfered my WHMCS from another domain to this new domain and the license key is valid. Second edit: I dont see a problem on the header.tpl header.tpl: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset={$charset}" /> {if $filename eq 'index'} <meta name="description" content="Need your small, medium or large business hosted or even just your own personal blogs? If so, come on right here. Web Hosting is cheap and easy to get here!"> <meta name="keywords" content="Web Hosting, Hosting, Website, Hoster, Cheap Hosting, Cheap, Domain, Domain Register, Cheap Domains"> {/if} <title>{if $kbarticle.title}{$kbarticle.title} - {/if}{$pagetitle} - {$companyname}</title> {if $systemurl} <base href="{$systemurl}" /> {/if} <script type="text/javascript" src="includes/jscript/jquery.js"></script> {if $livehelpjs}{$livehelpjs}{/if} <link href="templates/{$template}/css/bootstrap.css" rel="stylesheet"> <link href="templates/{$template}/css/whmcs.css" rel="stylesheet"> <link rel="shortcut icon" type="image/x-icon" href="http://www.linearhosting.net/favicon.ico" /> <script src="templates/{$template}/js/whmcs.js"></script> {$headoutput} <!-- Stylesheets --> <link href="https://client.linearhosting.net/themes/blue/css/custom.css" rel="stylesheet" type="text/css" /> {if $filename != 'index'} <link href="templates/{$template}/resources/css/rackhost.css" rel="stylesheet" type="text/css" /> {/if} {if $filename eq 'index'} <link href="templates/{$template}/resources/css/rackhost2.css" rel="stylesheet" type="text/css" /> {/if} <!-- Javascripts --> <script src="templates/{$template}/resources/js/jquery-1.7.2.min.js" type="text/javascript"></script> {if $filename != 'cart'}<script src="templates/{$template}/resources/js/rackhost.js" type="text/javascript"></script>{/if} </head> <body> {$headeroutput} <!-- Site Wrapper Start --> <div class="siteWrapper"> <body> <!-- Site Wrapper Start --> <div class="siteWrapper"> <!-- Site Header --> <div class="siteHeaderShadow"> </div> <div class="siteHeader"> <div class="center"> <a class="logo" href="index.php"></a> <ul class="navigation"> <li> <a href="#" class="dropdown"><strong>Web</strong> Hosting<br /><span>cPanel powered</span></a> <ul class="dropdown"> <li><a href="webhosting.php"><strong>Web</strong> Hosting</a></li> <li><a href="business.php"><strong>Business</strong> Hosting</a></li> </ul> </li> <li> <a href="#" class="dropdown"><strong>Domain</strong> Names<br /><span>Purchase a Domain</span></a> <ul class="dropdown"> <li><a href="domainchecker.php"><strong>Register</strong> a Domain</a></li> <li><a href="cart.php?a=add&domain=transfer"><strong>Transfer</strong> a Domain</a></li> <li><a href="domainchecker.php?search=bulkregister"><strong>Bulk</strong> Domain Search</a></li> <li><a href="domainchecker.php?search=bulktransfer"><strong>Bulk</strong> Domain Transfer</a></li> </ul> </li> <li> <a href="http://www.linearhosting.net/comodo-ssl.php"><strong>SSL</strong> Certificates<br /><span>Purchase SSL</span></a> </li> <li><a href="http://www.client.linearhosting.net/clientarea.php"><strong>My</strong> Account<br /><span>Manage your Account</span></a></li> <li> <a href="submitticket.php?step=2&deptid=2"><strong>Contact</strong> Us<br /><span>General Enquiries</span></a> </li> </ul> </div> </div> {if $filename eq 'index'} <!-- Content Slider --> <div class="contentSlider" style="height: 380px;"> <div class="center"><div class="slideSwitch"><div id="switchSlide-0" style="width: 234px;" class="active"><!--Was: width: 152px;--> <strong>Shared</strong> Hosting </div><div id="switchSlide-1" style="width: 234px;margin-right:0px;" class=""> <strong>Domain</strong> Transfer </div><!--<div id="switchSlide-2" style="width: 152px; margin-right: 0px;" class=""> <strong>Dedicated</strong> Servers </div>--></div> <div class="slide clearfix" id="slide-0" style="height: 380px; overflow: visible; display: none; position: relative; top: 0px;"> <div class="slideSwitchLabel"> <strong>Shared</strong> Hosting </div> <div class="information" style="margin-left: 0px; opacity: 1;"> <h1>Shared <span>Hosting</span></h1> <p>Powerful <strong>cPanel</strong> shared hosting on enterprise hardware.</p> <ul class="clearfix"> <li><strong>20</strong> Email Accounts</li> <li><strong>3</strong> Addon Domains</li> <li><strong>5 GB</strong> Storage</li> <li><strong>60 GB</strong> Monthly Traffic</li> </ul> <div class="box clearfix"> <div class="label"> monthly<br>from </div> <div class="price"> £4.95 </div> <a class="colorButton" href="cart.php?gid=2"><span class="pointer"><strong>View all</strong> available plans now</span></a> </div> </div> <img src="/templates/design/resources/img/slider/sharedServer.png" alt="Shared" style="margin-top: 0px; margin-right: 0px; opacity: 1;"> </div> <div class="slide clearfix" style="display: none; height: 380px; overflow: visible; position: relative; top: 0px;" id="slide-1"> <div class="slideSwitchLabel"> <strong>Domain</strong> Transfer </div> <div class="information" style="margin-left: 0px; opacity: 1;"> <h1>Domain <span>Transfer</span></h1> <p>Transfer your <strong>domain</strong> to us and <strong>save</strong> on renewals.</p> <ul class="clearfix"> <li><strong>Email</strong> Forwarding £1.00</li> <li><strong>DNS</strong> Management £3.50</li> </ul> <div class="box clearfix"> <div class="label"> yearly<br>from </div> <div class="price"> £7.00 </div> <a class="colorButton" href="domainchecker.php"><span class="pointer"><strong>View all</strong> prices</span></a> </div> </div> <img src="/templates/design/resources/img/slider/virtualServer.png" alt="Virtual" style="margin-top: 0px; margin-right: 0px; opacity: 1;"> </div> <!--<div class="slide clearfix" style="display: block; height: 380px; overflow: visible; position: relative; top: 0px;" > <div class="slideSwitchLabel"> <strong>Dedicated</strong> Servers </div> <div class="information" style="margin-left: 0px; opacity: 1;"> <h1>Dedicated <span>Servers</span></h1> <p>Experience <strong>enterprise class</strong> dedicated resources at a fraction of a cost.</p> <ul class="clearfix"> <li><strong>2x Intel Xeon</strong> 5620 2.40GHz</li> <li><strong>48 GB</strong> DDR3 RAM</li> <li><strong>4x 500 GB</strong> SAS 10.000 RPM</li> <li><strong>10 TB</strong> Monthly Traffic</li> </ul> <div class="box clearfix"> <div class="label"> monthly<br>from </div> <div class="price"> $289 </div> <a class="colorButton" href="dedicated.html"><span class="pointer"><strong>View all</strong> available plans now</span></a> </div> </div> <img src="/templates/design/resources/img/slider/dedicatedServer.png" alt="Dedicated" style="margin-top: 0px; margin-right: 0px; opacity: 1;"> </div>--> </div> </div> {/if} <!-- Content Header --> <div class="contentHeader"> <div class="center"> <h1><span>{$pagetitle}</h1> <ul> <li><a class="iconSmallPhone" href="submitticket.php?step=2&deptid=2"><strong>Contact</strong> Us</a></li> <li><a class="iconSmallChat" href="/live/client.php?locale=en" target="_blank" onclick="if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 && window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('/live/client.php?locale=en&url='+escape(document.location.href.replace('http://','').replace('https://',''))+'&referrer='+escape(document.referrer.replace('http://','').replace('https://','')), 'webim', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><strong>Live</strong> Chat</a></li> <li><a class="iconSmallEmail" href="submitticket.php"><strong>Submit</strong> Ticket</a></li> <li><a class="iconSmallClient" href="clientarea.php"><strong>My</strong> Account</a></li> </ul> </div> </div> <!-- Content Wrapper --> <div class="contentWrapper"> <div class="outerShadow"> </div> <div class="innerShadow"> </div> <div class="center clearfix"> <!-- Additional clearfix necessary for non floated objects --> <div class="clearfix"> </div> <!-- Content Starts - Header template should end here --> <div id="whmcsthemes" style="margin-top:30px;"> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="nav-collapse"> <ul class="nav"> <li><a href="{if $loggedin}clientarea{else}index{/if}.php">{$LANG.hometitle}</a></li> </ul> {if $loggedin} <ul class="nav"> <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">{$LANG.navservices} <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="clientarea.php?action=products">{$LANG.clientareanavservices}</a></li> {if $condlinks.pmaddon} <li><a href="index.php?m=project_management">{$LANG.clientareaprojects}</a></li> {/if} <li class="divider"></li> <li><a href="cart.php">{$LANG.navservicesorder}</a></li> <li><a href="cart.php?gid=addons">{$LANG.clientareaviewaddons}</a></li> </ul> </li> </ul> <ul class="nav"> <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">{$LANG.navdomains} <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="clientarea.php?action=domains">{$LANG.clientareanavdomains}</a></li> <li class="divider"></li> <li><a href="cart.php?gid=renewals">{$LANG.navrenewdomains}</a></li> <li><a href="cart.php?a=add&domain=register">{$LANG.navregisterdomain}</a></li> <li><a href="cart.php?a=add&domain=transfer">{$LANG.navtransferdomain}</a></li> <li class="divider"></li> <li><a href="domainchecker.php">{$LANG.navwhoislookup}</a></li> </ul> </li> </ul> <ul class="nav"> <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">{$LANG.navbilling} <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="clientarea.php?action=invoices">{$LANG.invoices}</a></li> <li><a href="clientarea.php?action=quotes">{$LANG.quotestitle}</a></li> <li class="divider"></li> {if $condlinks.addfunds} <li><a href="clientarea.php?action=addfunds">{$LANG.addfunds}</a></li> {/if} {if $condlinks.masspay} <li><a href="clientarea.php?action=masspay&all=true">{$LANG.masspaytitle}</a></li> {/if} {if $condlinks.updatecc} <li><a href="clientarea.php?action=creditcard">{$LANG.navmanagecc}</a></li> {/if} </ul> </li> </ul> <ul class="nav"> Edited May 5, 2013 by ssoylu1996 0 Quote Link to comment Share on other sites More sharing options...
ssoylu1996 Posted May 6, 2013 Author Share Posted May 6, 2013 Solved, I restored a backup its fine now. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted May 6, 2013 Share Posted May 6, 2013 From what you posted - the if logged in if statement wasn't closed. 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.