Installation Problems

trumpetplayer44 wrote on Monday, April 17, 2006:

I just downloaded OpenEMR and have been trying to install it. The directions say to enter http://localhost/openemr/setup.php into the web browser. Only problem is when I do this it just loads a blank page. What am I doing wrong? By the way, I realize the http line has to be changed to read your own local directory which is different. So other than that any help would be appreciated.

s315 wrote on Monday, April 17, 2006:

I’m using PHP5 (on Gentoo) and get an error:

Fatal error: Class ADODB_Iterator contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Iterator::valid) in /var/www/localhost/htdocs/openemr/library/adodb/adodb-iterator.inc.php on line 47

I think it has something to do with php5 anybody knows when it’ll be fixed ?

#Joseph

drbowen wrote on Tuesday, April 18, 2006:

You have to go back to PHP 4 or you will be beating your head to against the wall.

A totally blank page is usually because of a PHP problem.  The Apache has to be able to recognized the .php extension. This setting is in the apache httpd.conf file.

Inadequate maximum allowed memory in php.ini can also cause this.

Sam Bowen

trumpetplayer44 wrote on Wednesday, April 19, 2006:

Ok I switched back to PHP 4.4.2 and successfully installed (after screwing around with the various time limits that were being imposed). I changed the $web_root so that part is now working. But now I get these errors.

Notice: Undefined variable: special_timeout in C:\Program Files\Apache Group\Apache2\htdocs\openemr\interface\globals.php on line 80

Notice: Undefined variable: backpic in C:\Program Files\Apache Group\Apache2\htdocs\openemr\interface\globals.php on line 104

Notice: Undefined index: encounter in C:\Program Files\Apache Group\Apache2\htdocs\openemr\interface\globals.php on line 152

Notice: Undefined index: pid in C:\Program Files\Apache Group\Apache2\htdocs\openemr\interface\globals.php on line 160

Notice: Undefined index: userauthorized in C:\Program Files\Apache Group\Apache2\htdocs\openemr\interface\globals.php on line 161

Notice: Undefined index: authProvider in C:\Program Files\Apache Group\Apache2\htdocs\openemr\interface\globals.php on line 162

Notice: Use of undefined constant LANGUAGE - assumed ‘LANGUAGE’ in C:\Program Files\Apache Group\Apache2\htdocs\openemr\interface\globals.php on line 175

Notice: Constant ADODB_FETCH_ASSOC already defined in C:\Program Files\Apache Group\Apache2\htdocs\openemr\library\sql.inc on line 6

I know I’m supposed to format them I just don’t know what to format them to or really how to do it. I have very little experience with PHP. By the way I’m running version 2.8.1

mercoat wrote on Monday, June 12, 2006:

I  have the same problem. But instead of "C:\Program Files\Apache Group\Apache2\htdocs\openemr\interface\globals.php" I get "C:\Program Files\easyphp1-7\www\openemr\interface\globals.php"  because I use EasyPhp. The version of Open EMR is 2.8.1. Can someone please help get out of this problem.

sunsetsystems wrote on Monday, June 12, 2006:

I believe these are just warning messages indicating that OpenEMR needs some code cleanup.  You can avoid seeing them by editing your php.ini and changing the error_reporting line to:

error_reporting = E_ALL & ~E_NOTICE

– Rod
www.sunsetsystems.com

andres_paglayan wrote on Monday, June 12, 2006:

tweak php.ini so messages don’t go to the screen,
keep loging messages to a file though,

mercoat wrote on Thursday, June 15, 2006:

Thanks Rod and Andres; it worked great!