Document upload error

Good to hear, I will definitely upgrade :slightly_smiling_face:

What PHP version is best for EMR?

The thing I worry about a little, is that I have done some extensive work with patient demographics (though always using the EMR demographic editor) - and that does affect the patient_data record structure … any thoughts on that?


If using layouts editor then no worries with upgrade. If you have custom code for a report etc well then you’ll need to refactor to new version.
For PHP, Brady worked hard to be PHP8 compatible for v6 however, v6 runs fine on PHP7.4 which is where i’d stay till PHP8 matures awhile.

Great. Thanks Jerry, support much appreciated.

Hi Jerry, thought I’d wait a couple days and have just installed v6. But somethings wrong …

  1. Is this the login screen - It just looks messy compared to the previous?
  2. When I login, all I get is a blank screen with the circle-shaped logo top left - the only thing I can think of is a must have changed the permissions of openemr/sites/default/ (I’m not experienced with unix) - I did chmod ugo+w to allow me to ftp the sqlconf.php from 5.0.2, and then did chmod ugo-w
    If thats wrong, what chmod should I apply now please?

Thanks, ALan

Hi Jerry, just checking you noticed this? If you’re just busy just let me know :slight_smile:

this is most likely a permission issue on your server. Or windows has the block property set.

I’m on centos 7.9
I agree as per my point 2 above it might be permissions, are you able to tell me what the permissions for openemr/sites/default/ should be please?

directories 2775
files 664

ensure your owner permissions allow read on directory

Thanks Jerry, yes those were wrong as expected, now fixed.
BUT - nothings changed.

  1. Please try and confirm if that looks as expected?
  2. Here is a test login (no real data in the system yet), so you can see what happens:
    testDoc, testDoc123*

you probably still have permission issue with vendor directory.

Checked, it’s correct. Also I am certain the only permissions I changed at all was the default folder. I’ve also browsed through the folders and files and all permissions look correct.

I checked console:
Login screen has these msgs: (and after that some errors after logging in)

Loading failed for the with source “”. login.php:11:1

Loading failed for the with source “”. login.php:12:1

Loading failed for the with source “”. login.php:13:1

Loading failed for the with source “”. login.php:14:1

Loading failed for the with source “”. login.php:15:1

Loading failed for the with source “”. login.php:26:1

Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. inject.js:2:16356

Loading failed for the with source “”. login.php:27:1

Uncaught ReferenceError: $ is not defined


Ruleset ignored due to bad selector.

… and AFTER LOGGING IN there are some errors:

Uncaught ReferenceError: jsText is not defined

Uncaught ReferenceError: app_view_model is not defined


Uncaught ReferenceError: app_view_model is not defined


Uncaught ReferenceError: ko is not defined

Where did you get the upgrade from? Not master download I hope!

Got an email announcement - OpenEMR 6.0.0 has just been released!

Then took the linux download -

Happy to reinstall if there is a better download?

Otherwise I have backups, I could roll back to before the latest patches?

Hi Jerry, just wondering what I should be doing?


OK, there’s probably a lot of pressure on your time - in the meantime I will use a backup to go back to before I patched emr, and also switch to php 7.2 … but please get back to me if the situation changes re: v6?

Try a different download of version 6. It does work.
I have been using it for one week. Be sure to check the checksum first yourself. In the distant past I have spent weeks on problems which turned out to be a bad downloaded zip (tgz) file.

I had an idea - Can someone tell me what the ownership of all folders should be? As in Owner/Group

OK - Owner of folders was set to root root, must be from when I unpacked the compressed file. I have v6 working now, so this is resolved.

Are you referring to the actual directories in your server?

Mine are www:www

I am using version 6