Install in directory

merse99 wrote on Saturday, May 02, 2009:

I’ve installed openemr in a directory an am getting an error for global.php on line 39.

This is my path
/home/site/public_html/openemr

What needs to be changed in the globals.php?

require_once("$webserver_root/openemr/app.vars.php");

What needs to be changed in the config file?

$web_root = "/public_html/openemr"; I tried this. 

$webserver_root = "/wamp/www".$web_root;

Thanks

bradymiller wrote on Saturday, May 02, 2009:

hey,
in openemr/interface/globals.php :
$webserver_root = "/home/site/public_html/openemr";

If above doesn’t work, let me know your operating system and openemr version

-brady

merse99 wrote on Saturday, May 02, 2009:

Operating system is Linux
openemr version is 3.3.8

I changed line 39 to as follows

require_once($webserver_root = "/home/site/public_html/openemr");

These are the errors

Warning: main(/home/site/public_html/openemr) [function.main]: failed to open stream: No such file or directory in /home/site/public_html/openemr/interface/globals.php on line 39

Fatal error: main() [function.require]: Failed opening required ‘/home/site/public_html/openemr’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/site/public_html/openemr/interface/globals.php on line 39

aperezcrespo wrote on Saturday, May 02, 2009:

Hi
  That off the OpenEMR.Net (walts pennington) site.  Did you look in their forums? http://www.openemr.net/jforum/forums/list.page.

Also verify your webservers permissions to that directory.

merse99 wrote on Saturday, May 02, 2009:

Yes I downloaded from that site.  Is there a differerence in where it is downloaded from?  The forums there are not that active. 

merse99 wrote on Saturday, May 02, 2009:

I downloaded 3.0.0.1 and it installed with no problem.  Thanks all. 

drbowen wrote on Saturday, May 02, 2009:

Unfortunately, Possibility Forge maintains a completely different project that is not associated with this project. The 3.3.8 has been there since uh… maybe fall of 2006.

Sam Bowen, MD