Situation
Wndows install of 600 can’t load patients, we get the following error
[Thu Jan 07 23:33:47.850519 2021] [php:error] [pid 8476:tid 1824] [client ::1:58937] PHP Fatal error: Uncaught Error: Failed opening required ‘C:\xampp\htdocs\openemr\src\FHIR\SMART/…/…/…/_rest_config.php’ (include_path=‘C:\xampp\htdocs\openemr\vendor/pear/archive_tar;C:\xampp\htdocs\openemr\vendor/pear/console_getopt;C:\xampp\htdocs\openemr\vendor/pear/pear-core-minimal/src;C:\xampp\htdocs\openemr\vendor/pear/pear_exception;C:\xampp\php\PEAR’) in C:\xampp\htdocs\openemr\src\FHIR\SMART\SmartLaunchController.php:25\nStack trace:\n#0 C:\xampp\htdocs\openemr\vendor\composer\ClassLoader.php(444): include()\n#1 C:\xampp\htdocs\openemr\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile(‘C:\\xampp\\htdocs…’)\n#2 C:\xampp\htdocs\openemr\interface\patient_file\summary\demographics.php(55): Composer\Autoload\ClassLoader->loadClass(‘OpenEMR\\FHIR\\SM…’)\n#3 {main}\n thrown in C:\xampp\htdocs\openemr\src\FHIR\SMART\SmartLaunchController.php on line 25, referer: http://localhost/openemr/interface/main/tabs/main.php?token_main=wcHASHi0qixBrJufUHzKAFZ4YvcavefQ2sNAhhy4
OpenEMR Version
I’m using OpenEMR version 600
Browser:
I’m using:
Operating System
I’m using: windows 10
Logs
[Thu Jan 07 23:33:47.850519 2021] [php:error] [pid 8476:tid 1824] [client ::1:58937] PHP Fatal error: Uncaught Error: Failed opening required ‘C:\xampp\htdocs\openemr\src\FHIR\SMART/…/…/…/_rest_config.php’ (include_path=‘C:\xampp\htdocs\openemr\vendor/pear/archive_tar;C:\xampp\htdocs\openemr\vendor/pear/console_getopt;C:\xampp\htdocs\openemr\vendor/pear/pear-core-minimal/src;C:\xampp\htdocs\openemr\vendor/pear/pear_exception;C:\xampp\php\PEAR’) in C:\xampp\htdocs\openemr\src\FHIR\SMART\SmartLaunchController.php:25\nStack trace:\n#0 C:\xampp\htdocs\openemr\vendor\composer\ClassLoader.php(444): include()\n#1 C:\xampp\htdocs\openemr\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile(‘C:\\xampp\\htdocs…’)\n#2 C:\xampp\htdocs\openemr\interface\patient_file\summary\demographics.php(55): Composer\Autoload\ClassLoader->loadClass(‘OpenEMR\\FHIR\\SM…’)\n#3 {main}\n thrown in C:\xampp\htdocs\openemr\src\FHIR\SMART\SmartLaunchController.php on line 25, referer: http://localhost/openemr/interface/main/tabs/main.php?token_main=wcHASHi0qixBrJufUHzKAFZ4YvcavefQ2sNAhhy4
More info. We were doing an upgrade from 500. BRought the zip file into Xampp 8.0 and the openemr folder was placed into htdocs. The link that was supposed to run the install script didn’t work. I searched for the setup.php file, but it wasn’t present in the download. I took the setup script from my local box (master) and brought it to the customers openemr directory. We successfully ran the script and it seemed to run well but when we logged in to the fresh install everything was working very slow.
We brought in the old database and ran the upgrade script. We were able to log in successfully but when we clicked on a patent we received a blank tab with the title “Unknown” and the following error was in the log.
WE thought it might have been related to the keys in sites directory. We removed those, OpenEMR generated new keys, but the same behavior persisted.
We also verified that all the php.ini settings were configured correctly.