Page 1 of 1
Upgraded to 1.11.9 Site front end now not displaying.
Posted: Wed Nov 13, 2013 7:17 pm
by neziah
Hi
I upgraded to 1.11.9 "Bartolome"
Now I'm getting the following error "Error: Syntax Error in template "tpl_body:29&" in the admin log.
The admin section is working great however the front end section is displaying
"Oops!
Sorry, it looks like something went wrong and an error has occurred.
Don’t worry, it can happen to any of us. "
Which provides no real detail as to what is the error.
How can I solve this. Thanks
Re: Upgraded to 1.11.9 Site front end now not displaying.
Posted: Wed Nov 13, 2013 7:28 pm
by calguy1000
Your error is on the ~29th line of the 'body' section of your template
i.e:
Code: Select all
<__html>
<__head>
...
</__head>
</__body> {* line 1 of the body section *}
</__body>
</__html>
Also, if you are using the same browser as the one that is logged in to the admin section you may get better error information.
Re: Upgraded to 1.11.9 Site front end now not displaying.
Posted: Wed Nov 13, 2013 8:48 pm
by neziah
calguy1000 wrote:Your error is on the ~29th line of the 'body' section of your template
i.e:
Code: Select all
<__html>
<__head>
...
</__head>
</__body> {* line 1 of the body section *}
</__body>
</__html>
Also, if you are using the same browser as the one that is logged in to the admin section you may get better error information.
Thanks for responding I'm using the same browser as the logged into the admin however there is no additional information displayed.
I checked line 29 however I can seem to see the issue with it
Here is my template
Code: Select all
{process_pagedata}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
{if isset($canonical)}
<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}
<link rel="canonical" href="{$content_obj->GetURL()}" />
{/if}
<title>{sitename} | {title}</title>
{metadata}
<meta name="description" content="{description}" />
{cms_stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
<!--[if lte IE 8]>
<style type="text/css">
{literal}
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
{/literal}
</style>
<![endif]-->
{global_content name='ie6nomore'}
<!--[if IE 6]>
<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>
<![endif]-->
<__script__ type="text/javascript" src="uploads/js/jquery171.js"></__script>
<__script__ type="text/javascript" src="uploads/js/cycle.js"></__script>
<__script__ type="text/javascript" src="uploads/js/jcarousellite.js"></__script>
{global_content name='cycle'}
</head>
</__body>
<div id='page'>
<div id="pagewrapper">
<ul class="accessibility">
<li>{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}</li>
<li>{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}</li>
</ul>
<hr class="accessibility" />
{* Start Header *}
<div id="header">
<div id="headmenu">
{global_content name='topmenu'}
</div>
<div id="flash">
{object src='uploads/flash/tcaa_sitetop.swf' param='wmode::transparent' width='1000' height='180' class='flashplayer'}
</div>
{* Start Navigation *}
<div id="menuhoriz">
<h2 class="accessibility">Navigation</h2>
{menu template="splitmenu"}
<hr class="accessibility" />
</div>
{* End Navigation *}
</div>
{* End Header *}
{* Start Content *}
<div id="content">
{* Start Breadcrumbs *}
<div class="bannernews">
{news summarytemplate='featured' category='featured' number='5' moretext='Read More'}
</div>
{* End Breadcrumbs *}
{* Start Sidebar *}
<div id="sidebar">
{content block='Sidebar'}
{global_content name='donate'}
{global_content name='social'}
</div>
{* End Sidebar *}
{* Start Content Area *}
<div id="main">
<div id="maintop">
<h2>{content block='spot' label='h2 title' oneline='true'}</h2>
{content} <br />
</div>
{* Start relational links *}
<div class="middle">
<h2>{content block='media' label='media title' oneline='true'}</h2>
{content block='mediabox' label='multimedia'}
</div>
<div class="bottom">
<h2>{content block='newsnotes' label='news title' oneline='true'}</h2>
{content block='newsbox' label='news and notes'}
</div>
{* End relational links *}
<div style='clear:both;'></div>
</div>
{* End Content Area *}
<div style='clear:both;'></div>
</div>
</div>
{* End Content *}
{* Start Footer *}
<div id="foot">
<div id="footer">
{* Start Search *}
<div id="search">
{search}
</div>
{* End Search *}
{global_content name='newfoot'}
<div style='clear:both;'></div>
</div>
</div>
{* End Footer *}
</div>
{* End pagewrapper *}
<__script__ type="text/javascript" src="uploads/js/hover.js"></__script>
<__script__ type="text/javascript" src="uploads/js/ease.js"></__script>
{jQuery action="load" script="4"}
{jQuery action="load" script="5"}
<__body>
</__html>