Dark Jim
09-22-2002, 10:52 AM
I have no idea what causes it, not even what hack may cause it as I'm not the only one who modifies the code on the forum this occurs. This is the entire error:
Parse error: parse error, unexpected T_STRING in /www/...../private.php on line 315
This is the part in private.php:
// ############################### start show message ###############################
if ($action=="show") {
makeforumjump();
$privatemessageid = verifyid("privatemessage",$privatemessageid);
$message = $DB_site->query_first("SELECT privatemessage.*,icon.title as icontitle,icon.iconpath,attachment.attachmentid,at tachment.filename,attachment.counter
FROM privatemessage
LEFT JOIN icon ON (privatemessage.iconid = icon.iconid)
LEFT JOIN attachment ON (attachment.attachmentid = privatemessage.attachmentid)
if ($message[userid]!=$bbuserinfo[userid]) {
$idname="privatemessage"; // This is line 315
eval("standarderror(\"".gettemplate("error_invalidid")."\");");
exit;
}
Could someone help please? :(
Parse error: parse error, unexpected T_STRING in /www/...../private.php on line 315
This is the part in private.php:
// ############################### start show message ###############################
if ($action=="show") {
makeforumjump();
$privatemessageid = verifyid("privatemessage",$privatemessageid);
$message = $DB_site->query_first("SELECT privatemessage.*,icon.title as icontitle,icon.iconpath,attachment.attachmentid,at tachment.filename,attachment.counter
FROM privatemessage
LEFT JOIN icon ON (privatemessage.iconid = icon.iconid)
LEFT JOIN attachment ON (attachment.attachmentid = privatemessage.attachmentid)
if ($message[userid]!=$bbuserinfo[userid]) {
$idname="privatemessage"; // This is line 315
eval("standarderror(\"".gettemplate("error_invalidid")."\");");
exit;
}
Could someone help please? :(