Forums | Mahara Community

Support /
Need help for "Problems and conditions" plugin


Chieh-Nan Wang's profile picture
Posts: 6

15 October 2010, 22:32

Hello, everyone

I used "Problems and conditions" plugin in my Mahara(1.2.3) normally on Dreamhost server with PHP 5.2.11 before. However, after upgrading to Mahara1.2.5, it showed below message in "My case notes" without pieform:

<form class="pieform" name="conditionsbrowser" method="post" action="" id="conditionsbrowser"> <table cellspacing="0"><tbody> <tr> <td colspan="2"> <fieldset class="collapsible"> <legend><a href="">Filters</a></legend><table><tbody> <tr id="conditionsbrowser_conditionsbrowser_container" class="conditionsbrowser"> <th></th> <td><div id="conditions"> <script type="text/javascript"> var conditionsbrowser_conditionsbrowser = new ConditionsBrowser(&#039;conditionsbrowser_conditionsbrowser&#039;);addLoadEvent(conditionsbrowser_conditionsbrowser.init); </script> <div id="conditions-header"> <h3>Problems and Conditions</h3> </div> <span class="fr"> <a class="btn" href="#" onclick="return false;" id="resetfilter">Reset Filter</a> </span> <div class="clearer"></div> <div id="category-select"> <label for="filtertype">Filter list by:</label> <select id="filtertype"> <option selected="selected" value="atoz">A-Z</option> <option value="specialty">Specialty</option> </select> </div> <div class="clearer"></div> <div id="conditions-outer"> <table><tr> <td id="t0" class="data"> <div id="i0" class="conditions-inner"> <ul> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=a&children=1" class="itemlink">A - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=b&children=1" class="itemlink">B - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=c&children=1" class="itemlink">C - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=d&children=1" class="itemlink">D - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=e&children=1" class="itemlink">E - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=f&children=1" class="itemlink">F - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=g&children=1" class="itemlink">G - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=h&children=1" class="itemlink">H - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=i&children=1" class="itemlink">I - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=j&children=1" class="itemlink">J - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=k&children=1" class="itemlink">K - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=l&children=1" class="itemlink">L - (0)</a></li> <li class="itemlink children"><a href="index.php?filtertype=atoz&column=0&path=m&children=1" class="itemlink">M - (0)</a></li> </ul> </div> </td> </tr></table> </div> <input type="hidden" id="parameters" value="filtertype=atoz" /> <div id="checkboxes"> <label for="onlycore">Only display core:</label> <input type="checkbox" id="onlycore" value="no" /> <label for="includeshared">Include shared notes:</label> <input type="checkbox" id="includeshared" value="no" /> </div> </div> </td> </tr> </tbody></table></fieldset></td> </tr></tbody></table> <input type="hidden" class="hidden" id="conditionsbrowser_sesskey" name="sesskey" value="PB7CVIHp6xRu3dYa"> <input type="hidden" name="pieform_conditionsbrowser" value=""> </form> <script type="text/javascript">new Pieform({"name":"conditionsbrowser","jsForm":false,"submitButtons":[],"preSubmitCallback":"formStartProcessing","jsSuccessCallback":"formSuccess","jsErrorCallback":"formError","globalJsErrorCallback":"formGlobalError","postSubmitCallback":"formStopProcessing","newIframeOnSubmit":true});</script>

I upgrade my system to Mahara(1.2.5 and 1.3.2) and PHP(5.3.3) but the condition was the same. Besides, the message showed "Parse error: syntax error, unexpected '(' in /home/mmhfm/portfoliodata/dwoo/compile/aqua/home/mmhfm/mmhfm.org/portfolio/artefact/pc/theme/raw/form/conditionselector_selectedlist.tpl.d17.php on line 7"  when adding new case note.

Is there any idea? Thank you!

1 result