Billing Manager , Connection Reset Problem

mamassoud wrote on Tuesday, July 30, 2013:

Hi,
I have been trying to figure out what causes this problem for couple of days but no success.
I installed openemr 4.1.1 +P_14 , looks like everything works fine except that when I go to Fees>Billing and “Update List” I get blank page with the error

The connection was reset
The connection to the server was reset while the page was loading.

I am using Linux and PHP5.2.17

Thanks in advance for help.
Mohamed

yehster wrote on Tuesday, July 30, 2013:

A page failing to load with the error you describe may be the result of insufficient php.ini settings. see
http://www.php.net/manual/en/info.configuration.php#ini.max-execution-time

mamassoud wrote on Wednesday, July 31, 2013:

Hi Kevin,
I was able to change the value of max_execution_time to 300
max_execution_time = 300
and verified that using phpinfo() in my openemr directory.

But still getting the same error, which comes in less than 3 seconds
Appreciate your help,
Mohamed

yehster wrote on Wednesday, July 31, 2013:

The next step is to examine the apache error.log.

mamassoud wrote on Sunday, August 04, 2013:

Hi Kevin,
I am still no-where in this problem.
I am seeing the following warning , which is not seen in my previous server openemr installation.
“Use of Mutation Events is Deprecated. Use MutationObserver instead”
It comes after billing_report.php is executed.
I also noticed that dated_reminders.php and dated_reminders_counter.php come right before billing_report.php is executed.
I believe this error is due to moving the openemr to another server but I do not know why I get all these warnings, Mutation Events…
Thanks
Mohamed

yehster wrote on Sunday, August 04, 2013:

Deprecation warnings are a suggestion to developers that they consider a different mechanism as a given feature is likely to go away in a future version of software. They do not generally indicate a true error condition.

Here are details of the specific message
https://developer.mozilla.org/en-US/docs/Web/Guide/DOM/Events/Mutation_events

There are timer events that call dated_reminders.php and dated_reminders_counter.php continuously, seeing calls to those pages is purely an incidental finding and again not likely to be related your problem.

Did you copy the files from the old server to the new server? Or did you do a fresh install? What operating system are you using?

mamassoud wrote on Monday, August 05, 2013:

I did fresh install 4.1.1 in Linux, using mySql 5.0
The only difference I saw that I have to set $web_root in globals.php manually since $_SERVER[‘DOCUMENT_ROOT’] is prefixed with /var/chroot but dirname(dirname(FILE)) is not.
I am afraid that $_SERVER[] in this server is causing this problem but I am not sure which one .
One thing to notice, Fees>Billing default page comes fine but when I click UPDATE LIST the connection is reset and I get the error page instead even with default settings.

yehster wrote on Wednesday, August 07, 2013:

Is this a shared hosting environment or a server under your own control?

mamassoud wrote on Saturday, August 10, 2013:

Hi Kevin,
It is shared hosting and i can only control php environment variables which I investigated thoroughly and modified them based on other users experience with connection reset error.
To get it to work I had to disable the default date field in interface/billing/billing_report.php line 415 so that when I go to Fees>Billing it shows me all unbilled encounters so that I can bill them. So I do not think it is a problem with memory setting or other cache parameters.