xiaoanri wrote on Sunday, March 09, 2008:
system: windoows xp professional sp2
Xampp 1.4.16, installed to default, C:\Program Files,
with apache and mysql running.
extracted openemr2.8.3, put to xammp\htdocs.
then I did the editing in C:\Program
Files\xampp\htdocs\openemr\interface\globals.php
$webserver_root = "C:\Program
Files\xampp\htdocs\openemr";
$web_root = "\openemr";
then I did the setup at /localhost. last screen in setup:
Congratulations! OpenEMR is now successfully
installed.
* Please Edit the ‘interface/globals.php’ file now
to specify the correct URL paths, and to select a
theme.
* Please make sure that the two folders underneath
‘openemrwebroot/interface/main/calendar/modules/PostCalendar/pntemplates/’
exist and are writable by the web server. The two
subdirectories are ‘compiled’ and ‘cache’.
Try “chown apache:apache -R
openemrwebroot/interface/main/calendar/modules/PostCalendar/pntemplates/compiled”
and “chown apache:apache -R
openemrwebroot/interface/main/calendar/modules/PostCalendar/pntemplates/cache”.
(If either subdirectory doesn’t exist, create it first
then do the chown above).
The user name and group of apache may differ
depending on your OS, i.e. for Debian they are
www-data and www-data.
In order to take full advantage of the documents
capability you must give your web server permissions
on the document storage directory. Try “chown
apache:apache -R openemrwebroot/documents” and then
“chmod g+w openemrwebroot/documents”. You must also
make sure your PHP installation (normally set in your
php.ini file) has “file_uploads enabled”, that
“upload_max_filesize” is appropriate for your use and
that “upload_tmp_dir” is set to a correct value if the
default of “/tmp” won’t work on your system.
There’s much information and many extra tools bundled
within the OpenEMR installation directory. Please
refer to openemr/Documentation.
Many forms and other useful scripts can be found at
openemr/contrib.
OpenEMR now comes with optional GACL support, a fine
grained access control system. Please refer to
openemr/Documentation/README.phpgacl for -easy-
installation.
Reading openemr/includes/config.php and
openemr/interface/globals.php is a good idea.
To ensure a consistent look and feel through out the
application using Firefox is recommended.
The initial OpenEMR user is "admin" and the password
is "pass". You should change this password!
Click here to start using OpenEMR.
Not sure about the details of the msg, I just tried to
start using openemr, error msg:
Warning: main(C:\Program Files
mpp\htdocs\openemr/library/classes/Filtreatment_class.php):
failed to open stream: Invalid argument in C:\Program
Files\xampp\htdocs\openemr\interface\login\login_frame.php
on line 4
Warning: main(): Failed opening ‘C:\Program Files
mpp\htdocs\openemr/library/classes/Filtreatment_class.php’
for inclusion (include_path=’.;C:\Program
Files\xampp\php\pear’) in C:\Program
Files\xampp\htdocs\openemr\interface\login\login_frame.php
on line 4
Fatal error: Cannot instantiate non-existent class:
filtreatment in C:\Program
Files\xampp\htdocs\openemr\interface\login\login_frame.php
on line 12
Then I searched sourceforge forum, found somebody
solved the problm by swithing form PHP4 to PHP5. I
tried that, now the errow msg says:
Warning: main(C:\Program Files
mpp\htdocs\openemr/library/classes/Filtreatment_class.php)
[function.main]: failed to open stream: Invalid
argument in C:\Program
Files\xampp\htdocs\openemr\interface\login\login_frame.php
on line 4
Warning: main() [function.include]: Failed opening
‘C:\Program Files
mpp\htdocs\openemr/library/classes/Filtreatment_class.php’
for inclusion (include_path=’.;C:\Program
Files\xampp\php\pear’) in C:\Program
Files\xampp\htdocs\openemr\interface\login\login_frame.php
on line 4
Fatal error: Class ‘Filtreatment’ not found in
C:\Program
Files\xampp\htdocs\openemr\interface\login\login_frame.php
on line 12
Can anybody help me with this? Thank you!