Hi Ray,
Your eye exam looks fantastic in the demo. I was looking forward to having access to it after upgrading to 5.0. However the First field showing visit date is present, but HPI and PMSFH show a perpetual spinning loading dial. The 6 fields below the above 2 are visible ( Mental Status, Vision, Tension, Amsler, Fields and Pupils). Below the 6 fields above there is another spinning loading dial and below that the 5 fields (Defaults, Text, Draw, Quick Picks and date field) are visible. Below the above 5 fields another spinning dial. Thus also missing External Exam, Anterior Segment, Retina, Neuro and both Impression/Plan fields.
Thank you for your assistance and my congratulations on your creation, of the Eye Exam Form.
Hi Brady,
I checked out the 5.0 Demo that’s running on Ubuntu 12.04, that’s how I know what isn’t working on my instance, which is running 16.04 Ubuntu. Has it been tested on Ubuntu 16.04? I upgraded from 4.2.1 directly to 5.0 via the wiki package. Is that ok, to upgrade skipping 4.2.2? Based on the Wiki it seemed that that wasn’t a problem. The upgrade went fine without any visible problems thus far.
Nope, just wanted to make sure you didn’t install a development beta version of the eye form before you upgraded to 5.0.
Albeit I am not able to reproduce your issues, I have noted that the initial load up of the eye form takes much longer in php7 than it does in php5. If you wait it out, do all the elements load?
For ubuntu 16.04, default place for php error log is:
/var/log/apache2/error.log
The javascript error log is seen from your browser. In firefox:
Menu->Developer->Web Console->(Click Console tab and ensure the JS button is clicked to see the JS errors while use OpenEMR)
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead[Learn More] index.js:1
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. index.js:5:17117
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. index.js:3:3869
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. index.js:3:7108
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead[Learn More] index.js:1
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. index.js:5:17117
Basically no errors in your logs that were pasted. Do you see any PHP error (or anything with the word error in the php log). Note the timestamps; can use this to focus on pertinent place in log, so open the eye form in openemr and then will know which entries in log are pertinent (ie. all on or after the time you tried the eye form)
I just did a fresh 5.0.0 install (no patch yet) on an Ubuntu 16.04 LTS VirtualBox instance and the Eye form loads up very quickly.
If you are in FireFox, can you see any errors in the Console Window (open Tools->Web Developer->Web Console on my version)? The panels are essentially “drop-in” panel retrieved via ajax - it is like loading pages within the page. Most likely you are missing or not loading a javascript file because the data for these panels is never received. Since this works with a new vanilla install, perhaps it is an upgrade issue. To figure it out though we need to reproduce what you are seeing.
Ray
I tried the Demo and Eye Exam works fine with all the panels open. I did a search of the error file for “PHP Error” and it come back empty. Every entry has “[:error]” as shown below but not “PHP Error”.
Below are the first 5 messages of 48 pages that seem similar:
[Sat May 27 11:31:59.454020 2017] [:error] [pid 1486] [client 10.0.0.43:56953] PHP Notice: Undefined variable: condition_str in /var/www/openemr/interface/new/new_comprehensive.php on line 451, referer: https://10.0.0.30/openemr/interface/main/tabs/main.php
[Sat May 27 11:31:59.454074 2017] [:error] [pid 1486] [client 10.0.0.43:56953] PHP Notice: Undefined variable: group_fields in /var/www/openemr/interface/new/new_comprehensive.php on line 451, referer: https://10.0.0.30/openemr/interface/main/tabs/main.php
[Sat May 27 11:31:59.461928 2017] [:error] [pid 1486] [client 10.0.0.43:56953] PHP Notice: Undefined variable: group_fields in /var/www/openemr/interface/new/new_comprehensive.php on line 451, referer: https://10.0.0.30/openemr/interface/main/tabs/main.php
[Sat May 27 11:31:59.462901 2017] [:error] [pid 1486] [client 10.0.0.43:56953] PHP Notice: Undefined variable: group_fields in /var/www/openemr/interface/new/new_comprehensive.php on line 451, referer: https://10.0.0.30/openemr/interface/main/tabs/main.php
[Sat May 27 11:31:59.463246 2017] [:error] [pid 1486] [client 10.0.0.43:56953] PHP Notice: Undefined variable: group_fields in /var/www/openemr/interface/new/new_comprehensive.php on line 451, referer: https://10.0.0.30/openemr/interface/main/tabs/main.php
After 48 pages of referring to “openemr/interface/main/tabs/main.php” as above there are 190 more pages of which the following is the beginning of the next section.
The PHP log info is only important if there is an “error”. The “INFO” lines are present for reporting purposes only and do not affect the form.
You are missing something - some file(s) is not loading.
There are a lot of js files that need to load for this form. In the console window or the network window of your browser, are any of the files the form is requesting failing to load? They may appear RED. This is where you’ll discover what is missing on your server. If there are missing files, we will need to know which one(s) so we can including this directives in the upgrade process for others.
Hi Ray,
It appears that it is felt to be possibly a browser problem however, if that were so then when I go into the Demo the Eye Exam shouldn’t load either right? Yet it loads fine. Might a more practical way around this be to reconstruct the appliance and install a backup of the present database production instance? Does that make sense? Not sure what you mean by red. I posted the JavaScript error output.