← Back to team overview

mahara-contributors team mailing list archive

[Bug 1710643] Re: sql missing "as" clause in artefact/file/lib.php

 

Hi json

I just noticed this bug report - This problem was also reported here
https://bugs.launchpad.net/mahara/+bug/1691329 and was fixed as part of
17.04.3

Please upgrade to 17.04.3 for the fix

Cheers

Robert

** Changed in: mahara
       Status: New => Fix Released

-- 
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/1710643

Title:
  sql missing "as" clause in artefact/file/lib.php

Status in Mahara:
  Fix Released

Bug description:
  mahara: 17.04
  php: 5.6.20
  db: mysql Ver 14.14 Distrib 5.6.34
  OS: 2.6.32-642.13.1.el6.x86_64 #1 SMP Wed Nov 23 16:03:01 EST 2016 x86_64 x86_64 x86_64 GNU/Linux

  web error log:
  [WAR] 22 (artefact/file/lib.php:670) Undefined property: stdClass::$sum
  PHP Fatal error:  Call to undefined method stdClass::SUM() in /var/applications/maharabase/summer2017-0/mahara/htdocs/artefact/file/lib.php on line 667

  happens on back end so browser is irrelevant, but
  browser: chromium Version 57.0.2987.133

  to reproduce:
  start from moodle [version 3.1.5] with an account having a profile image of one sort or another.
  connect to mahara via xmlrpc
  while on mahara, navigate to any thing under content menu and error message should appear.

  please feel free to follow up with me as needed.

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


References