Fehlermeldung

Gwen
In einen neuen Style wurde ein Hack installiert der auf den anderen Styles schon drauf ist.

In diesen Style ist auch im Header ein Countdowm für Weihnachten etc.

Es erscheint die Fehlermeldung bei betreten eines themas

Parse error: syntax error, unexpected ';' in /www/htdocs/w008e46f/wbb2/thread.php(337) : eval()'d code on line 117

die Beiträge werden dort nicht angezeigt,wie es scheint können die User allerdings schreibn.

Kann mir ev jemand weiterhelfen?
Biggi
Schau mal in die Datei thread.php, welches Template da in Zeile 337 aufgerufen wird.
In dem Template ist in Zeile 117 ein Fehler.

Wenn du ihn selbst nicht findest, poste das Template mal hier mit dem Code-BBCode [IMG]http://your-wbb.de/images/port-dark/bbcode_code.gif[/IMG].
Maniac_81
problem ist, das bei ihr in diesem style in der entsprechenden zeile nur tables geschlossen werden. ich hab auch schon gesucht. zeile 117 ist bei ihr die letzte zeile im template thread_postbit
Olli0606
jep, ging mir auch so... hatte auch nichts gefunden
Gwen
So schaut es aus dort

<table cellspacing="0" cellpadding="0" border="0" style="width:100%;"><tr>
<td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
<td style="width:100%;" class="obenmitte" align="center"><img src="{$style['imagefolder']}/obenmitte.gif" alt="" title="" /></td>
<td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>

<table cellpadding="0" cellspacing="0" border="0" style="width:100%;"><tr><if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if><td><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%" class="tableinborder">
<tr>
<td class="tabletitle" style="width:175px;" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_AUTHOR']}</b></span></td>
<td class="tabletitle" style="width:100%;" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_POST']}</b></span></td>
</tr>
<tr align="left">
<td class="$tdclass" valign="top"><a name="post$posts[postid]" id="post$posts[postid]"></a>
<table style="width:100%;" cellpadding="4" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td style="width:100%;" class="smallfont" align="center"><if($posts['userid'])><then><span class="normalfont"><b><a href="profile.php?userid=$posts[userid]{$SID_ARG_2ND}">$posts[username]</a>
</b></span> <if($posts['gender'] == 1)><then><img src="{$style['imagefolder']}/male.gif" border="0" alt="{$LANG_THREAD_MALE}" title="{$LANG_THREAD_MALE}" /></then></if>
<if($posts['gender'] == 2)><then><img src="{$style['imagefolder']}/female.gif" border="0" alt="{$LANG_THREAD_FEMALE}" title="{$LANG_THREAD_FEMALE}" /></then></if><br />
$posts[ranktitle]
<if($rankimages!="")><then><br />$rankimages</then></if>
<if($useravatar!="")><then><br /><br />$useravatar</then></if><br /><br />
<if($showregdateinthread==1)><then>{$lang->items['LANG_THREAD_REGDATE']} $posts[regdate]<br /></then></if>
<if($showuserpostsinthread==1)><then>{$lang->items['LANG_THREAD_USERPOSTS'
]} $posts[userposts]<br /></then></if>
<if($guthaben['show_gutinthread'])><then>{$lang->items['LANG_THREAD_GUTHABE
N']} $user_guthaben $waehrung<br /></then></if>
<if($guthaben['show_ktointhread'])><then>{$lang->items['LANG_THREAD_KONTONU
MMER']} $posts[userid]<br /></then></if>
$userfields
$country
$gamehits
$userrating
<if($userlevel)><then><br />$userlevel</then></if>
<if($threadstarter==1)><then><br />{$lang->items['LANG_THREAD_THREADSTARTER']} <img src="{$style['imagefolder']}/threadstarter.gif" border="0" alt="{$LANG_THREAD_THREADSTARTER_ALT}" title="{$LANG_THREAD_THREADSTARTER_ALT}" /></then></if>
</then>
<else><span class="normalfont"><b>$posts[username]</b></span><br /><span class="smallfont">{$lang->items['LANG_THREAD_UNREGISTERED']}</span></else>
</if>
<br /><img src="{$style['imagefolder']}/spacer.gif" width="159" height="1" border="0" alt="" title="" /></td>
</tr>
</table>
</td>
<td class="$tdclass" valign="top" style="width:100%;">
<table style="width:100%;" cellpadding="4" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td style="width:100%;" class="normalfont" align="left">
<table style="width:100%;" cellpadding="4" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td><span class="smallfont">$posticon <b>$posts[posttopic]</b></span></td>
<td align="right" nowrap="nowrap"><a href="addreply.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/replypost.gif" border="0" alt="{$lang->items['LANG_THREAD_REPLYPOST']}" title="{$lang->items['LANG_THREAD_REPLYPOST']}" /></a> <a href="addreply.php?action=quote&amp;postid=$posts[postid]{$SID_ARG_2ND}"><i
mg src="{$style['imagefolder']}/quote.gif" border="0" alt="{$lang->items['LANG_THREAD_QUOTE']}" title="{$lang->items['LANG_THREAD_QUOTE']}" /></a> <a href="editpost.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/editpost.gif" border="0" alt="{$lang->items['LANG_THREAD_EDITPOST']}" title="{$lang->items['LANG_THREAD_EDITPOST']}" /></a> <a href="report.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/report.gif" border="0" alt="{$lang->items['LANG_THREAD_REPORT']}" title="{$lang->items['LANG_THREAD_REPORT']}" /></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<if($wbbuserdata['a_can_view_ipaddress'
]==1)><then><a href="misc.php?action=viewip&amp;postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/ip.gif" border="0" alt="{$lang->items['LANG_THREAD_VIEWIP']}" title="{$lang->items['LANG_THREAD_VIEWIP']}" /></a> </then></if>&nbsp;
<a href="java script:self.scrollTo(0,0);"><img src="{$style['imagefolder']}/goup.gif" border="0" alt="{$lang->items['LANG_THREAD_GOUP']}" title="{$lang->items['LANG_THREAD_GOUP']}" /></a>&nbsp
<a href="java script:self.scrollTo(0,50000);"><img src="{$style['imagefolder']}/asc.gif" border="0" alt="{$lang->items['LANG_THREAD_GODOWN']}" title="{$lang->items['LANG_THREAD_GODOWN']}" /></a></td>

</tr>
</table><hr size="{$style['tableincellspacing']}" class="threadline" />
$posts[message]
$hangin
$attachments
$signature
<if($posts['editorid'])><then><p><span class="smallfont">{$LANG_THREAD_EDITOR}</span></p></then></if>
<if($invisible==1)><then><p align="right"><span class="normalfont">{$lang->items['LANG_THREAD_INVISIBLE']}</span></p></then
></if>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="$tdclass" align="center" nowrap="nowrap"><span class="smallfont">
<if($newpost==1)>
<then><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticonnew.gif" border="0" alt="{$lang->items['LANG_THREAD_NEWPOST']}" title="{$lang->items['LANG_THREAD_NEWPOST']}" /></a></then>
<else><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticon.gif" border="0" alt="" title="" /></a></else>
</if>
$postdate <span class="time">$posttime</span></span></td>
<td class="$tdclass" align="left" style="width:100%;" valign="middle"><span class="smallfont">
<if($posts['userid'])>
<then>
<if($showonlineinthread==1)>
<then>
<if($user_online==1)>
<then><img src="{$style['imagefolder']}/user_online.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></then>
<else><img src="{$style['imagefolder']}/user_offline.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></else>
</if>

<if($posts['showemail']==1)>
<then><a href="mailto:$posts[email]"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
<else>
<if($posts['usercanemail']==1)>
<then><a href="formmail.php?userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
</if>
</else>
</if>

<if($posts['homepage'])>
<then><a href="$posts[homepage]" target="_blank"><img src="{$style['imagefolder']}/www.gif" border="0" alt="{$LANG_MEMBERS_HOMEPAGE}" title="{$LANG_MEMBERS_HOMEPAGE}" /></a></then>
</if>

<a href="search.php?action=user&amp;userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/search.gif" border="0" alt="{$LANG_MEMBERS_SEARCH}" title="{$LANG_MEMBERS_SEARCH}" /></a>

<a href="usercp.php?action=buddy&amp;add=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/homie.gif" border="0" alt="{$LANG_MEMBERS_BUDDY}" title="{$LANG_MEMBERS_BUDDY}" /></a>

<if($posts['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><a href="pms.php?action=newpm&amp;userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/pm.gif" border="0" alt="{$LANG_MEMBERS_PM}" title="{$LANG_MEMBERS_PM}" /></a></then></if>

<if($posts['icq'])><then><a href="http://web.icq.com/whitepages/add_me/1,,,00.icq?uin=$posts[icq]&amp;a
ction=add"><img src="{$style['imagefolder']}/icq.gif" border="0" alt="{$LANG_MEMBERS_ICQ}" title="{$LANG_MEMBERS_ICQ}" /></a></then></if>

<if($posts['aim'])><then><a href="aim:goim?screenname=$posts[aim]&amp;message=Hi.+Are+you+there?"><img src="{$style['imagefolder']}/aim.gif" border="0" alt="{$LANG_MEMBERS_AIM}" title="{$LANG_MEMBERS_AIM}" /></a></then></if>

<if($posts['yim'])><then><a href="http://edit.yahoo.com/config/send_webmesg?.target=$posts[yim]&amp;.sr
c=pg"><img src="{$style['imagefolder']}/yim.gif" border="0" alt="{$LANG_MEMBERS_YIM}" title="{$LANG_MEMBERS_YIM}" /></a></then></if>

<if($posts['msn'])><then><a href="http://members.msn.com/?mem=$posts[msn]"><img src="{$style['imagefolder']}/msn.gif" border="0" alt="{$LANG_MEMBERS_MSN}" title="{$LANG_MEMBERS_MSN}" /></a></then></if>

</then>
</if>
</span></td>
</tr>
</table></td></tr></table>
<table cellspacing="0" cellpadding="0" border="0" style="width:100%;"><tr>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td style="width:100%;" class="untenmitte" align="center"><img src="{$style['imagefolder']}/untenmitte.gif" alt="" title="" /></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></td>
</tr></table>
<table cellspacing="0" cellpadding="0" border="0" style="height:10px;"><tr>
<td style="height:10px;"></td></tr></table>
Rogerhuber
Huhu,

ich habs nur kurz überflogen, bin mir auch nicht 100% sicher und hab atm leider auch keine Zeit. Vielleicht kann dir ja einer der anderen nochmals helfen.

Zeile 77-81:
code:
1:
2:
3:
4:
5:
<if($posts['userid'])>
<then>

<if($showonlineinthread==1)>
<then>


rückt mal von dort aus (if($posts['userid'])) alles kurz ein, ich glaub eines der beiden wird nicht geschlossen.. *nurmalkurzüberflogenhab*
Ob das dann überhaupt so n fehler geben würde, ka..

EDIT: Zeilennummern stimmen ev nicht.. copy&paste hats nicht sauber genommen...
Olli0606
Das war es leider nicht, haben nun den Style deinstalliert und neu Importiert. Zeigt nun auch keinen Fehler mehr an. Daher erledigt... Danke für eure Mühe :-)