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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.7, 2.5.3, 2.6
    • 2.4.8, 2.5.4, 2.6.1
    • Chat
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • m27_MDL-43482_Lot_Of_Passed_By_Reference_Messages
    • 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 .

    Attachments

      Issue Links

        Activity

          People

            matteo Matteo Scaramuccia
            matteo Matteo Scaramuccia
            Petr Skoda Petr Skoda
            Dan Poltawski Dan Poltawski
            Michael de Raadt Michael de Raadt
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Jan/14