blatta wrote on Friday, January 23, 2015:
I’ve been able to successfully run 4.1.3-dev on my new MacBook Pro running Yosemite 10.10.1. I’ve been trying to recondition an older MacBook Pro (running the same operating system) into a backup server, however, and in so doing have been trying to install the new OEMR 4.2.0 onto it. I install with all the same options and tweaks as with 4.1.3-dev and get what appears to be a functional installation (I can log in as admin, etc.). The MySQL openemr database portion is functional (as evidenced by my ability to access and manipulate it from the command line however somehow the OpenEMR web-based interface isn’t making proper contact with the underlying database (at least that’s my interpretation).
Specifically, when I try to create a new user (Administration->Users->Add User) I fill in all the fields but when I press “save” I get the message “Failure during database access! Check server error log.” and nothing is added to the database (I checked from the command line). I’ve searched but cannot find the location of the aforementioned error log.
Other things work well. For example, I can add a pharmacy within the Practice Settings area. On the other hand, when I attempt to add a new facility I get another failure (Error: Incorrect integer value: ‘’ for column ‘service_location’ at row 1). Notwithstanding this, I know the table works and is filled because one of the first things I did after installing the system was to use a facility_install.sql script (mysql> source facility_install.sql from mysql command prompt) to automate the process of installing the several facilities at which I work and they show up on the facilities screen.
I’ve tried copying the /etc/apache2/httpd.conf and /etc/php.ini files from the fully functioning computer to the new computer (both set up with the same operating system and updates - just a different version of OpenEMR) and then restarting the webserver but the results are the same.
Any ideas? Where do I go from here? I feel myself slowly slipping into the abyss. I’ve always been able to solve my problems with a few Google searches and a little experimentation but this one has me perplexed.
Edit: For the record, I’ve also played around with installing OpenEMR over the top of a “prefab” AMP stack (both XAMPP and MAMP). XAMPP installed fine but I couldn’t get a clean OpenEMR installation over it. MAMP appeared to install just fine and I was able to get a working OpenEMR installation, so I could go in that direction, but I don’t see why it shouldn’t be possible to do this directly without having to install a whole bunch of other software that I don’t want, especially when I had previously been able to easily accomplish everything simply by enabling the pre-existing webserver/PHP stuff and installing MySQL.