keithlofstrom wrote on Wednesday, October 31, 2012:
Thanks for the suggestion about /etc/php.ini, I added date.timezone = ‘America/Los_Angeles’ to that file (around line 960) and the timezone errors in /var/log/httpd/error_log stopped.
When I restored the “exit” line to …openemr/phpmyadmin/config.inc.php the failure (and error message) returned. It was also there when I tried ‘admin’,‘super’ instead of ‘admin’,‘database’ in the acl_check(). No errors show up in /var/log/httpd/error_log . Not surprising, this normally requires explicit logging messages in the code.
If I knew more about php, I would add some logging to that if() clause. If someone is attempting database access and fails, the sysadmin should know about it, either to help them do it right, or close a security hole.
I could experiment faster if I could flush whatever caching php uses. The previous version of the config.inc.php file seems to stay in effect for an hour or more after making a change - sometimes. Right now, it responds immediately. Strange.
Useful tip: I can access phpmyadmin with the full screen if I use the url http://openemr/phpmyadmin/index.php . I’ve got dns and apache set up so that “emr” “oemr” and “openemr” all connect to the openemr inside the clinic and from the vpn connections (not routable from outside, of course).
BTW, I am making notes on the (moinmoin) wiki at drchar.com . Some public, mostly a few dozen acl/private pages under development now, mostly related to workflow from a Medical Informatics viewpoint. When the pages are correct and all the privacy and security related stuff is cleaned up, we will make those pages public, too.
Someday, perhaps, a book to help the other doctors out there. If it sits still, read it, if it moves, take its temperature.