Fatal error

a_wiel wrote on Sunday, January 15, 2006:

Hi,
Just installed OpenEMR on RedHat9, I can log in as admin but can get the calendar to display.
I get the error : Fatal error: Call to undefined function: mysql_real_escape_string() in /var/www/html/openemr/library/calendar.inc on line 44

If i log in with a user who is not authorize i get the error: Fatal error: Call to undefined function: mysql_real_escape_string() in /var/www/html/openemr/library/patient.inc on line 84

Configuration: MySQL 3.23.58 /PHP 4.2.2 /Apache 2.0.40

Can someone point me in the right direction?

sunsetsystems wrote on Sunday, January 15, 2006:

Red Hat 9 is too old, I don’t think it even gets security updates any more.  mysql_real_escape_string() was introduced with PHP 4.3.0.

– Rod
www.sunsetsystems.com