Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28210

message/lib.php trying to redfine constants already defined

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.1, 2.2
    • Fix Version/s: 2.0.4, 2.1.1
    • Component/s: Messages
    • Labels:
      None
    • Environment:
      moodle.org

      Description

      From the moodle.org apache error_log after upgrading to 2.1

      PHP Notice:  Constant MESSAGE_SHORTLENGTH already defined in /message/lib.php on line 28
      PHP Notice:  Constant MESSAGE_DISCUSSION_WIDTH already defined in /message/lib.php on line 35
      PHP Notice:  Constant MESSAGE_DISCUSSION_HEIGHT already defined in /message/lib.php on line 36
      PHP Notice:  Constant MESSAGE_SHORTVIEW_LIMIT already defined in /message/lib.php on line 38
      PHP Notice:  Constant MESSAGE_HISTORY_SHORT already defined in /message/lib.php on line 40
      PHP Notice:  Constant MESSAGE_HISTORY_ALL already defined in /message/lib.php on line 41
      PHP Notice:  Constant MESSAGE_VIEW_UNREAD_MESSAGES already defined in /message/lib.php on line 43
      PHP Notice:  Constant MESSAGE_VIEW_RECENT_CONVERSATIONS already defined in /message/lib.php on line 44
      PHP Notice:  Constant MESSAGE_VIEW_RECENT_NOTIFICATIONS already defined in /message/lib.php on line 45
      PHP Notice:  Constant MESSAGE_VIEW_CONTACTS already defined in /message/lib.php on line 46
      PHP Notice:  Constant MESSAGE_VIEW_BLOCKED already defined in /message/lib.php on line 47
      PHP Notice:  Constant MESSAGE_VIEW_COURSE already defined in /message/lib.php on line 48
      PHP Notice:  Constant MESSAGE_VIEW_SEARCH already defined in /message/lib.php on line 49
      PHP Notice:  Constant MESSAGE_SEARCH_MAX_RESULTS already defined in /message/lib.php on line 51
      PHP Notice:  Constant MESSAGE_CONTACTS_PER_PAGE already defined in /message/lib.php on line 53
      PHP Notice:  Constant MESSAGE_MAX_COURSE_NAME_LENGTH already defined in /message/lib.php on line 54
      PHP Notice:  Constant MESSAGE_DEFAULT_LOGGEDIN already defined in /message/lib.php on line 66
      PHP Notice:  Constant MESSAGE_DEFAULT_LOGGEDOFF already defined in /message/lib.php on line 67
      PHP Notice:  Constant MESSAGE_DISALLOWED already defined in /message/lib.php on line 69
      PHP Notice:  Constant MESSAGE_PERMITTED already defined in /message/lib.php on line 70
      PHP Notice:  Constant MESSAGE_FORCED already defined in /message/lib.php on line 71
      PHP Notice:  Constant MESSAGE_PERMITTED_MASK already defined in /message/lib.php on line 73
      PHP Notice:  Constant MESSAGE_DEFAULT_PERMITTED already defined in /message/lib.php on line 78

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Aug/11