Help! I think I goofed!?

toddgo wrote on Wednesday, November 16, 2005:

I had no problems installing openemr.  But I think since I am really new at this I may not have set the permissions or paths right.  When I point to the installation on my site I see the masthead with the following errors:

Warning: main(/70.85.144.194/home/tago/public_html/openemr/library/md5.js): failed to open stream: No such file or directory in /home/tago/public_html/openemr/interface/login/login.php on line 4

Warning: main(): Failed opening ‘/70.85.144.194/home/tago/public_html/openemr/library/md5.js’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/tago/public_html/openemr/interface/login/login.php on line 4

Warning: main(/70.85.144.194/home/tago/public_html/openemr/library/sql.inc): failed to open stream: No such file or directory in /home/tago/public_html/openemr/interface/login/login.php on line 5

Warning: main(): Failed opening ‘/70.85.144.194/home/tago/public_html/openemr/library/sql.inc’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/tago/public_html/openemr/interface/login/login.php on line 5

Fatal error: Call to undefined function: sqlstatement() in /home/tago/public_html/openemr/interface/login/login.php on line 20

Anybody have suggestions?

drbowen wrote on Wednesday, November 16, 2005:

Dear toddgo,

This message is suspicious for a PHP mismatch.  We are currently using PHP4.

Have you started with or changed to PHP 5?

If so, for now you we need to to revert to PHP 4 for now.

What OS are you using?

Sam Bowen

esears1 wrote on Wednesday, November 16, 2005:

Also, make sure you are not running mysql 5.0  This needs special connect parameters from php4 in order to connect to it properly.

----

Edward

toddgo wrote on Friday, November 18, 2005:

The PHP version is 4.3.11
MySQL version is 4.0.25

sunsetsystems wrote on Friday, November 18, 2005:

Looks like $webserver_root is not correct in globals.php.  This should be an absolute directory path, not a web address.

– Rod
http://www.sunsetsystems.com/