Renaming Attachments, browser hang/crash

(Richard Torres) #1

When a file is attached to a patient record and the doctor wants to go in and rename the attachment the option to rename is there but after clicking the Update (Submit) link the page does nothing and will eventually hang and openemr no longer works. You close browsers and reload and no changes have been made and system is fine. This happens on Chrome, Firefox and Internet Explorer

OpenEMR Version
v5.0.1 (4)

I’m using:
Chrome Version 77.0.3865.90 (Official Build) (64bit)
Fire Fox version 69.0.2 (64bit)
Internet Explorer version 11.388

Operating System
I’m using: Windows 10 1903

Did you check the logs? Was there anything pertinent in them? Paste them here (surround with three backticks (```) for readability

(Stephen Waite) #2

hi @richbcph, can’t reproduce on development, 5.0.3, on 5.0.2 having trouble uploading any type of document, pdf or txt so far at

may just be a security setting for the demos though but then 5.0.3 shouldn’t work

(Richard Torres) #3

Thanks for following up. No we can upload seemingly everything like Office 2016 formats, PDF, Bat, Txt, Image formats …). I will try to update to 5.0.3 and see if that resolves the issue and report back.


(Stephen Waite) #4

Hi @richbcph, it’s safer to stick with 5.0.2 since it’s the production release vs 5.0.3, development. We can file a bug report for the issue on 5.0.2 and follow up.

(Richard Torres) #5

Just spent the better part of 2 hours trying to upgrade php… grrr. When replacing the php with 7.1.32 trying to upgrade to 5.0.2 the system will not load apache service anymore. Running Xampp is there any articles explaining how to upgrade php inside xampp? Using the xampp package for openemr?

(Stephen Waite) #6

haven’t used in a while, but since the newest xampp uses mariadb you might want to wait until patch 1 comes out to fix a bug

ps it’s going to be any day now after Brady can figure out how to pull over 100 files into it :slight_smile:

(Richard Torres) #7

So is it being recommended that I wait until the patch is released and see if it resolves my issues without the upgrade?

(Stephen Waite) #8

Hi @richbcph, patch has been released so feel free to give it another shot

(Richard Torres) #9

Good morning,

Thanks for the link. Will this patch require me to upgrade PHP? When trying to run the upgrade for 5.0.2 the database portion states I must be on php 7.1 and won’t continue further.


(Stephen Waite) #10

yes, upgrade php, think you need to download a new bundled xampp and move the database in like you move the codebase in per the instructions, see step 2 of downloading package

(Richard Torres) #11

Based on this information would it be better to just rebuild or wait for the new xampp package? I enjoy the ease of use with the package but it seems like php is problematic when trying to upgrade?

Windows: Pre-installed OpenEMR with the XAMPP Package
Windows/Xampp OpenEMR 5.0.2 package is currently under construction.

(Stephen Waite) #12

package may not be built any time soon, have you tried docker for windows?

(Brady Miller) #13


Now that patch/updated packages are out, xampp package is next on my list (it’s high priority since the concern is windows users will not properly secure their documents directory via apache even though the setup provides guidance on this). That being said, I hit some snags on this package previously, so could be out anywhere from a couple days to couple weeks depending on how smooth the build process goes. It’s currently at item 2 on my STAT todo list :slight_smile:


Windows to Linux migration
(Richard Torres) #14

Thanks for doing that. While this bug is not a show stopper I’m inclined to wait for the new package release and see if this resolves it. That said has anyone ever documented the upgrade of php inside the xampp package?

(Stephen Waite) #15

looks like a fairly common search,