Page 1 of 1

Chat Parse error

Posted: Mon 10. Nov 2003, 19:10
by brans
Parse error: parse error in /home/tifilesc/public_html/cms/include/inc_lib/autolink.inc.php on line 79



Fatal error: Call to undefined function: auto_link() in /home/tifilesc/public_html/cms/include/inc_tmpl/chat.list.tmpl.php on line 60

sobald ich den Chat starte kommt ein parse error und als Folge davon ein Call to undefined function... Habe das neue Patch installiert.

Posted: Tue 11. Nov 2003, 15:13
by ruben
there are a few new patches out now, please check those.

Ruben

Posted: Tue 11. Nov 2003, 16:08
by brans
lol ;-) I already got these patches but thanks mate for your help..

Posted: Tue 11. Nov 2003, 16:34
by ruben
try to open the same page in Netscape. do you get the same problem then? I guess there is something wrong in the embed statement with the /<, but maybe oliver can give you the right anwser, just pasted my version here, just check that its the same.
ruben

here are my lines which work:
autolink.inc.php on line 79

# If not MSIE, disable embed tag
if(!ereg("MSIE",$HTTP_SERVER_VARS[HTTP_USER_AGENT])
$src[] = "/<embed/i"; //this is the line you state has a problem
$tar[] = "<embed";

chat.list.tmpl.php on line 60
echo "<tr valign='top'>\n<td align='right'".$chatclass.">".$row["chat_name"].":&nbsp;</td>\n";
echo "<td width='90%'".$chatclass.">".auto_link(htmlspecialchars($row["chat_text"]))."</td>\n</tr>\n"; //this is the line you have a problem with
} //Chatlisting Ende

Posted: Tue 11. Nov 2003, 21:27
by brans
hmm are you crazy or something ? I said my problem is solved ;-) thanks a lot Oliver fixed the error as I said

Posted: Tue 11. Nov 2003, 21:28
by brans
hmm ok sorry you misunderstood this about the patches :) my fault mate! :) I got the patches so the error is away :-d

Posted: Tue 11. Nov 2003, 21:34
by ruben
good to hear.

ruben