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

Return value checking needed in mod/forum/index.php

    XMLWordPrintable

    Details

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

      Description

      [Wed Feb 20 15:04:39 2008] [error] [client 70.85.198.234] PHP Notice: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 5<br /><br />SELECT ctx.path, ctx.depth\n FROM context ctx\n JOIN course_modules cm\n ON (cm.course=ctx.instanceid AND ctx.contextlevel=50)\n WHERE cm.id=<ul style="text-align: left"><li>line 686 of lib/dmllib.php: call to debugging()</li><li>line 481 of lib/dmllib.php: call to get_recordset_sql()</li><li>line 2229 of lib/accesslib.php: call to get_record_sql()</li><li>line 2567 of lib/accesslib.php: call to create_context()</li><li>line 96 of mod/forum/index.php: call to get_context_instance()</li></ul> in /var/www/html/moodle/lib/weblib.php on line 6856
      [Wed Feb 20 15:04:39 2008] [error] [client 70.85.198.234] PHP Notice: Error: could not insert new context level "70", instance "".<ul style="text-align: left"><li>line 2291 of lib/accesslib.php: call to debugging()</li><li>line 2567 of lib/accesslib.php: call to create_context()</li><li>line 96 of mod/forum/index.php: call to get_context_instance()</li></ul> in /var/www/html/moodle/lib/weblib.php on line 6856
      [Wed Feb 20 15:04:39 2008] [error] [client 70.85.198.234] PHP Notice: Incorrect context specified<ul style="text-align: left"><li>line 346 of lib/accesslib.php: call to debugging()</li><li>line 98 of mod/forum/index.php: call to has_capability()</li></ul> in /var/www/html/moodle/lib/weblib.php on line 6856

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            dougiamas Martin Dougiamas
            Tester:
            Andrew Davis
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08