markthepharaoh wrote on Thursday, April 02, 2015:
Hello all,
I upgraded from 4.1.2(7) to 4.2.0(1) and I got the following error/ warning / any idea how to fix this or it happen?
Thanks,Mark
markthepharaoh wrote on Thursday, April 02, 2015:
Hello all,
I upgraded from 4.1.2(7) to 4.2.0(1) and I got the following error/ warning / any idea how to fix this or it happen?
Thanks,Mark
teryhill wrote on Thursday, April 02, 2015:
Look at the php error log. It will give more clues. I have seen the error in the log file buy not on the screen.
Terry
fsgl wrote on Thursday, April 02, 2015:
Also try this.
markthepharaoh wrote on Saturday, June 06, 2015:
Hello everyone,
I have upgraded to 4.2(3) and I have done all the recommendation above:
I getting the same warning in the demographic as shown below, I turned the warning off, is their any ramification, future problem, is this a normal error?
I posted the error, the php error log, the xampp and php that I am currently running. I appreciate any help. thanks.
Mark
“Warning: Missing argument 3 for optionalAge(), called in C:\xampp\htdocs\openemr\library\options.inc.php”
php error log
[05-Jun-2015 20:50:13 America/New_York] PHP Warning: Missing argument 3 for optionalAge(), called in C:\xampp\htdocs\openemr\library\options.inc.php on line 1665 and defined in C:\xampp\htdocs\openemr\library\options.inc.php on line 57
XAMPP
1.8.2
[PHP: 5.4.31]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP’s initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP’s behavior.
short_open_tag = On
max_execution_time = 120
;max_execution_time = 60 verified
;max_input_time = 600 unused
max_input_time = 90
memory_limit = 512M
display_errors = On
log_errors = On
register_globals = Off
post_max_size = 64M
; file_uploads = On
upload_max_filesize = 30M
; error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
display_errors = Off
max_input_vars = 3000
session.gc_maxlifetime = 14400
;register_argc_argv = On NOT SURE
;post_max_size = 32M NOT SURE
fsgl wrote on Saturday, June 06, 2015:
The missing argument warning should not appear in DOB.
Don’t know the reason. Guess is that something become corrupted.
Lines 57 & 1665 should look like attached. If not, correct the snippets.
If warning persists, suggest reinstall of the 4.2.0 XAMPP-OpenEMR Package.
bradymiller wrote on Monday, June 08, 2015:
Hi,
This is just a warning and can be ignored. It should only be going to the php error log and not the screen (since display_errors is off). If it’s still going to screen, then restart apache.
-brady
OpenEMR
markthepharaoh wrote on Tuesday, June 09, 2015:
Thank you Brady!
Mark
On Monday, June 8, 2015 12:16 AM, Brady Miller <bradymiller@users.sf.net> wrote:
Hi,This is just a warning and can be ignored. It should only be going to the php error log and not the screen (since display_errors is off). If it’s still going to screen, then restart apache.-brady
OpenEMRError this error in the DemographicSent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openemr/discussion/202505/To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/