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

array to string conversion on keyswap

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 1.9.8
    • Component/s: MNet
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      I guess this could be a datalib bug, but when what will be inserted into the database when the value is an array??

      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] PHP Notice: Array to string conversion in /var/www/lib/datalib.php on line 31, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings
      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] PHP Stack trace:, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings
      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] PHP 1.

      {main}

      () /var/www/admin/mnet/peers.php:0, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings
      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] PHP 2. include_once() /var/www/admin/mnet/peers.php:7, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings
      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] PHP 3. mnet_environment->init() /var/www/mnet/lib.php:25, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings
      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] PHP 4. mnet_environment->get_keypair() /var/www/mnet/environment.php:71, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings
      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] PHP 5. mnet_environment->replace_keys() /var/www/mnet/environment.php:145, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings
      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] PHP 6. addslashes_object() /var/www/mnet/environment.php:172, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings
      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] PHP 7. addslashes() /var/www/lib/datalib.php:31, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings
      [Tue Feb 16 11:19:02 2010] [error] [client 192.168.254.6] New public key has been generated. It expires 2010/03/16 11:19:02, referer: http://moodle.dev/admin/settings.php?section=frontpagesettings

        Attachments

          Activity

            People

            • Assignee:
              mjollnir Penny Leach
              Reporter:
              poltawski Dan Poltawski
              Tester:
              Nobody
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Mar/10