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

Home » FUDforum Development » Bug Reports » can't delete a topic
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
can't delete a topic [message #18805] Thu, 10 June 2004 14:51 Go to next message
danliker is currently offline  danliker   Switzerland
Messages: 57
Registered: January 2004
Location: Schweiz
Karma: 0
Member
when i try to delete a topic (createt by me, root) as root i get this error:

Parse error: parse error, unexpected T_STRING in /home/.sites/28/site1/web/forum/theme/default/mmod.php on line 702

any hints ?

(i use FUDforum 2.6.4)

[Updated on: Thu, 10 June 2004 14:52]

Report message to a moderator

Re: can't delete a topic [message #18810 is a reply to message #18805] Thu, 10 June 2004 16:27 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
Can't replicate the problem, nor do I see anything unusual on that line. Send me your /home/.sites/28/site1/web/forum/theme/default/mmod.php file.

FUDforum Core Developer
Re: can't delete a topic [message #18814 is a reply to message #18810] Thu, 10 June 2004 17:23 Go to previous messageGo to next message
danliker is currently offline  danliker   Switzerland
Messages: 57
Registered: January 2004
Location: Schweiz
Karma: 0
Member
here the file ...
  • Attachment: mmod.php
    (Size: 62.90KB, Downloaded 844 times)
Re: can't delete a topic [message #18817 is a reply to message #18814] Thu, 10 June 2004 17:59 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
The error is due to the JavaScript you've inserted into the plain_header, which contains ' character. You either need to remove that JavaScript or modify in such a way that it does not use the ' character.

FUDforum Core Developer
Re: can't delete a topic [message #18836 is a reply to message #18817] Sat, 12 June 2004 09:09 Go to previous messageGo to next message
JP75 is currently offline  JP75   France
Messages: 14
Registered: March 2004
Location: Paris
Karma: 0
Junior Member

I got an identical error :

Parse error: parse error in /home/local/apache/htdocs/sites/j/jpricaud.com/fphorum/theme/default/mmod.p hp on line 1590


This is probably due to the french translation, the line 1590 of mmod.php is :

send_status_update($data[12], $data[13], $data[14], 'Votre message a été effacé par l'équipe d'administration.', $body);

The ' of "d'administration" seems to break the text field.

  • Attachment: mmod.php
    (Size: 61.77KB, Downloaded 827 times)
Re: can't delete a topic [message #18837 is a reply to message #18836] Sat, 12 June 2004 16:02 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Here is the fix:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=2842


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: SQL error log
Next Topic: System-Error
Goto Forum:
  

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

Current Time: Wed Jun 26 17:10:04 GMT 2024

Total time taken to generate the page: 0.02298 seconds