innocuous wrote on Friday, September 16, 2005:
Hi,
I am trying to install openemr (latest version) on shared linux hosting server. I have uploaded the files and successfully gone through the setup process. The db has ben created and the setup goes fine. However when I click to login in the final setup screen, it redirects to the login page but I get this error:
-------------
Warning: main(): open_basedir restriction in effect. File(/var/www/html/openemr/library/md5.js) is not within the allowed path(s): (/home/powertec/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/powertec/public_html/openemr/interface/login/login.php on line 4
Warning: main(/var/www/html/openemr/library/md5.js): failed to open stream: Operation not permitted in /home/powertec/public_html/openemr/interface/login/login.php on line 4
Warning: main(): Failed opening ‘/var/www/html/openemr/library/md5.js’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/powertec/public_html/openemr/interface/login/login.php on line 4
Warning: main(): open_basedir restriction in effect. File(/var/www/html/openemr/library/sql.inc) is not within the allowed path(s): (/home/powertec/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/powertec/public_html/openemr/interface/login/login.php on line 5
Warning: main(/var/www/html/openemr/library/sql.inc): failed to open stream: Operation not permitted in /home/powertec/public_html/openemr/interface/login/login.php on line 5
Warning: main(): Failed opening ‘/var/www/html/openemr/library/sql.inc’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/powertec/public_html/openemr/interface/login/login.php on line 5
Fatal error: Call to undefined function: sqlstatement() in /home/powertec/public_html/openemr/interface/login/login.php on line 20
-----------------
There is no login box or anything else displayed.
How do I fix this?
Thanks