anonymous wrote on Monday, September 10, 2012:
I have managed to setup a multi-site openemr site for several doctors. Our problem is accessing the Patient portal.
The Patient portal can be accessed by using a hard-coded link http://<ourserver>/patients/index.php?site=<doctors_site>.
After entering the user name and password, the following error appears:
Warning: require_once(/home/infomate/public_html/sites/default/config.php) : failed to open stream: No such file or directory in /home/infomate/public_html/interface/globals.php on line 141
Fatal error: require_once() : Failed opening required ‘/home/infomate/public_html/sites/default/config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/infomate/public_html/interface/globals.php on line 141
This points out that the “site_id” is being ignored by globals.php and instead replacing it site_id=default. I have removed the folder default from the sites which causes the error.
How can the globals.php code be corrected to accommodate multi-site doctor and patient portal setup.