admsmiley.php parse error [message #6465] |
Sun, 13 October 2002 09:36 |
Willem_M
Messages: 3 Registered: October 2002 Location: Belgium
Karma: 0
|
Junior Member |
|
|
I'm using FUDforum 2.3.2.
(installed it about 2 weeks ago).
When I want to go the the "smiley manager", I get
the error message:
parse error in ".../forum/adm/admsmiley.php" in line 217.
When I open this file in Notepad, it seems to be the last line
where it says require('admclose.html').
The admclose.html contains some closing tags:
</td></tr></table></body></html>
I noticed however that just before the "require" line in admsmiley.php I see a </table> closing tag. So this is probably why we get the parse error (as the first 3 closing tags of admclose.html are not needed ?).
How do I fix this ?
Or should I just load the latest development version ?
|
|
|
Re: admsmiley.php parse error [message #6477 is a reply to message #6465] |
Mon, 14 October 2002 16:50 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Cannot replicate the bug using version 2.3.2, looks like you got a corrupt file. Try upgrading to next dev version.
FUDforum Core Developer
|
|
|
|
Re: admsmiley.php parse error [message #6511 is a reply to message #6507] |
Tue, 15 October 2002 15:39 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Thanks for noticing the short tags inside the adm/ scripts. I wrote a utility to check files for them and found them in few other scripts inside adm/. I've already corrected those scripts in the CVS so next release will be completely short tag free.
The install and upgrade contain the '<?' in them but they are not actually used in the source. They are used to replace the encoded
RAW_PHP_OPEN_TAG in the archive with '<?'.
The other error is very unusual because it seems the forum is trying to open a file inside _vti_conf/, which is a directory made by frontpage extensions. When exactly does this problem occur?
FUDforum Core Developer
|
|
|