I have installed Openemr for windows with xampp and it worked till the first time I logged in and I was surprised the next day it gave me this error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in C:\xampp\htdocs\openemr\library\classes\Filtreatment_class.php on line 31
I uninstall the xampp and removed the directory were it was installed and reinstalled it again but the same error is still there. For my installation I followed the installation guide at:
The Filtreatment class has been problematic in the past. It was rewritten specifically for PHP5 and thus broke OpenEMR for those of us who still use PHP4. More recently I believe it was reworked to suit both PHP4 and PHP5. Which version of OpenEMR are you using?