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.
Chat Parse error
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"].": </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
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"].": </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