PDA

View Full Version : Getting a "Unterminated comment" warning in newthread.php


Dennis B
Mon 16th Jun '03, 7:56am
Did a quick serach and didn't find this...

New installation (test forum) went perfect, played around with the language system and other options a bit, everything looks fine.

However... whenever I hit the "new thread" button I get the following message on the top of the screen, even though it loads the page correctly: quote: Warning: Unterminated comment starting line 327 in /[path to my forum]/newthread.php on line 327 If I ignore it, it works fine. Tried several times, always happens. It does not happen on "post reply".

rylin
Mon 16th Jun '03, 8:26am
have you edited newthread.php at all?
make sure that the two last lines look more or less like
\*================================================ ======================*/
?>

(the */ ends a comment "block", whereas the /* starts it)

oh and, what's your php version?

Dennis B
Mon 16th Jun '03, 1:14pm
No, I haven't touched newthread.php (yet... :D).
PHP is v4.3.1.
I'll try reloading it and verifying that the lines are as you said.

Scott MacVicar
Mon 16th Jun '03, 8:03pm
As this appears to not have affected any other forum, i'm going to move this to fixed. If the problem still exists can you provide me with a phpinfo script on the server you are installing on as well as a copy of the newthread.php file via email to scott@vbulletin.com