duanemorrow wrote on Wednesday, May 23, 2007:
I updated my gentoo system this weekend. One of the updates was from php 5.2.1 to php 5.2.2 and openemr 2.8.2 is having a lot of problems with it.
duanemorrow wrote on Wednesday, May 23, 2007:
I updated my gentoo system this weekend. One of the updates was from php 5.2.1 to php 5.2.2 and openemr 2.8.2 is having a lot of problems with it.
duanemorrow wrote on Wednesday, May 23, 2007:
Warning: Invalid argument supplied for foreach() in /var/www/localhost/htdocs/openemr/library/acl.inc on line 110
andres_paglayan wrote on Wednesday, May 23, 2007:
turn warnings off in php.ini
andres_paglayan wrote on Wednesday, May 23, 2007:
i mean, do not send them to the screen but keep loging into a file,
duanemorrow wrote on Wednesday, May 23, 2007:
installed current cvs version of openemr and freeb and the above warning/error no longer appears.
However, I generate a test encounter/issue and add a cpt code bill to it. I go to Billing, select it, queue hcfa, get the queued for processing, select it, click start batch processing, get the batch processing initiated dialog, click change view, and nothing happens, freeb is not creating the hcfa file. This worked before update from 2.8.2 to 2.8.3dev.
If I click the view log link I get the following:
Not Found
The requested URL /openemr/library/freeb/process_bills.log was not found on this server.
suggestions?
bo2999 wrote on Wednesday, May 23, 2007:
Make sure the file exists and permission for apache to write. Just a thought.
Or try to click on ‘RUN TEST’ to see if hcfa.pl is working. If it is working properly then it should be that you have permission problem with the file.
duanemorrow wrote on Friday, May 25, 2007:
file was not there and permissions were not correct.
When I batch process a file I get the following in the log:
Creating job for: 1-8457 as hcfa returning pdf.
Warning: fsockopen(): unable to connect to localhost:18081 (Connection refused) in /var/www/localhost/htdocs/openemr/library/freeb/xmlrpc.inc on line 534
Warning: stream_set_timeout(): supplied argument is not a valid stream resource in /var/www/localhost/htdocs/openemr/library/freeb/xmlrpc.inc on line 535
Claim for PatientID: 1, Encounter: 1-8457 failed due to:
Code: 5 Reason ‘Didn’t receive 200 OK from remote server.’<BR>
Creating job for: 1-8477 as hcfa returning pdf.
Warning: fsockopen(): unable to connect to localhost:18081 (Connection refused) in /var/www/localhost/htdocs/openemr/library/freeb/xmlrpc.inc on line 534
Warning: stream_set_timeout(): supplied argument is not a valid stream resource in /var/www/localhost/htdocs/openemr/library/freeb/xmlrpc.inc on line 535
Claim for PatientID: 1, Encounter: 1-8477 failed due to:
Code: 5 Reason ‘Didn’t receive 200 OK from remote server.’<BR>
duanemorrow wrote on Friday, May 25, 2007:
after making corrections to config.php and etc I now get this log message:
Creating job for: 1-8477 as hcfa returning pdf.
Claim for PatientID: 1, Encounter: 1-8477 processed successfully. Results are in file:
2007-05-24-1-8477.hcfa.pdf
The file is blank. When I do a run test I get the following:
0000 0001 Fault returned from XML RPC Server, fault code 105: XML error: Invalid document end at line 1
0002 0003
Claim test has completed running
duanemorrow wrote on Friday, May 25, 2007:
I enabled xml rpc debugging by setting /usr/share/freeb/lib/FreeB/FB.php debug=>1 and did run test and got the following:
0000 0001 ---- request ----
Fault returned from XML RPC Server, fault code 105: XML error: Invalid document end at line 1
0002
0003
0004 FreeB.FBProcedure.ProcArray
0005
0006 1-8477
0007
0008
0009 ---- response ----
0010
0011
0012
0013
0014
0015
0016 faultCode
0017 105
0018
0019
0020 faultString
0021 XML error: Invalid document end at line 1
0022
0023
0024
0025
0026 0027
Claim test has completed running
bo2999 wrote on Friday, May 25, 2007:
What Perl version are you running? Did you install it correctly? Did you install all the necessary modules for it to work? And that Apache is able to communicate with it? Based on my experience, the error messaage “Didn’t receive 200 OK from remote server.” usually means there is a connection problem.
Try to debug manually using instructions for freeb debugging/installation in oemr.org in the wiki section. Just my 2 cents. This is the reason why everybody wants to get rid of freeb, myself included. I will probably have to work on PHP HCFA version when time permits.
Wish you luck!
Bo,
duanemorrow wrote on Sunday, May 27, 2007:
Checked and installed any perl, modules that I could. Still freeb was not working.
Reverted back to php-5.2.1-r3 and freeb is working again.
Therefore, the current freeb in cvs doesn’t work with php-5.2.2 but does work with php-5.2.1-r3
sunsetsystems wrote on Wednesday, May 30, 2007:
That’s curious because freeb is written in perl, not php. Something may be up with the xml-rpc support.