phpGACL setup problem

johnlee129 wrote on Wednesday, December 03, 2008:

I have phpGACL installed.

When I ran http://localhost/openemr/acl_setup.php, I got the following error.

Warning: include_once(/htdocs/acl/gacl.class.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\openemr\library\acl.inc on line 59

Warning: include_once() [function.include]: Failed opening ‘/htdocs/acl/gacl.class.php’ for inclusion (include_path=’.;C:\xampp\php\pear’) in C:\xampp\htdocs\openemr\library\acl.inc on line 59

Fatal error: Class ‘gacl’ not found in C:\xampp\htdocs\openemr\library\acl.inc on line 60

Please help, thanks!

drbowen wrote on Thursday, December 04, 2008:

This looks like there is something missing either because gacl has not been installed yet or because the path is incorrect.

There are several earlier threads about this.  In date order:

https://sourceforge.net/forum/forum.php?thread_id=1844870&forum_id=202506
https://sourceforge.net/forum/forum.php?thread_id=1899619&forum_id=202506
https://sourceforge.net/forum/forum.php?thread_id=2045980&forum_id=202506

Versions 2.8.3 and earlier gacl is a separate install and is outside the OpenEMR directory tree.

Since 2.9.0 the gacl (short for phpGACL) administration is incorporated with OpenEMR.  I have not personally done this yet, but I think you still need to install gacl separately.

From the OpenEMR directory, check out:

/openemr/Documentation/README.phpgacl
/openemr/INSTALL
/openemr/library/acl.inc
/openemr/acl_setup.php
/openemr/acl_upgrade.php

Current installation instructions:

wiki at http://www.oemr.org/modules/wiwimod/

Where to get gacl:

http://phpgacl.sourceforge.net/

Instructions on using php-GACL can be found at:

http://www.sunsetsystems.com/node/19

Sam Bowen, MD