snyx
11-14-2002, 02:13 PM
yeah im just stumped about this error im getting here! anytime u try to quote someones post by clicking the quote postbit button it takes me to the newreply page with an empty text area with this error at the top of the screen.
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/form-kao/public_html/board/newreply.php(47) : eval()'d code on line 1
now I have reverted my newreply.php to the original, and it still showed, so its not in newreply.php.
I reverted my newreply template to orginal, and it still showed, so its not the newreply template.
then I even reverted the original vbcode.js, and that didnt fix it!
PLUS it works on my old style, but just not on my new one?
im SOOOOOO stumped here, could anyone lend me any insight to what could be wrong here..
here is line 47 and a few lines around it in newreply.php
if ($postinfo[title]!="") {
$title="Re: ".unhtmlspecialchars($postinfo[title]);
}
$postdate=vbdate($dateformat,$postinfo[dateline]);
$posttime=vbdate($timeformat,$postinfo[dateline]);
$pagetext=$postinfo[pagetext];
$pagetext = trim(preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext));
eval("\$message = \"".gettemplate("quotereply",1,0)."\";"); // LINE47
}
}
thanks!
-myles
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/form-kao/public_html/board/newreply.php(47) : eval()'d code on line 1
now I have reverted my newreply.php to the original, and it still showed, so its not in newreply.php.
I reverted my newreply template to orginal, and it still showed, so its not the newreply template.
then I even reverted the original vbcode.js, and that didnt fix it!
PLUS it works on my old style, but just not on my new one?
im SOOOOOO stumped here, could anyone lend me any insight to what could be wrong here..
here is line 47 and a few lines around it in newreply.php
if ($postinfo[title]!="") {
$title="Re: ".unhtmlspecialchars($postinfo[title]);
}
$postdate=vbdate($dateformat,$postinfo[dateline]);
$posttime=vbdate($timeformat,$postinfo[dateline]);
$pagetext=$postinfo[pagetext];
$pagetext = trim(preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext));
eval("\$message = \"".gettemplate("quotereply",1,0)."\";"); // LINE47
}
}
thanks!
-myles