← Back to team overview

mahara-contributors team mailing list archive

[Bug 1400514] [NEW] Unable to load page after submitting a comment on a view

 

Public bug reported:

Affects - latest master - due to adodb upgrade

Get error:

[WAR] 72 (lib/errors.php:745) Invalid values parameter sent to get_recordset_sql.
Call stack (most recent first):

    log_message("Invalid values parameter sent to get_recordset_sql...", 8, true, true) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:95
    log_warn("Invalid values parameter sent to get_recordset_sql...") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:745
    SQLException->__construct("Invalid values parameter sent to get_recordset_sql...") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/dml.php:457
    get_recordset_sql(" SELECT aa.artefact, a...", "", "", "") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/dml.php:660
    get_records_sql_array(" SELECT aa.artefact, a...", "") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/lib.php:1120


The problem is now that adodb is upgraded it is more strict on what it accepts as $values

Needs to be empty array() and not empty string

** Affects: mahara
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1400514

Title:
  Unable to load page after submitting a comment on a view

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Affects - latest master - due to adodb upgrade

  Get error:

  [WAR] 72 (lib/errors.php:745) Invalid values parameter sent to get_recordset_sql.
  Call stack (most recent first):

      log_message("Invalid values parameter sent to get_recordset_sql...", 8, true, true) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:95
      log_warn("Invalid values parameter sent to get_recordset_sql...") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:745
      SQLException->__construct("Invalid values parameter sent to get_recordset_sql...") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/dml.php:457
      get_recordset_sql(" SELECT aa.artefact, a...", "", "", "") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/dml.php:660
      get_records_sql_array(" SELECT aa.artefact, a...", "") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/lib.php:1120

  
  The problem is now that adodb is upgraded it is more strict on what it accepts as $values

  Needs to be empty array() and not empty string

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1400514/+subscriptions


Follow ups

References