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
Return to the default flat view Create a new topic Submit Reply
Bug in mmod.php [message #5815] Tue, 24 September 2002 10:25 Go to previous message
sdefranc is currently offline  sdefranc   Australia
Messages: 28
Registered: May 2002
Location: Australia
Karma:
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
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 18:35:01 GMT 2024

Total time taken to generate the page: 0.06126 seconds