Fatal Error

digitalravi

Joined: 2005-04-09
Posts: 10
Posted: Tue, 2006-08-22 05:41

I recieved this error when I attempted to integrate the gallery...

Fatal error: Smarty error: [in gallery:themes/matrix/templates/theme.tpl line 33]: syntax error: unrecognized tag: //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i/home/ravijaun/public_html/swami_album/lib/smarty/Smarty.class.php on line 1088

Here is the coding:

{*
* $Revision: 1.11 $
* If you want to customize this file, do not edit it directly since future upgrades
* may overwrite it. Instead, copy it into a new directory called "local" and edit that
* version. Gallery will look for that file first and use it if it exists.
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
{* Let Gallery print out anything it wants to put into the <head> element *}
{g->head}

{* If Gallery doesn't provide a header, we use the album/photo title (or filename) *}
{if empty($head.title)}
<title>{$theme.item.title|default:$theme.item.pathComponent|markup:strip}</title>
{/if}

{* Include this theme's style sheet *}
<link rel="stylesheet" type="text/css" href="{g->theme url="theme.css"}"/>
</head>
<body class="gallery">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body background="http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0328.jpg" text="#000000" link="#000099" vlink="#B35900" alink="#000099" onLoad="MM_preloadImages(' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/mantras_over.png', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/earth_evolution_over.png','images/design/temp/nav/tridev_over.png', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/swami_schedule_over.png','images/design/temp/nav/panchamgam_over.png', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/shri_suktham_over.png','images/design/temp/nav/other_gurus_over.png',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/temples_over.png','images/design/temp/nav/haridwar_over.png',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/prayers_vaishnav_over.png','http://www.ravijaundoo.com/balgopal/images/design/temp/nav/scholarship_over.png','images/design/temp/nav/Hanuman_Chalisa_over.png', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/swami_lecture_over.png','http://www.ravijaundoo.com/balgopal/images/design/temp/nav/ashram_timings_over.png',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/navagras_over.png',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/photo_album_over.png',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/quizzes_over.png',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/donations_over.png',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/contacts_over.png',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/guest_book_over.png')">
<table width="930" border="0" align="center" cellpadding="0" cellspacing="0" background="images/design/slice/orange_bk.jpg">
<tr>
<td width="125"><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0328.jpg" width="140" height="105"></td>
<td width="170"><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0576.jpg" width="170" height="105"></td>
<td width="170"><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0668.jpg" width="170" height="105"></td>
<td width="170"><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0831.jpg" width="170" height="105"></td>
<td width="170"><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0896.jpg" width="170" height="105"></td>
<td width="125"><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0328.jpg" width="140" height="105"></td>
</tr>
<tr>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0109.jpg" width="140" height="76"></td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0216.jpg" width="170" height="76"></td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0473.jpg" width="170" height="76"></td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0649.jpg" width="170" height="76"></td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0301.jpg" width="170" height="76"></td>
<td><img src="images/design/slice/ssimg0399.jpg" width="140" height="76"></td>
</tr>
<tr background=" http://www.ravijaundoo.com/balgopal/images/design/slice/orange_bk.jpg">
<td>&nbsp;</td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0374.jpg" width="170" height="66"></td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0518.jpg" width="170" height="66"></td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0648.jpg" width="170" height="66"></td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0733.jpg" width="170" height="66"></td>
<td>&nbsp;</td>
</tr>
<tr background=" http://www.ravijaundoo.com/balgopal/images/design/slice/orange_bk.jpg">
<td rowspan="2" align="center" valign="top"><table width="127" height="280" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="127" height="280" align="center" valign="top"><p><a href=" http://www.ravijaundoo.com/balgopal/mantras.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('mantras','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/mantras_over.png',1)">
</a><a href=" http://www.ravijaundoo.com/balgopal/mantras.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('mantras','', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/mantras_over.png',1)">
</a> <a href=" http://www.ravijaundoo.com/balgopal/mantras.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('mantras','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/mantras_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/mantras.png" name="mantras" width="127" height="33" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/tridev.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('tridev','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/tridev_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/tridev.png" name="tridev" width="127" height="24" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/swami_schedule.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('swami_schedule','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/swami_schedule_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/swami_schedule.png" name="swami_schedule" width="127" height="26" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/panchamgam.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('panchamgam','','images/design/temp/nav/panchamgam_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/panchamgam.png" name="panchamgam" width="127" height="27" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/shri_suktham.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('shri_suktham','','images/design/temp/nav/shri_suktham_over.png',1)"><img src="images/design/temp/nav/shri_suktham.png" name="shri_suktham" width="127" height="27" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/other_gurus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('other_gurus','','images/design/temp/nav/other_gurus_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/other_gurus.png" name="other_gurus" width="127" height="27" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/temples.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('temples','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/temples_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/temples.png" name="temples" width="127" height="25" border="0">
</a><a href="haridwar.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('haridwar','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/haridwar_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/haridwar.png" name="haridwar" width="127" height="27" border="0"></a><a href=" http://www.ravijaundoo.com/balgopal/temples.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('temples','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/temples_over.png',1)">
</a><a href="other_gurus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('other_gurus','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/other_gurus_over.png',1)">
</a><a href=" http://www.ravijaundoo.com/balgopal/shri_suktham.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('shri_suktham','', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/shri_suktham_over.png',1)">
</a><a href="panchamgam.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('panchamgam','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/panchamgam_over.png',1)">
</a><a href=" http://www.ravijaundoo.com/balgopal/swami_schedule.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('swami_schedule','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/swami_schedule_over.png',1)">
</a><a href="tridev.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('tridev','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/tridev_over.png',1)">
</a><a href="prayers_vaishnav.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('prayers_vaishnav','', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/prayers_vaishnav_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/prayers_vaishnav.png" name="prayers_vaishnav" width="127" height="32" border="0"></a><a href=" http://www.ravijaundoo.com/balgopal/tridev.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('tridev','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/tridev_over.png',1)">
</a><a href="mantras.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('mantras','', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/mantras_over.png',1)">
</a><a href=" http://www.ravijaundoo.com/balgopal/scholarship.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('scholarship','', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/scholarship_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/scholarship.png" name="scholarship" width="127" height="31" border="0"></a>
</p>
</td>
</tr>
</table></td>
<td height="49">&nbsp;</td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0163.png" width="170" height="49" align="top"></td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0278.png" width="170" height="49" align="top"></td>
<td><img src=" http://www.ravijaundoo.com/balgopal/images/design/slice/ssimg0130.png" width="170" height="49"></td>
<td rowspan="2" align="center" valign="top"><table width="127" height="283" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="106" height="283" align="center" valign="top"> <div align="center"><a href=" http://www.ravijaundoo.com/balgopal/earth_evolution.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('earth_evolution','', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/earth_evolution_over.png',1)"><img src="images/design/temp/nav/earth_evolution.png" name="earth_evolution" width="127" height="33" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/Hanuman_Chalisa.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Hanuman_Chalisa','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/Hanuman_Chalisa_over.png',1)"><img src="images/design/temp/nav/Hanuman_Chalisa.png" name="Hanuman_Chalisa" width="127" height="24" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/swami_lecture.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('swami_lecture','','images/design/temp/nav/swami_lecture_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/swami_lecture.png" name="swami_lecture" width="127" height="26" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/ashram_timings.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('ashram_timings','', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/ashram_timings_over.png',1)"><img src="images/design/temp/nav/ashram_timings.png" name="ashram_timings" width="127" height="27" border="0">
</a><a href="navagras.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navagras','','images/design/temp/nav/navagras_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/navagras.png" name="navagras" width="127" height="27" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/album.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('photo_album','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/photo_album_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/photo_album.png" name="photo_album" width="127" height="27" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/quizzes.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('quizzes','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/quizzes_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/quizzes.png" name="quizzes" width="127" height="25" border="0">
</a><a href="donations.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('donations','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/donations_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/donations.png" name="donations" width="127" height="27" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/contacts.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contacts','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/contacts_over.png',1)"><img src="images/design/temp/nav/contacts.png" name="contacts" width="127" height="32" border="0">
</a><a href=" http://www.ravijaundoo.com/balgopal/gbook/guestbook.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('guest_book','', http://www.ravijaundoo.com/balgopal/'images/design/temp/nav/guest_book_over.png',1)"><img src=" http://www.ravijaundoo.com/balgopal/images/design/temp/nav/guest_book.png" name="guest_book" width="127" height="31" border="0"></a><a href=" http://www.ravijaundoo.com/balgopal/earth_evolution.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('earth_evolution','','http://www.ravijaundoo.com/balgopal/images/design/temp/nav/earth_evolution_over.png',1)"><br>
</a><a href="earth_evolution.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('earth_evolution','',' http://www.ravijaundoo.com/balgopal/images/design/temp/nav/earth_evolution_over.png',1)">
</a></div></td>
</tr>
</table></td>
</tr>
<tr background=" http://www.ravijaundoo.com/balgopal/images/design/slice/orange_bk.jpg">
<td colspan="4" align="center" valign="top"><blockquote>
<p>&nbsp;</p>
<blockquote>
<p align="center">

<div {g->mainDivAttributes}>
{*
* Some module views (eg slideshow) want the full screen. So for those, we
* don't draw a header, footer, navbar, etc. Those views are responsible for
* drawing everything.
*}
{if $theme.useFullScreen}
{include file="gallery:`$theme.moduleTemplate`" l10Domain=$theme.moduleL10Domain}
{else}
<div id="gsHeader">
<img src="{g->url href="images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
</div>

<div id="gsNavBar" class="gcBorder1">
<div class="gbSystemLinks">
{g->block type="core.SystemLinks"
order="core.SiteAdmin core.YourAccount core.Login core.Logout"
othersAt=4}
</div>

<div class="gbBreadCrumb">
{g->block type="core.BreadCrumb"}
</div>
</div>

{* Include the appropriate content type for the page we want to draw. *}
{if $theme.pageType == 'album'}
{g->theme include="album.tpl"}
{elseif $theme.pageType == 'photo'}
{g->theme include="photo.tpl"}
{elseif $theme.pageType == 'admin'}
{g->theme include="admin.tpl"}
{elseif $theme.pageType == 'module'}
{g->theme include="module.tpl"}
{elseif $theme.pageType == 'progressbar'}
{g->theme include="progressbar.tpl"}
{/if}

<div id="gsFooter">
{g->logoButton type="validation"}
{g->logoButton type="gallery2"}
{g->logoButton type="gallery2-version"}
{g->logoButton type="donate"}
</div>
{/if} {* end of full screen check *}
</div>

{*
* Give Gallery a chance to output any cleanup code, like javascript that
* needs to be run at the end of the <body> tag. If you take this out, some
* code won't work properly.
*}
{g->trailer}

{* Put any debugging output here, if debugging is enabled *}
{g->debug}

photo</p>
</blockquote>
</blockquote>
</td>
</tr>
<tr align="center" valign="middle" background="images/design/slice/orange_bk.jpg">
<td height="15" colspan="6"><font size="-1">&copy;2006 <a href="index.html">Bal
Shiva Charitable Trust</a>. All rights reserved. Web development by <a href="http://www.ravijaundoo.com" target="_blank">Ravi
Jaundoo</a>. </font></td>
</tr>
</table>

</body>
</html>

The template address is: http://ravijaundoo.com/balgopal/photo_beta.html

 
saibay

Joined: 2007-12-12
Posts: 1
Posted: Wed, 2007-12-12 17:04

i think you have to check out all the quotes.
Does they all hav their pairs...
see the detailed information here on my site about wholesale clothing,in the privat part there are some articles
http://www.wholesale-clothing.bravehost.com

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-12-13 00:10

put your javascript into {literal}{/literal} when editing gallery template files.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage