mc48910 wrote on Sunday, January 25, 2009:
Apache 2.2.1
PHP 5.2.8
MySQL 5.0.67-community
Linux 2.6.28
Got through the install process, set up the initial configuration, edited the server relative and absolute paths in the globals.php file, but get a sessions error.
//Begin Error Listing//
Warning: session_start() [function.session-start]: open(/tmp/sessions/sess_76236ff71f97b70c9c8152abda220341, O_RDWR) failed: No such file or directory (2) in /home/itrash/public_html/openemr/interface/globals.php on line 88
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/itrash/public_html/openemr/interface/globals.php:88) in /home/itrash/public_html/openemr/interface/globals.php on line 88
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/itrash/public_html/openemr/interface/globals.php:88) in /home/itrash/public_html/openemr/interface/globals.php on line 88
Warning: Unknown: open(/tmp/sessions/sess_76236ff71f97b70c9c8152abda220341, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/sessions) in Unknown on line 0
//End Error Listing//
//Begin Globals.php Partial Listing//
// Set this to the full absolute directory path for openemr:
$webserver_root = "/home/itrash/public_html/openemr";
// Set this to the relative html path, ie. what you would type into the web
// browser after the server address to get to OpenEMR. For example, if you
// type "http://127.0.0.1/clinic/openemr/" to load OpenEMR, set $web_root
// to "/clinic/openemr" without the trailing slash.
$web_root = "/openemr";
…
session_name("OpenEMR");
session_start();
//End Partial Globals.php Listing//
Should more than two variables have been assigned in the globals.php file? The server is a shared server, but at this point that should not matter. Only difference that made in the installation process was I had to manually create the database and user, such that all my info is prepended with my server name. What was a bit tricky is the instruction about the sessions folder and where that is supposed to be located in the document tree. Two locations were possible, the obvious /tmp as it preexisted, or within the /openemr tree, which did not exist. Anyway, I created the /tmp/sessions/ under the openemr tree, gave them 0755 permissions, so all should be good. So why the error. Site is http://www.internettrashcan.org/openemr