Public bug reported: 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. ** Affects: mahara Importance: High Assignee: Robert Lyon (robertl-9) Status: New -- 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: New 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 : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp