Situation
When using the Billing Manager and checking an encounter, then selecting HCFA Form, CMS 1500 PDF, then validate only in the popup, another popup shows “PDF” billing_process.php and an “open” button. Clicking on open results in a new tab with the error “Site ID is missing from session data!”.
I am logged into OpenEMR on only one tab in Chrome, and Chrome is set to allow cookies from the site. I tried clearing the browser cache and restarted Chrome. Looked at php.ini’s session.save_path and permissions on that path (rw for www-data). When I installed OpenEMR I made the recommended changes to php settings, and I also get this error right after logging in as administrator and going right to billing without delay so it does not seem like a timeout issue.
OpenEMR Version
I’m using OpenEMR version 5.0.2 patch 5
Browser:
Chrome version 86.0.4240.198 (windows 10 client)
Operating System
Ubuntu 21.04 with PHP 7.4.3
Logs
some array index errors in apache log, nothing that seems helpful.
I reviewed previous topics like Templates for Patient Documents: Site ID is missing from session data! - there was a note about a change to login.php going into the first 5.0.2 patch, but that code does not quite match what I have (which does not check PHP version > 7.3). Not sure if this is significant, as I’m not having any problem logging in.