drbowen wrote on Friday, June 10, 2005:
Have any of you guys looked at how many error codes OpenEMR throws into the Apache error_log after a vanilla install of OpenEMR?
It really generates a lot of errors from undeclared variables etc.
In fact it generates so many errors that in April the overfull Apache error_log crashed my Apache web server. I fixed the problem by moving the error log to a new name and then recreating the usual error log.
This seems to happen with all my new installs. Can we clean up the code so that these don’t occur on a vanilla install?
I have included a few examples for those so inclined.
________________________________________________
[Fri Jun 10 16:13:07 2005] [error] PHP Notice: Undefined variable: special_timeout in /var/www/htdocs/oemr/demo/openemr/interface/globals.php on line 84
[Fri Jun 10 16:13:07 2005] [error] PHP Notice: Undefined variable: tag in /var/www/htdocs/oemr/demo/openemr/interface/globals.php on line 102
[Fri Jun 10 16:13:07 2005] [error] PHP Notice: Undefined variable: backpic in /var/www/htdocs/oemr/demo/openemr/interface/globals.php on line 108
[Fri Jun 10 16:13:07 2005] [error] PHP Notice: Undefined variable: ignoreAuth in /var/www/htdocs/oemr/demo/openemr/interface/globals.php on line 123
[Fri Jun 10 16:13:07 2005] [error] PHP Notice: Constant ADODB_FETCH_ASSOC already defined in /var/www/htdocs/oemr/demo/openemr/library/sql.inc on line 6
[Fri Jun 10 16:13:07 2005] [error] PHP Notice: Undefined index: auth in /var/www/htdocs/oemr/demo/openemr/library/auth.inc on line 7
[Fri Jun 10 16:13:07 2005] [error] PHP Notice: Undefined index: auth in /var/www/htdocs/oemr/demo/openemr/library/auth.inc on line 19
[Fri Jun 10 16:13:07 2005] [error] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/htdocs/oemr/demo/openemr/library/freeb/xmlrpcs.inc on line 497
[Fri Jun 10 16:13:07 2005] [error] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/htdocs/oemr/demo/openemr/library/freeb/xmlrpcs.inc on line 500
[Fri Jun 10 16:13:07 2005] [error] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/htdocs/oemr/demo/openemr/library/freeb/xmlrpcs.inc on line 537