Admin Users page problem

richsiy wrote on Tuesday, July 13, 2010:

Hi,

I just installed openemr 4.0 (cloned 2010-07-12) and I got the following in the Administration -> Users page:

User / Groups  Add User
Include inactive users
“.xl(‘Emergency Login ACL is chosen. The user is still in active state, please de-activate the user and activate the same when required during emergency situations. Visit Administration->Users for activation or de-activation.’).”
“; } if ($show_message == 1){ echo “”.xl(‘The following Emergency Login User is activated:’).” “.”".$_GET.""."
“; echo “”.xl(‘Emergency Login activation email will be circulated only if following settings in the interface/globals.php file are configured:’).” $GLOBALS, $GLOBALS"; } ?>
Username Real Name Additional Info Authorized?
asiadmin  Administrator    yes


Any clue?

Thanks,
Richard Siy

visolveemr wrote on Wednesday, July 14, 2010:

Hi

Probably you can avoid this by enabling “short_open_tag = On” in php.ini file.

Thanks,

Vicareplus Team,

services@vicareplus.com

richsiy wrote on Wednesday, July 14, 2010:

short_open_tag was already on (default)

The garbage did disappear when I changed the ‘<?’  to  ‘<?php’  before the alert message. Looks like that is the only short open tag in this script (usergroup_admin.php).

Thanks.

bradymiller wrote on Wednesday, July 14, 2010:

Richsiy,
Thanks for the report. Just committed fix for this in the codebase. As an aside, I’m quite confident that you likely aren’t looking at the correct configuration file (ie. your short_open_tag is turned off). Also important to note that if you change any settings in the php configuration file, then you need to restart the apache server.
-brady

richsiy wrote on Thursday, July 15, 2010:

You are right brady. I was still having my short_open_tag on. I turned it on and it is working without modification. I will back out the change in my repos.