Situation
some documents linked to messages are not displayed: links do not work
OpenEMR Version
I’m using OpenEMR version 6.1 (but has been a problem since 6.0)
Browser:
I’m using: Firefox, Chrome, under Linux (also happens with Windows)
Operating System
I’m using: Linux and Windows
Logs
Did you check the logs? yes, previously
Was there anything pertinent in them? Yes: unable to track document if pubpid is null or blank
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All
Updated to 6.1, and along came with the package, a new version of …/openemr/interface/main/messages/messages.php which I have had to modify since version 6.0.0.
Specifically the following line: 587 where I have to replace “pubpid” with “pid” for the document link to work.
More specifically: … attr(addslashes($prow[‘pubpid’])) → … attr(addslashes($prow[‘pid’]))
If there is something else in my setup that is causing this to not work with the above change, please clue me in!
Thank you,
Mark Sarnov, MD