E-Sign API

yehster wrote on Thursday, January 23, 2014:

left_nav on the development demo site
http://demo.open-emr.org:2089/openemr/
Seems to be non-functioning as a result of the eSign API.

kchapple wrote on Thursday, January 23, 2014:

That was part of updated fancybox source. I likely should be able to remove both of them.

kchapple wrote on Thursday, January 23, 2014:

Do you see any errors in your PHP log or the javascript console?

kchapple wrote on Thursday, January 23, 2014:

Something may have gone wrong in the merge. Can I get access to the logs for the demo site?

kchapple wrote on Thursday, January 23, 2014:

The Logs that the wiki references don’t seem to output the error that’s happening. http://demo.open-emr.org:2099/log/logPhp.txt

kchapple wrote on Thursday, January 23, 2014:

I just pulled from upstream master and did a clean install. I don’t have the left-nav issue, or the issue that Arnab describes. These are platform-specific bugs and I’ll need a bit of help resolving them. Arnab, what is your platform including browser, OS, OS version, PHP version? Same for the demo system?

Thanks for your help all!

yehster wrote on Thursday, January 23, 2014:

The demo site is running PHP 5.2.4 which is incompatible with namespaces.

kchapple wrote on Thursday, January 23, 2014:

That’ll do it for the demo site. Thanks Kevin. That should be updated, especially in preparation for the impending Zend revolution.

arnabnaha wrote on Friday, January 24, 2014:

Hi…
sorry for the late reply…My platform is windows 8, xampp 1.8.0 and php version: 5.5.25a

bradymiller wrote on Friday, January 24, 2014:

Hi,

Here’s a small, but vital improvement, which allows turning this feature on by default for new users and upgraders (meaning it will actually get used and supported by future development). Simply placed an option to not show empty “No signature logs” messages when creating the patient custom report (this is set by a new option in administration->globals->esign which is on by default along with turning on the form esign toggles there).

Testing well and will plan to commit it soon unless any issues brought up:

-brady
OpenEMR

bradymiller wrote on Friday, January 24, 2014:

Hi,

Since your code brings in new globals, please update this page:
http://www.open-emr.org/wiki/index.php/Administration_Globals

-brady
OpenEMR

bradymiller wrote on Friday, January 24, 2014:

Hi,

As Kevin has pointed out, php 5.2 was end of lifed a while back, so seems ok to drop support. If anybody has issues with this, please voice them now.

Zend will require 5.3.3 or better, however will make it so it doesn’t do whitescreen of death if not supported (for example, will likely show a message that not all features are supported, but keep going; since it’s modular should not be tough to do this).

The one thing I think we will be unable to do though, is to include this code in a official 4.1.2 patch since wouldn’t be very cool to force php version update just for a patch.

-brady
OpenEMR

tmccormi wrote on Friday, January 24, 2014:

I will have to make provisions to do the 4.1.2 patch regardless for my customers as many of them have been waiting for this feature for a long time. So we can make it available with a warning about the php version requirement for anyone that want’s it.

Also, Will update the wiki page.

–Tony

bradymiller wrote on Friday, January 24, 2014:

Hi,

Just to bad can’t work it into the official patch, though (so will be good chance that future official patches may step on the code in the left_nav,report and encounter screen).

Is there an easy way to completely turn it off if php version is too low? I am guessing there is since it is so modular. Then could get it into the official 4.1.2 patch.

-brady
OpenEMR

bradymiller wrote on Friday, January 24, 2014:

BTW,
Am working on a ubuntu 12.04 LTS Server based development demo as I write this post :slight_smile:
Hopefully will get it out soon (depending on how tech issues play out, could be today or several months from now; but optimistic…).
-brady
OpenEMR

fsgl wrote on Friday, January 24, 2014:

Three cheers for El Jefe!!!

Now we can honorably beg money from Canonical, Ltd. for MU 3.

arnabnaha wrote on Saturday, January 25, 2014:

Any fix for the issue with esign? It simply doesnt work…whenever i put my password into it and click on sign…nothing happens…

arnabnaha wrote on Saturday, January 25, 2014:

This is what the error log shows:

[Thu Jan 23 13:26:56.890971 2014] [access_compat:error] [pid 1992:tid 1804] [client 66.249.64.6:54058] AH01797: client denied by server configuration: C:/xampp/htdocs/xampp/
[Thu Jan 23 14:35:08.291069 2014] [:error] [pid 1992:tid 1804] [client 211.75.94.222:55360] script ‘C:/xampp/htdocs/about.php’ not found or unable to stat
[Fri Jan 24 05:00:02.191280 2014] [cgi:error] [pid 1992:tid 1732] [client 201.242.120.16:45586] script not found or unable to stat: C:/xampp/cgi-bin/php
[Fri Jan 24 05:00:03.113200 2014] [cgi:error] [pid 1992:tid 1804] [client 201.242.120.16:46388] script not found or unable to stat: C:/xampp/cgi-bin/php5
[Fri Jan 24 05:00:04.035121 2014] [cgi:error] [pid 1992:tid 1800] [client 201.242.120.16:46667] script not found or unable to stat: C:/xampp/cgi-bin/php-cgi
[Fri Jan 24 05:00:04.925790 2014] [cgi:error] [pid 1992:tid 1732] [client 201.242.120.16:46947] script not found or unable to stat: C:/xampp/cgi-bin/php.cgi
[Fri Jan 24 05:00:05.800833 2014] [cgi:error] [pid 1992:tid 1804] [client 201.242.120.16:47215] script not found or unable to stat: C:/xampp/cgi-bin/php4
[Sat Jan 25 00:52:23.838879 2014] [access_compat:error] [pid 1992:tid 1728] [client 66.249.76.146:52507] AH01797: client denied by server configuration: C:/xampp/htdocs/xampp/
[Sat Jan 25 17:53:06.869734 2014] [access_compat:error] [pid 1992:tid 1804] [client 91.232.96.22:57659] AH01797: client denied by server configuration: C:/xampp/htdocs/xampp/, referer: http://nahahealthclinic.dyndns.org/xampp/
[Sat Jan 25 18:54:02.753732 2014] [access_compat:error] [pid 1992:tid 1728] [client 66.249.75.136:59038] AH01797: client denied by server configuration: C:/xampp/htdocs/xampp/
[Sat Jan 25 19:23:16.176200 2014] [access_compat:error] [pid 1992:tid 1728] [client 65.55.213.74:25425] AH01797: client denied by server configuration: C:/xampp/htdocs/xampp/

arnabnaha wrote on Saturday, January 25, 2014:

Other features of openemr works absolutely fine…

tmccormi wrote on Saturday, January 25, 2014:

Arnab,
It may a take a bit to figure this out, We don’t have ready access windows 8 nor do we typically run windows Xampp. But we’ll give it a shot. The log entries do not (at first glance) seem to have anything to do with the e-sign code, but that can be deceptive.

Is there anyone else that has tried this is windows? It may be a php version issue, but is looks like java script not firing. Do you get any errors showing in firebug or javascript console tools?

–Tony