Installing problem....please HELP!

narro wrote on Wednesday, July 05, 2006:

Hi,

I am new here. BTW congratulations !, OpenEMR is a great software ! (from what I could see just from the demo)

I have run the setup.php and when I finally get the "Congratulations! OpenEMR is now successfully installed." and turn into the login page "http://www.mella.cl/openemr/interface/login/login_frame.php" I receive this error:

--------------------
Warning: main(): open_basedir restriction in effect. File(/public_html/openemr/library/sql.inc) is not within the allowed path(s): (/home/nmella/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/nmella/public_html/openemr/library/translation.inc.php on line 2

Warning: main(/public_html/openemr/library/sql.inc): failed to open stream: Operation not permitted in /home/nmella/public_html/openemr/library/translation.inc.php on line 2

Warning: main(): Failed opening ‘/public_html/openemr/library/sql.inc’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/nmella/public_html/openemr/library/translation.inc.php on line 2

--------------------

Don´t know what might be wrong. Any idea ?

Thanks for your help.

Nicolas

andres_paglayan wrote on Wednesday, July 05, 2006:

we’ll need to know more about your install
os, lamp pack,
and the http server configuration for mella.cl site
it looks like the paths are not well defined,

drbowen wrote on Wednesday, July 05, 2006:

Dear  Narro,

This line looks mangled:

Warning: main(): open_basedir restriction in effect. File(/public_html/openemr/library/sql.inc) is not within the allowed path(s): (/home/nmella/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/nmella/public_html/openemr/library/translation.inc.php on line 2

On face value it looks as if your server setup is not permitting the path:

/home/nmella/public_html/openemr/

Did you set this up with an alias in Apache?

It is hard to answer this type of question without knowing:

OS of the server
MySQL version
Apache version
PHP version
OpenEMR version.

I follow this forum daily so its not really necessary to cross post.

Sam Bowen

drbowen wrote on Friday, July 14, 2006:

Dear Nicolas,

Did you try using the path:

/srv/www/htdocs

To see if this will solve your problem?