FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Bug in mmod.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Bug in mmod.php [message #5815] Tue, 24 September 2002 10:25 Go to next message
sdefranc is currently offline  sdefranc   Australia
Messages: 28
Registered: May 2002
Location: Australia
Karma: 0
Junior Member

This is a small bug which hopefully should be easy to fix.

In our 'header' template we have some Javascript which displays our ads/images, works fine for most pages, however when trying to delete a thread we get the following error message:
Parse error: parse error in /home/vhosts/toymods.org.au/html/msgboard/theme/default/mmod.php on line 2135
which I believe has something to do with the use of apostrophe's in our Javascript, since the mmod.php.t file returns the whole page text as a parameter to the exit() subroutine (line 63):
63:        exit('{TEMPLATE: delete_confirm_pg}');
I got around this problem temporarily by changing the 'header' template in our theme's mmod.tmpl file to use the 'header_plain' one instead, which doesnt have the javacode script.

rgrds
sam
Re: Bug in mmod.php [message #5817 is a reply to message #5815] Tue, 24 September 2002 12:08 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Thanks for the report, the bug has been fixed in the CVS.

If you download RC2 that will be released later on today, you will have a fix for this bug.


FUDforum Core Developer
Re: Bug in mmod.php [message #5930 is a reply to message #5817] Fri, 27 September 2002 16:27 Go to previous messageGo to next message
ctbk is currently offline  ctbk   Italy
Messages: 142
Registered: April 2002
Location: Milan, Italy
Karma: 0
Senior Member
Uhm... It seems now the problem has changed...


here it is what I see when I go to the "mmod" page:

http://fud.prohost.org/forum/index.php?t=getfile&id=394


~
~
:wq

[Updated on: Fri, 27 September 2002 16:28]

Report message to a moderator

Re: Bug in mmod.php [message #5931 is a reply to message #5930] Fri, 27 September 2002 16:38 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hrmm works fine here on RC3.

Try that and see if that'll fix the problem.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Compact Messages
Next Topic: Error when i try create new thread
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 03:28:51 GMT 2024

Total time taken to generate the page: 0.04952 seconds