I have been following DrBowen list and got farther than I had on my own. I am running Windows SBS 2003 and have loaded the most current version of OEMR. Apache and MySQL are running. These are the messages that I get and I can’t seem to figure out the source of the issue. I have changed the Global.PHP to set the webroot to c:\xampp\htdocs\openemr and I have given Everyone rights to the two folders compiled and cache under C:\xampp\htdocs\OpenEMR\interface\main\calendar\modules\PostCalendar\pntemplates. If you have any suggestions - they would be appreciated.
Warning: main(C: mpp\htdocs\openemr/library/classes/Filtreatment_class.php) [function.main]: failed to open stream: Invalid argument in C:\xampp\htdocs\OpenEMR\interface\login\login_frame.php on line 4
Warning: main() [function.include]: Failed opening ‘C: mpp\htdocs\openemr/library/classes/Filtreatment_class.php’ for inclusion (include_path=’.;C:\xampp\php\pear’) in C:\xampp\htdocs\OpenEMR\interface\login\login_frame.php on line 4
Fatal error: Cannot instantiate non-existent class: filtreatment in C:\xampp\htdocs\OpenEMR\interface\login\login_frame.php on line 12
Line #8 -
the require_once (dirname(__File__) . "C:\xampp\htdocs\OpenEMR\includes\config.php"
Line #14 -
$webserver_root = "C:\xampp\htdocs\OpenEMR";
In an attempt to solve I also set
$web_root = "c:\xampp\htdocs\openemr";
I now get the following error on line 36
Warning: main(C:\xampp\htdocs\OpenEMR\interfaceC: mpp\htdocs\OpenEMR\includes\config.php) [function.main]: failed to open stream: Invalid argument in C:\xampp\htdocs\OpenEMR\interface\globals.php on line 36
Line 36 - is
$GLOBALS[‘webroot’] = $web_root;
Thanks for the response.
Fatal error: main() [function.require]: Failed opening required ‘C:\xampp\htdocs\OpenEMR\interfaceC: mpp\htdocs\OpenEMR\includes\config.php’ (include_path=’.;C:\xampp\php\pear’) in C:\xampp\htdocs\OpenEMR\interface\globals.php on line 36
o.k. - I have it running and this is what I had to do to fix my problem.
I made sure the settings for $webserver_root = "C:\xampp\htdocs\OpenEMR"; and
$web_root = "\openemr"; I tried to run and it was still giving me the error.
So then I thought it was possibly Windows Server SBS 2003 so I installed it on a new PC with XP. Same issue. Then I realized that I was using older instructions.
After stopping Apache - I reran the ApacheFriends - PHP Switch program and changed it back to "5". (I had been changing it to "4" from the older instructions). This fixed the problem. The login screen appeared on both PC setups. So I am back to the server setup for now. Thanks for your help and the logs to look at for problems.