Ticket #485 (closed Defect: fixed)

Opened 4 years ago

Last modified 2 years ago

PHP warning on threads (update 14234)

Reported by: Ageless Owned by: davea
Priority: Major Milestone: Undetermined
Component: Web - Forums Version:
Keywords: forums Cc: Ageless

Description

Enigma updated to [14234] and since then all threads show the following line 6 times above each thread.

Warning: Missing argument 3 for can_reply(), called in /home/boinc/projects/enigma/html/inc/forum.inc on line 603 and defined in /home/boinc/projects/enigma/html/inc/forum.inc on line 252

I can post to threads, but when I remove posts (as a moderator) I get the following warning:

Warning: Missing argument 4 for send_moderation_email(), called in /home/boinc/projects/enigma/html/user/forum_moderate_post_action.php on line 103 and defined in /home/boinc/projects/enigma/html/inc/forum_email.inc on line 12

Warning: Cannot modify header information - headers already sent by (output started at /home/boinc/projects/enigma/html/inc/forum_email.inc:12) in /home/boinc/projects/enigma/html/user/forum_moderate_post_action.php on line 107

We're holding off to launch the forums to the public until there's a more stable version of the forums available.

Change History

comment:1 Changed 4 years ago by Ageless

  • Cc Ageless added

comment:2 Changed 4 years ago by davea

  • Status changed from new to closed
  • Resolution set to fixed

(In [14240]) - user web: bug fix in moderation email send (fixes #485)

  • BOINC-wide teams: HTML-escape user-supplied text (fixes #487)
Note: See TracTickets for help on using tickets.