The Silencer
Dies ist eine vorgefertigte Schablone.
Bitte fülle soviel aus, wie dir nur Möglich ist, du kannst auch gerne noch mehr Angaben machen.
Problembeschreibung:
Immer wenn ich ein Posting erstellen oder betrachten will erschein eine Fehlermeldung.
Fehlermeldung:
Parse error: parse error, unexpected ';' in /srv/www/vhosts/scrash.de/subdomains/delirium/httpdocs/wbb2/thread.php(315)
: eval()'d code on line 115
Link zum Forum oder Screenshot:
Posting
Was wurde zuletzt geändert oder eingebaut?
Zuletzt wurde der Abwesenheitshack eingebaut.
Ich hänge die thread.php mal direkt mit an und möchte mich schonmal für eure Hilfe bedanken.
Biggi
Der Fehler liegt in dem Template, das in Zeile 315 der thread.php aufgerufen wird.
Also im Template thread_postbit in Zeile 115.
The Silencer
THX für die schnelle Antwort, doch leider hat die datei nur 113 zeilen
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
|
<table cellspacing="0" cellpadding="0" border="0"><tr>
<if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if>
<td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="obenmitte" align="center"></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 width="100%"><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%" class="tableinborder">
<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"><if($posts['userid'])><then><span class="normalfont"><b><a href="profile.php?userid=$posts[userid]{$SID_ARG_2ND}">$posts[username]</a></b>$mod_map_thread_postbit</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><span class="smallfont"><br /><a href="jgs_galerie_userbilder.php?userid={$posts['userid']}&sid={$session['hash']}"><b>[meine Galerie]</b></a></span><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>
$userfields
$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>
$verwarnungen
</then>
<else><span class="normalfont"><b>$posts[username]</b></span><br /><span class="smallfont">{$lang->items['LANG_THREAD_UNREGISTERED']}</span></else>
</if>
<br /><br /><if($away==1 && $wbbuserdata['can_see_away_message']==1)><then>{$lang->items['LANG_AWAY_THREAD_FROM']} $datefrom[2].$datefrom[1].$datefrom[0] <br />{$lang->items['LANG_AWAY_THREAD_TO']} $dateto[2].$dateto[1].$dateto[0] {$lang->items['LANG_AWAY_THREAD_END']}
{$lang->items['LANG_AWAY_MESSAGE']} $away_message
</then></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&postid=$posts[postid]{$SID_ARG_2ND}"><img 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> $verwarnung <if($wbbuserdata['a_can_view_ipaddress']==1)><then><a href="misc.php?action=viewip&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><a href="javascript: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></td>
</tr>
</table><hr size="{$style['tableincellspacing']}" class="threadline" />
$posts[message]
$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($away==0 || $wbbuserdata['can_see_away_message']==0)>
<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>
</then>
<else><img src="{$style['imagefolder']}/user_away.gif" border="0" alt="{$LANG_MEMBERS_USERAWAY}" title="{$LANG_MEMBERS_USERAWAY}" /></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&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&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&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]&action=add"><img src="http://web.icq.com/whitepages/online?icq=$posts[icq]&img=5" width="18" height="18" border="0" alt="{$LANG_MEMBERS_ICQ}" title="{$LANG_MEMBERS_ICQ}" /></a></then></if>
<if($posts['aim'])><then><a href="aim:goim?screenname=$posts[aim]&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]&.src=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"><tr>
<if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="untenmitte" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></td>
</tr></table><br />
|
|
DJ Yoshi
Ist das der WoW Style?
Wenn ja beschaffe ich mir den kurz und gucke mir das mal an.
Mfg DJ Yoshi
DJ Yoshi
Hab dein Fehler gefunden.
Du hast die thread.php nicht bearbeitet *g*
Nimm diese hier im Anhang

Ist deine aus dem ersten Post mit den Einträgen
Mfg DJ Yoshi
The Silencer
THX aber nun kommt:
Parse error: parse error, unexpected ';' in /srv/www/vhosts/scrash.de/subdomains/delirium/httpdocs/wbb2/thread.php(323)
: eval()'d code on line 115

hmpf hoffe ich muss ned nochmal von anfang an anfangen
DJ Yoshi
Haste nur den Verwarnhack und den Abesenheits Hack eingebaut bei dir?
Hmm Wenns möglich währe könnte ich mir das evtl mal anschauen?
Also ftp und Zugang zum ACP bei dir?
Nur wenn du es möchtest. Vielleicht haste auch nur irgendwo ein Eintrag vergessen.
Mfg DJ Yoshi