Fehler auf der Startseite

amada
Ich habe direkt einen Fehler über dem Logo und zwar diesen hier

Zitat:
Deprecated: Assigning the return value of new by reference is deprecated in /home/www/cwcity/hosting/f/a/family-forum/htdocs/wbb2/thread.php on line 405
Deprecated: Assigning the return value of new by reference is deprecated in /home/www/cwcity/hosting/f/a/family-forum/htdocs/wbb2/thread.php on line 809
Deprecated: Assigning the return value of new by reference is deprecated in /home/www/cwcity/hosting/f/a/family-forum/htdocs/wbb2/thread.php on line 810
Parse error: syntax error, unexpected T_CLASS in /home/www/cwcity/hosting/f/a/family-forum/htdocs/wbb2/thread.php(305) :
eval()'d code on line 21



Stimmt irgend etwas nicht mit der Datei thread.php ?

ich habe mal miene datei angehängt
minette
wegen fehler meldung: Deprecated: Assigning the return value of new by ...
bitte hier gugen:
Probleme nach Serverumzug

wegen fehler:
Parse error: syntax error, unexpected T_CLASS in /home/www/cwcity/hosting/f/a/family-forum/htdocs/wbb2/thread.php(305) :
eval()'d code on line 21

die fehler befinde sich in die template thread_postbit
auf die linie 21
amada
hm ok danke aber jetzt habe ich diesen fehler

Zitat:
Parse error: syntax error, unexpected T_CLASS in /home/www/cwcity/hosting/f/a/family-forum/htdocs/family/thread.php(305) : eval()'d code on line 21


ich habe mal von thread_postbit

bei gefügt vielleicht kannst du den fehler finden
minette
linie 20 </if> löschen
amada
Ok habe ich gemacht jetzt kommt diese fehler meldung

Zitat:
Parse error: syntax error, unexpected '"' in /home/www/cwcity/hosting/f/a/family-forum/htdocs/family/thread.php(305) : eval()'d code on line 18
unglücklich
minette
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
	$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>
	        <if($birthday==1)><then><br /><img src="{$style['imagefolder']}/birthday.gif" border="0" alt="Birthday" /></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>
amada
ok und jetzt habe ich diesen fehler

Zitat:
Parse error: syntax error, unexpected ';' in /home/www/cwcity/hosting/f/a/family-forum/htdocs/family/thread.php(305) : eval()'d code on line 94


wo muß ich was verändern
jacqy
ersetze in der thread_postbit diesen Code,


code:
1:
2:
3:
4:
5:
6:
7:
<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>
        </if>
        <if($birthday==1)><then><br /><img src="{$style['imagefolder']}/birthday.gif" border="0" alt="Birthday" /></then>
        </if>
	 <else><span class="normalfont"><b>$posts[username]</b></span><br /><span class="smallfont">{$lang->items['LANG_THREAD_UNREGISTERED']}</span></else>
	 </if>



mit

code:
1:
2:
3:
4:
5:
6:
<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>
<if($birthday==1)><then><br /><img src="{$style['imagefolder']}/b-day.gif" border="0" alt="Birthday" /></then></if>
	  </then>
	 <else><span class="normalfont"><b>$posts[username]</b></span><br /><span class="smallfont">{$lang->items['LANG_THREAD_UNREGISTERED']}</span></else>
	 </if>
amada
Danke genau das war falsch Augenzwinkern Freude