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

Lot of "Only variables should be passed by reference" messages when running the chatd daemon

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.7, 2.5.3, 2.6
    • Fix Version/s: 2.4.8, 2.5.4, 2.6.1
    • Component/s: Chat
    • Labels:
    • Testing Instructions:
      Hide

      (difficulty: easy, requires system administrator access to the server hosting the Moodle instance)

      1. Check the PHP settings of your Moodle instance to be sure that STRICT errors are reported as well;
      2. Start the chat in daemon mode, without &, and expect not to be flooded by Only variables should be passed by reference on line NNN:

        # php mod/chat/chatd.php --start
        Moodle chat daemon v1.0 on PHP 5.4.23
         
        [2013-12-22 11:24:28] *IMPORTANT* Started Moodle chatd on port 9111, listening socket Resource id #72
        

        Note: NNN = 699 on master branch, before applying the PR.

      3. Test the chat activity, using the daemon, as described in http://docs.moodle.org/26/en/Chat_settings#Site_administration_settings.
      Show
      (difficulty: easy, requires system administrator access to the server hosting the Moodle instance) Check the PHP settings of your Moodle instance to be sure that STRICT errors are reported as well; Start the chat in daemon mode , without & , and expect not to be flooded by Only variables should be passed by reference on line NNN : # php mod/chat/chatd.php --start Moodle chat daemon v1.0 on PHP 5.4.23   [2013-12-22 11:24:28] *IMPORTANT* Started Moodle chatd on port 9111, listening socket Resource id #72 Note: NNN = 699 on master branch, before applying the PR. Test the chat activity, using the daemon, as described in http://docs.moodle.org/26/en/Chat_settings#Site_administration_settings .
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m27_MDL-43482_Lot_Of_Passed_By_Reference_Messages

      Attachments

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/14