Forum geht leider nicht =(
Verfasst: 10.08.2005 22:20
Hi, ich bins mal wieder...
Habe gerade folgende fehlermeldung bekommen:
Parse error: parse error, unexpected $ in /usr/export/www/vhosts/funnetwork/hosting/dirksgameserver/phpBB2/includes/class_template.php(216) : eval()'d code on line 318
Kann damit natürlich nichts anfangen
ich hoffe ihr könnt mir helfen
Zeilen von 290-Ende [class_template.php]
// Assign key variable pairs from an array to a specified block
function assign_block_vars($blockname, $vararray)
{
if (strstr($blockname, '.'))
{
// Nested block.
$blocks = explode('.', $blockname);
$blockcount = sizeof($blocks) - 1;
$str = &$this->_tpldata;
for ($i = 0; $i < $blockcount; $i++)
{
$str = &$str[$blocks[$i]];
$str = &$str[sizeof($str) - 1];
}
$str[$blocks[$blockcount]][] = $vararray;
}
else
{
$this->_tpldata[$blockname][] = $vararray;
}
return true;
}
// Include a seperate template
function _tpl_include($filename)
{
if ( !empty($filename) )
{
$this->set_filenames(array($filename => $filename));
$this->pparse($filename);
}
}
}
?>
Und wenn ich meinen Forum Link 2mal aufrufe dann kommt diese Fehlermeldung ...
hmmm. warum gehts nicht mehr:
Parse error: parse error, unexpected $ in /usr/export/www/vhosts/funnetwork/hosting/dirksgameserver/phpBB2/cache/tpl_subSilver_overall_header.tpl.php on line 318
Zeilen von 275-318
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="<?php echo $this->_tpldata['.'][0]['U_FAQ']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_FAQ']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_FAQ']; ?></a></span><span class="mainmenu">
<a href="<?php echo $this->_tpldata['.'][0]['U_FORUM_TOUR']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_FORUM_TOUR']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_FORUM_TOUR']; ?></a></span><span class="mainmenu">
<a href="<?php echo $this->_tpldata['.'][0]['U_SEARCH']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_SEARCH']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_SEARCH']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_LEXICON']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_LEXICON']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_LEXICON']; ?></a>
<?php $_switch_user_logged_out_count = (isset($this->_tpldata['switch_user_logged_out'])) ? sizeof($this->_tpldata['switch_user_logged_out']) : 0;if ($_switch_user_logged_out_count) {for ($this->_switch_user_logged_out_i = 0; $this->_switch_user_logged_out_i < $_switch_user_logged_out_count; $this->_switch_user_logged_out_i++){ ?>
<a href="<?php echo $this->_tpldata['.'][0]['U_REGISTER']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_REGISTER']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_REGISTER']; ?></a></span>
<?php }} ?>
</td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="<?php echo $this->_tpldata['.'][0]['U_MEMBERLIST']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_MEMBERLIST']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_MEMBERLIST']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_GROUP_CP']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_USERGROUPS']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_USERGROUPS']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_PROFILE']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_PROFILE']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_PROFILE']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_PREFERENCES']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_PREFERENCES']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_PREFERENCES']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_PRIVATEMSGS']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['PRIVATE_MESSAGE_INFO']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['PRIVATE_MESSAGE_INFO']; ?></a>
</span>
</td>
</tr>
<tr>
<td height="50" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
<a href="<?php echo $this->_tpldata['.'][0]['U_HACKLIST']; ?>" class="mainmenu"><?php echo $this->_tpldata['.'][0]['IMG_HACKLIST'];echo $this->_tpldata['.'][0]['L_HACKLIST']; ?></a> <a href="<?php echo $this->_tpldata['.'][0]['U_DOWNLOADS']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_d.gif" width="13" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_DOWNLOADS']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_DOWNLOADS']; ?></a> </span>
<a href="<?php echo $this->_tpldata['.'][0]['U_TEAM']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_team.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_TEAM']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_TEAM']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_LOGIN_LOGOUT']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_LOGIN_LOGOUT']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_LOGIN_LOGOUT']; ?></a>
</td>
</tr>
</table></td>
</tr>
</table>
<br />
<?php $_board_disabled_count = (isset($this->_tpldata['board_disabled'])) ? sizeof($this->_tpldata['board_disabled']) : 0;if ($_board_disabled_count) {for ($this->_board_disabled_i = 0; $this->_board_disabled_i < $_board_disabled_count; $this->_board_disabled_i++){ ?>
<table cellpadding="3" cellspacing="2" border="0" width="100%" class="forumline">
<tr>
<td align="center"><span class="gen"><?php echo $this->_tpldata['board_disabled'][$this->_board_disabled_i]['DISABLE_MSG']; ?></span></td>
</tr>
</table>
<br />
<!-- END board_disabled --
Vielen dank an alle
dirk
Habe gerade folgende fehlermeldung bekommen:
Parse error: parse error, unexpected $ in /usr/export/www/vhosts/funnetwork/hosting/dirksgameserver/phpBB2/includes/class_template.php(216) : eval()'d code on line 318
Kann damit natürlich nichts anfangen
ich hoffe ihr könnt mir helfen
Zeilen von 290-Ende [class_template.php]
// Assign key variable pairs from an array to a specified block
function assign_block_vars($blockname, $vararray)
{
if (strstr($blockname, '.'))
{
// Nested block.
$blocks = explode('.', $blockname);
$blockcount = sizeof($blocks) - 1;
$str = &$this->_tpldata;
for ($i = 0; $i < $blockcount; $i++)
{
$str = &$str[$blocks[$i]];
$str = &$str[sizeof($str) - 1];
}
$str[$blocks[$blockcount]][] = $vararray;
}
else
{
$this->_tpldata[$blockname][] = $vararray;
}
return true;
}
// Include a seperate template
function _tpl_include($filename)
{
if ( !empty($filename) )
{
$this->set_filenames(array($filename => $filename));
$this->pparse($filename);
}
}
}
?>
Und wenn ich meinen Forum Link 2mal aufrufe dann kommt diese Fehlermeldung ...
hmmm. warum gehts nicht mehr:
Parse error: parse error, unexpected $ in /usr/export/www/vhosts/funnetwork/hosting/dirksgameserver/phpBB2/cache/tpl_subSilver_overall_header.tpl.php on line 318
Zeilen von 275-318
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="<?php echo $this->_tpldata['.'][0]['U_FAQ']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_FAQ']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_FAQ']; ?></a></span><span class="mainmenu">
<a href="<?php echo $this->_tpldata['.'][0]['U_FORUM_TOUR']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_FORUM_TOUR']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_FORUM_TOUR']; ?></a></span><span class="mainmenu">
<a href="<?php echo $this->_tpldata['.'][0]['U_SEARCH']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_SEARCH']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_SEARCH']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_LEXICON']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_LEXICON']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_LEXICON']; ?></a>
<?php $_switch_user_logged_out_count = (isset($this->_tpldata['switch_user_logged_out'])) ? sizeof($this->_tpldata['switch_user_logged_out']) : 0;if ($_switch_user_logged_out_count) {for ($this->_switch_user_logged_out_i = 0; $this->_switch_user_logged_out_i < $_switch_user_logged_out_count; $this->_switch_user_logged_out_i++){ ?>
<a href="<?php echo $this->_tpldata['.'][0]['U_REGISTER']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_REGISTER']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_REGISTER']; ?></a></span>
<?php }} ?>
</td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="<?php echo $this->_tpldata['.'][0]['U_MEMBERLIST']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_MEMBERLIST']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_MEMBERLIST']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_GROUP_CP']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_USERGROUPS']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_USERGROUPS']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_PROFILE']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_PROFILE']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_PROFILE']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_PREFERENCES']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_PREFERENCES']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_PREFERENCES']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_PRIVATEMSGS']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['PRIVATE_MESSAGE_INFO']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['PRIVATE_MESSAGE_INFO']; ?></a>
</span>
</td>
</tr>
<tr>
<td height="50" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
<a href="<?php echo $this->_tpldata['.'][0]['U_HACKLIST']; ?>" class="mainmenu"><?php echo $this->_tpldata['.'][0]['IMG_HACKLIST'];echo $this->_tpldata['.'][0]['L_HACKLIST']; ?></a> <a href="<?php echo $this->_tpldata['.'][0]['U_DOWNLOADS']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_d.gif" width="13" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_DOWNLOADS']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_DOWNLOADS']; ?></a> </span>
<a href="<?php echo $this->_tpldata['.'][0]['U_TEAM']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_team.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_TEAM']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_TEAM']; ?></a>
<a href="<?php echo $this->_tpldata['.'][0]['U_LOGIN_LOGOUT']; ?>" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="<?php echo $this->_tpldata['.'][0]['L_LOGIN_LOGOUT']; ?>" hspace="3" /><?php echo $this->_tpldata['.'][0]['L_LOGIN_LOGOUT']; ?></a>
</td>
</tr>
</table></td>
</tr>
</table>
<br />
<?php $_board_disabled_count = (isset($this->_tpldata['board_disabled'])) ? sizeof($this->_tpldata['board_disabled']) : 0;if ($_board_disabled_count) {for ($this->_board_disabled_i = 0; $this->_board_disabled_i < $_board_disabled_count; $this->_board_disabled_i++){ ?>
<table cellpadding="3" cellspacing="2" border="0" width="100%" class="forumline">
<tr>
<td align="center"><span class="gen"><?php echo $this->_tpldata['board_disabled'][$this->_board_disabled_i]['DISABLE_MSG']; ?></span></td>
</tr>
</table>
<br />
<!-- END board_disabled --
Vielen dank an alle
dirk