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

Invalid JSON string errors when attempting to pick a file from a repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Repositories
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Steps to recreate:

      1. Set debug messages to developer
      2. Attempt to add a file to a forum post

      Google Docs error message:
      Invalid JSON string - |req_cb| -
      Notice: Undefined property: stdClass::$pixpath in /Applications/MAMP/htdocs/moodle20/lib/googleapi.php on line 287

      Local files error message:
      Invalid JSON string - |req_cb| -
      Notice: Undefined variable: path in /Applications/MAMP/htdocs/moodle20/repository/local/repository.class.php on line 78

      Warning: array_reverse() [function.array-reverse]: The argument should be an array in /Applications/MAMP/htdocs/moodle20/repository/local/repository.class.php on line 78

        Attachments

          Activity

            People

            Assignee:
            dongsheng Dongsheng Cai
            Reporter:
            tsala Helen Foster
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10