This one is for Mark Leeds. Sorry it took me so long to get back in this forum but I was at a conference recently. Anyway I put SOPA into my test system and tried to use it with an encounter at which time I got the following messages.
Warning: main(/xampp/xampp/htdocs/openemr/library/array.inc): failed to open stream: No such file or directory in C:\xampp\xampp\htdocs\openemr\interface\forms\sopa\new.php on line 4
Warning: main(): Failed opening ‘/xampp/xampp/htdocs/openemr/library/array.inc’ for inclusion (include_path=’.;C:\xampp\xampp\php\pear’) in C:\xampp\xampp\htdocs\openemr\interface\forms\sopa\new.php on line 4
Fatal error: Call to undefined function: arrayget() in C:\xampp\xampp\htdocs\openemr\interface\forms\sopa\new.php on line 23
Then when I logged out I saw this one.
Warning: session_start(): open(C:\xampp\xampp\tmp\sess_8771367c9615ff57e0c91603c77aea8d, O_RDWR) failed: Permission denied (13) in C:\xampp\xampp\htdocs\openemr\interface\globals.php on line 44
Since I am not that savvy on this system yet I really have no clue what the heck is going on with this form.
I forgot that SOPA is dependent on openemr/library/array.inc which you could get from cvs and copy to your installation in the library directory. Sorry about that. I should have put all of the code in the form to avoid dependency issues.
Sorry about the dumb name also. I wanted to differentiate from SOAP. I had planned to use the nickname system present in the current working version in cvs to be able to give the form a different name. The nickname system is supposed to hide the real form name with a user-defined name set in the administrator’s form page. It works partially, but the real name still shows up in some areas.
If you don’t want to mess with installing array.inc in your library, I could stick it in the form folder and have it included from there. Let me know. That would be easiest for you. I’ll make the change, you delete SOPA from your form directory and download the new replacement version.
Thanks Mark. I went to the CVS and looked in /openemr/library but could not find array.inc. Did I inadvertently look in the wrong subdirectory? Or should I just download a different version of SOPA like your 2nd suggestion?