Reviewed:  https://reviews.mahara.org/c/mahara/+/12571
Committed: 
https://git.mahara.org/mahara/mahara/commit/3bf054c86490f5ee3091e9e4743403d47d58feeb
Submitter: "Gold <[email protected]>"
Branch:    22.04_DEV

commit 3bf054c86490f5ee3091e9e4743403d47d58feeb
Author: Doris Tam <[email protected]>
Date:   Tue Apr 12 17:13:31 2022 +1200

Bug 1968668: Fix for PHP mysqli driver bug: 'VARIABLES'

Change-Id: Ia6d36776495538ffd004fecd740cffbb191318df
(cherry picked from commit e356471f2bcf497dc776ca57691dc968c5477215)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968668

Title:
  Embedded images not displaying with MySQL

Status in Mahara:
  In Progress

Bug description:
  Tested on main in Firefox with MySQL

  Steps to reproduce:
  1. Create a page
  2. Add a text block to a page
  3. In the text block content, embed an uploaded image and save the block

  Expected result:
   - Embedded image is visible in page view in both edit and display mode

  Actual result
   - Embedded image not visible in either edit or display mode, just the 
filename

  Clicking on the link to the file gives this error:
  [WAR] 87 (lib/errors.php:530) [ADODB_Exception]: mysqli error: [1064: 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 '?' at line 1] in 
EXECUTE("SHOW VARIABLES LIKE ?") at 
/home/diannetennent/code/mahara/htdocs/lib/adodb/adodb-exceptions.inc.php:86

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


_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to