mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #11079
[Bug 1077013] A change has been merged
Reviewed: https://reviews.mahara.org/1844
Committed: http://gitorious.org/mahara/mahara/commit/bd68573803233c29bb5e2445d9aef15568b033a2
Submitter: Melissa Draper (melissa@xxxxxxxxxxxxxxx)
Branch: 1.6_STABLE
commit bd68573803233c29bb5e2445d9aef15568b033a2
Author: Gregor Anzelj <gregor.anzelj@xxxxxxxxx>
Date: Tue Nov 13 12:55:00 2012 +0100
Escape table names in profile image query (Bug #1077013)
When not escaped, the adodb abstraction layer did not use the prefix
Change-Id: Id44f520e2331be7f3e322f2084412d0b3545701c
Signed-off-by: Gregor Anzelj <gregor.anzelj@xxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1077013
Title:
Accessing profile pictures report a nonrecoverable error on prefixed
tables
Status in Mahara ePortfolio:
Confirmed
Bug description:
When accessing Mahara 1.6.1 Content >> Profile pictures it states 'A
nonrecoverable error occured. This probably means you have encoutered
a bug in the system'.
It also states'No images found' and when I try yo upload an image,
page refreshed with no image uploaded and stating the nonrecoverable
error and 'No images found'.
Found this within Apache error logs:
Call stack (most recent first):, referer:
http://mahara.barony.ac.uk/artefact/file/profileicons.php
* get_recordset_sql("SELECT a.id, a.title, a.note, (u.profileicon =
a.i...", array(size 1), "", "") at
/data/httpdata/v-hosts/mahara.barony.ac.uk/htdocs/lib/dml.php:667,
referer: http://mahara.barony.ac.uk/artefact/file/profileicons.php
* get_records_sql_array("SELECT a.id, a.title, a.note, (u.profileicon
= a.i...", array(size 1)) at
/data/httpdata/v-hosts/mahara.barony.ac.uk/htdocs/artefact/file/profileicons.json.php:41,
referer: http://mahara.barony.ac.uk/artefact/file/profileicons.php
, referer: http://mahara.barony.ac.uk/artefact/file/profileicons.php
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1077013/+subscriptions
References