Undefined Variable and Index php errors

michaelf5 wrote on Friday, December 17, 2010:

Did a fresh install of OpenEMR from github on an ubuntu 10.10 system with php 5.3.3.
Received the “has been deprecated” message for many variables.  This was found to be related to php 5.3.3.
Switched to php5.2.10 which cleared the “has been deprecated messages”.

php.ini settings were set to this

Now “Undefined variable” and “Undefined index” errors appear at two minute intervals.

Example Error: 
   PHP Notice:  Undefined variable: sanitize_all_escapes in /var/www/openemr-git/interface/globals.php on line 56, referer: http://client/openemr-git/interface/main/main_screen.php?auth=login&site=default
   PHP Notice:  Undefined index:  enable_auditlog in /var/www/openemr-git/library/log.inc on line 484, referer: http://client/openemrDev-git/interface/main/main_screen.php?auth=login&site=default

Any suggestions?

visolveemr wrote on Saturday, December 18, 2010:

Hi,

These are only warnings and not errors. Php basically ignores this warnings
and these warnings  will not affect the working of openemr.
The fix for the undefined index: enable_auditlog issue is given in the patch
http://sourceforge.net/tracker/?func=detail&aid=3089749&group_id=60081&atid=1245239
and the patch is committed to the cvs.

Hope this helps.

Thanks
ViCarePlus Team,
www.vicareplus.com
services@vicareplus.com