Since we've encountered a couple of problems with PHP 5.4 compatibility and the empty() method, I've filed a bug to check for it as part of our minaccept scirpt: Bug 1514275
-- 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/1513611 Title: Problem with artefactchooser and dwoo template Status in Mahara: Fix Committed Status in Mahara 15.10 series: In Progress Status in Mahara 16.04 series: Fix Committed Bug description: A couple of people have reported this problem, on of which is here: https://mahara.org/interaction/forum/topic.php?id=7426&offset=0&limit=10#post29848 The error they get is: PHP Parse error: syntax error, unexpected '(' in /path/to/dwoo/compile/raw/var/www/mahara-15.10.0/htdocs/theme/raw/templates/form/artefactchooser.tpl.d17.php on line 39 The line looks to be syntax correct and works fine on my machine (Ubuntu 14.04, firefox, PHP 5.5.9) But we could try and fix this issue by removing the empty() function from the template htdocs/theme/raw/templates/form/artefactchooser.tpl and place it in the htdocs/lib/form/elements/artefactchooser.php file instead to see if that makes a difference. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1513611/+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

