ich betreibe seit kurzem ein kleines phpbb3 Forum auf einem kostenlosen Webspace.
Nun habe ich immer wieder Parse error...
Habe grade ein Backup von gestern nachmittag eingespielt und nun habe ich das hier:
Kann keine Beiträge mehr angucken...
Parse error: syntax error, unexpected '}' in /users/tobim90/www/forum/phpBB3/includes/template.php(230) : eval()'d code on line 150
Bereich der in Frage kommt:
Code: Alles auswählen
/**
* Sets the template filenames for handles. $filename_array
* should be a hash of handle => filename pairs.
* @access public
*/
function set_filenames($filename_array)
{
if (!is_array($filename_array))
{
return false;
}
foreach ($filename_array as $handle => $filename)
{
if (empty($filename))
{
trigger_error("template->set_filenames: Empty filename specified for $handle", E_USER_ERROR);
}
$this->filename[$handle] = $filename;
$this->files[$handle] = $this->root . '/' . $filename;
if ($this->inherit_root)
{
$this->files_inherit[$handle] = $this->inherit_root . '/' . $filename;
}
}
return true;
}
Kenne mich damit nicht so aus und habe auch nichts verändert...
Bitte um Hilfe!
EDIT:
5 Minuten später, habe nichts verändert, jetzt kommst:
Parse error: syntax error, unexpected '}' in /users/tobim90/www/forum/phpBB3/cache/tpl_blackbox-red_viewtopic_body.html.php on line 150
Bereich hier:
Code: Alles auswählen
</head>
<body lang=DE link=blue vlink=blue style='tab-interval:35.4pt'>
<div class=Section1>
<div>
<h3><span lang=EN-GB style='mso-ansi-language:EN-GB'><?php echo ((isset($this->_rootref['L_FORUM_RULES'])) ? $this->_rootref['L_FORUM_RULES'] : ((isset($user->lang['FORUM_RULES'])) ? $user->lang['FORUM_RULES'] : '{ FORUM_RULES }')); ?> <o:p></o:p></span></h3>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><br>
</span><a href="%7bU_FORUM_RULES%7d"><b><span lang=EN-GB style='mso-ansi-language:
EN-GB'> <?php echo ((isset($this->_rootref['L_FORUM_RULES_LINK'])) ? $this->_rootref['L_FORUM_RULES_LINK'] : ((isset($user->lang['FORUM_RULES_LINK'])) ? $user->lang['FORUM_RULES_LINK'] : '{ FORUM_RULES_LINK }')); ?></span></b></a><span style='mso-ansi-language:EN-GB'>
<span lang=EN-GB><o:p></o:p></span></span></p>
<?php } else { ?>
<h3><span lang=EN-GB style='mso-ansi-language:EN-GB'><?php echo ((isset($this->_rootref['L_FORUM_RULES'])) ? $this->_rootref['L_FORUM_RULES'] : ((isset($user->lang['FORUM_RULES'])) ? $user->lang['FORUM_RULES'] : '{ FORUM_RULES }')); ?><o:p></o:p></span></h3>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><br>
<?php echo (isset($this->_rootref['FORUM_RULES'])) ? $this->_rootref['FORUM_RULES'] : ''; ?> <o:p></o:p></span></p>
<?php } ?></div>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><br
clear=all style='mso-special-character:line-break'>
<o:p></o:p></span></p>
<?php } ?>