Pagina 1 van 1

Fout in TPL cache bestand

Geplaatst: 13 nov 2005, 17:06
door B-sTyLe
Support template:
  • Wat is het probleem? ik krijg de melding Parse error: parse error, unexpected $ in /usr/export/www/hosting/webfreak21/cache/tpl_subSilver.overall_header.php on line 162
    Wanneer ontstond het probleem? nadat ik mijn overall_header had bijgewerkt
    Adres van je forum:
    Geïnstalleerde mods: XS, gender en nog een paar
    Huidige template: fisubsilversh (zwaar gepimped)
    phpBB versie: 2.0.18
    Host:
    Heb je onlangs een mod of stijl geïnstalleerd? Nope
    Heb je gezocht naar een antwoord?
Ja, niks kunnen vinden
Overige opmerkingen:

Dit is dat cache bestand:

Code: Selecteer alles

<?php

// eXtreme Styles mod cache. Generated on Sun, 13 Nov 2005 15:33:59 +0100 (time=1131892439)

?><?php echo '<?'; ?>xml version="1.0" encoding="<?php echo isset($this->vars['S_CONTENT_ENCODING']) ? $this->vars['S_CONTENT_ENCODING'] : $this->lang('S_CONTENT_ENCODING'); ?>"?>
<!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" dir="<?php echo isset($this->vars['S_CONTENT_DIRECTION']) ? $this->vars['S_CONTENT_DIRECTION'] : $this->lang('S_CONTENT_DIRECTION'); ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo isset($this->vars['S_CONTENT_ENCODING']) ? $this->vars['S_CONTENT_ENCODING'] : $this->lang('S_CONTENT_ENCODING'); ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<?php echo isset($this->vars['META']) ? $this->vars['META'] : $this->lang('META'); ?>
<?php echo isset($this->vars['NAV_LINKS']) ? $this->vars['NAV_LINKS'] : $this->lang('NAV_LINKS'); ?>
<title><?php echo isset($this->vars['SITENAME']) ? $this->vars['SITENAME'] : $this->lang('SITENAME'); ?> | <?php echo isset($this->vars['PAGE_TITLE']) ? $this->vars['PAGE_TITLE'] : $this->lang('PAGE_TITLE'); ?></title>
<link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" />
<?php

$switch_enable_pm_popup_count = ( isset($this->_tpldata['switch_enable_pm_popup.']) ) ?  sizeof($this->_tpldata['switch_enable_pm_popup.']) : 0;
for ($switch_enable_pm_popup_i = 0; $switch_enable_pm_popup_i < $switch_enable_pm_popup_count; $switch_enable_pm_popup_i++)
{
 $switch_enable_pm_popup_item = &$this->_tpldata['switch_enable_pm_popup.'][$switch_enable_pm_popup_i];
 $switch_enable_pm_popup_item['S_ROW_COUNT'] = $switch_enable_pm_popup_i;
 $switch_enable_pm_popup_item['S_NUM_ROWS'] = $switch_enable_pm_popup_count;

?>
<script type="text/javascript">
<!--
	if ( <?php echo isset($this->vars['PRIVATE_MESSAGE_NEW_FLAG']) ? $this->vars['PRIVATE_MESSAGE_NEW_FLAG'] : $this->lang('PRIVATE_MESSAGE_NEW_FLAG'); ?> )
	{
		window.open('<?php echo isset($this->vars['U_PRIVATEMSGS_POPUP']) ? $this->vars['U_PRIVATEMSGS_POPUP'] : $this->lang('U_PRIVATEMSGS_POPUP'); ?>', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<?php

} // END switch_enable_pm_popup

if(isset($switch_enable_pm_popup_item)) { unset($switch_enable_pm_popup_item); } 

?>
<script language="Javascript" type="text/javascript"> 
<!-- 
function setCheckboxes(theForm, elementName, isChecked)
{
    var chkboxes = document.forms[theForm].elements[elementName];
    var count = chkboxes.length;

    if (count) 
	{
        for (var i = 0; i < count; i++) 
		{
            chkboxes[i].checked = isChecked;
    	}
    } 
	else 
	{
    	chkboxes.checked = isChecked;
    } 

    return true;
} 
//--> 
</script>
<script type="text/javascript">
<!--
window.status = "<?php echo isset($this->vars['PRIVATE_MESSAGE_INFO']) ? $this->vars['PRIVATE_MESSAGE_INFO'] : $this->lang('PRIVATE_MESSAGE_INFO'); ?>";
// -->
</script>
</head>
<body style="margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;">
<a name="top" id="top"></a>
<table width="760" align="center" cellspacing="0" cellpadding="0" style="background: #ffffff url('/images/background.gif') no-repeat;  border: 0px solid #006699; border-width: 0px 1px 0px 1px; padding: 0px 10px 0px 10px;">
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0" height="150">
<tr>
			<td valign="top"><a href="/index.php"><img src="/images/spacer.gif" width="310" height="110" border="0" alt="" title="" /></a></td>
			<td width="100%" align="right" valign="top">
<?php

$switch_user_logged_in_count = ( isset($this->_tpldata['switch_user_logged_in.']) ) ?  sizeof($this->_tpldata['switch_user_logged_in.']) : 0;
for ($switch_user_logged_in_i = 0; $switch_user_logged_in_i < $switch_user_logged_in_count; $switch_user_logged_in_i++)
{
 $switch_user_logged_in_item = &$this->_tpldata['switch_user_logged_in.'][$switch_user_logged_in_i];
 $switch_user_logged_in_item['S_ROW_COUNT'] = $switch_user_logged_in_i;
 $switch_user_logged_in_item['S_NUM_ROWS'] = $switch_user_logged_in_count;

?>
<form action="<?php echo isset($this->vars['S_LOGIN_ACTION']) ? $this->vars['S_LOGIN_ACTION'] : $this->lang('S_LOGIN_ACTION'); ?>" method="post" target="_top">
<span class="gensmall">Junk: <input class="post" type="text" name="username" size="10" /> &nbsp;&nbsp;Pass: <input class="post" type="password" name="password" size="10" maxlength="32" /><br />
		<?php

$switch_allow_autologin_count = ( isset($switch_user_logged_in_item['switch_allow_autologin.']) ) ? sizeof($switch_user_logged_in_item['switch_allow_autologin.']) : 0;
for ($switch_allow_autologin_i = 0; $switch_allow_autologin_i < $switch_allow_autologin_count; $switch_allow_autologin_i++)
{
 $switch_allow_autologin_item = &$switch_user_logged_in_item['switch_allow_autologin.'][$switch_allow_autologin_i];
 $switch_allow_autologin_item['S_ROW_COUNT'] = $switch_allow_autologin_i;
 $switch_allow_autologin_item['S_NUM_ROWS'] = $switch_allow_autologin_count;

?>
		Onthouden <input class="text" type="checkbox" name="autologin" /> &nbsp;&nbsp;&nbsp;
		<?php

} // END switch_allow_autologin

if(isset($switch_allow_autologin_item)) { unset($switch_allow_autologin_item); } 

?>
		<input type="submit" class="mainoption" name="login" value="<?php echo isset($this->vars['L_LOGIN']) ? $this->vars['L_LOGIN'] : $this->lang('L_LOGIN'); ?>" />
		</span>
</form>
<!-- END switch_user_logged_out -->
</td>
		</tr>
<tr>
<td class="gensmall" valign="top" colspan="2"><a href="./faq.php"><img src="/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="FAQ" /> FAQ</a>&nbsp; &nbsp;<a href="./search.php"><img src="/images/icon_mini_search.gif" width="12" height="13" border="0" alt="Search" /> Zoeken</a>&nbsp; &nbsp;<a href="./memberlist.php"><img src="/images/icon_mini_members.gif" width="12" height="13" border="0" alt="Leden" /> Leden</a>&nbsp; &nbsp;<a href="privmsg.php"><img src="/images/icon_mini_message.gif" width="12" height="13" border="0" alt="Private Messages" /> Junx berichten</a>&nbsp; &nbsp;<a href="profile.php?mode=editprofile"><img src="/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="Profiel" /> Profiel bewerken</a>&nbsp; &nbsp;<?php

$switch_user_logged_in_count = ( isset($switch_user_logged_in_item['switch_user_logged_in.']) ) ? sizeof($switch_user_logged_in_item['switch_user_logged_in.']) : 0;
for ($switch_user_logged_in_i = 0; $switch_user_logged_in_i < $switch_user_logged_in_count; $switch_user_logged_in_i++)
{
 $switch_user_logged_in_item = &$switch_user_logged_in_item['switch_user_logged_in.'][$switch_user_logged_in_i];
 $switch_user_logged_in_item['S_ROW_COUNT'] = $switch_user_logged_in_i;
 $switch_user_logged_in_item['S_NUM_ROWS'] = $switch_user_logged_in_count;

?><a href="<?php echo isset($this->vars['U_LOGIN_LOGOUT']) ? $this->vars['U_LOGIN_LOGOUT'] : $this->lang('U_LOGIN_LOGOUT'); ?>"><img src="/images/icon_mini_login.gif" width="12" height="13" border="0" alt="<?php echo isset($this->vars['L_LOGIN_LOGOUT']) ? $this->vars['L_LOGIN_LOGOUT'] : $this->lang('L_LOGIN_LOGOUT'); ?>" /> Uitloggen</a><?php

} // END switch_user_logged_in

if(isset($switch_user_logged_in_item)) { unset($switch_user_logged_in_item); } 

?><?php

$switch_user_logged_out_count = ( isset($switch_user_logged_in_item['switch_user_logged_out.']) ) ? sizeof($switch_user_logged_in_item['switch_user_logged_out.']) : 0;
for ($switch_user_logged_out_i = 0; $switch_user_logged_out_i < $switch_user_logged_out_count; $switch_user_logged_out_i++)
{
 $switch_user_logged_out_item = &$switch_user_logged_in_item['switch_user_logged_out.'][$switch_user_logged_out_i];
 $switch_user_logged_out_item['S_ROW_COUNT'] = $switch_user_logged_out_i;
 $switch_user_logged_out_item['S_NUM_ROWS'] = $switch_user_logged_out_count;

?><a href="<?php echo isset($this->vars['U_REGISTER']) ? $this->vars['U_REGISTER'] : $this->lang('U_REGISTER'); ?>"><img src="/images/icon_mini_register.gif" width="12" height="13" border="0" alt="<?php echo isset($this->vars['L_REGISTER']) ? $this->vars['L_REGISTER'] : $this->lang('L_REGISTER'); ?>" /> Registreren</a><?php

} // END switch_user_logged_out

if(isset($switch_user_logged_out_item)) { unset($switch_user_logged_out_item); } 

?></td>
</tr>
	</table>

	<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
		<tr>
			<td class="row1">
				<p class="breadcrumbs"><a href="./index.php?sid=">Forum Index</a> » <?php echo isset($this->vars['PAGE_TITLE']) ? $this->vars['PAGE_TITLE'] : $this->lang('PAGE_TITLE'); ?></p>
				<p class="datetime"><?php echo isset($this->vars['S_TIMEZONE']) ? $this->vars['S_TIMEZONE'] : $this->lang('S_TIMEZONE'); ?> </p>

			</td>
		</tr>
	</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
wat is hier fout aan? Het heeft denk ik iets met XS te maken...

Geplaatst: 13 nov 2005, 17:15
door Paul
Een switch staat nite goed.

Geplaatst: 13 nov 2005, 17:33
door B-sTyLe
opgelost, thnx :D