Thanks Rod.
That took care of that issue and brought up another:
Fatal error: Cannot redeclare sqlconnect() (previously declared in C:\xampp\htdocs\openemr\library\sql.inc:24) in C:\Xampp\htdocs\openemr\library\sql.inc on line 24
I’ve made sure all is up and running and setup does see the SQL server. Is there a list of the latest error codes and/or troubleshooting proceedures available for d/l somewhere?
I’m no programmer so all this is a learning experience for me.
That’s a rather odd error, as it indicates sql.inc was included twice – whereas the pervasive use of include_once and require_once should be preventing that. Not to mention that I did do an install under Win XP with XAMPP recently and did not see that error.
In order:
on Win 2003R2 Enterprise
installed latest Xampp successfully
switched to php4
changed timeout in php.ini to 120 seconds
went through OEMR setup successfully
clicked link to start OEMR
get banner page with this error:
Fatal error: Cannot redeclare sqlconnect() (previously declared in C:\xampp\htdocs\openemr\library\sql.inc:24) in C:\Xampp\htdocs\openemr\library\sql.inc on line 24
Reinstalled XAMPP 1.6.4
completed OEMR successfully using PHP 5
Now receiving these errors when I "click here to start OEMR".:
Warning: include_once(C: mpp\htdocs\openemr/library/classes/Filtreatment_class.php) [function.include-once]: failed to open stream: Invalid argument in C:\Program Files\xampp\htdocs\openemr\interface\login\login_frame.php on line 4
Warning: include_once() [function.include]: Failed opening ‘C: 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
I also noticed that SQL service would be killed AFTER trying to start OEMR.
Looks like you have a typo in the $webserver_root parameter of globals.php. Backslashes in strings need to be doubled, but it’s easier to use forward slashes, like this:
$webserver_root = "c:/xampp/htdocs/openemr";
By the way you didn’t need to reinstall everything – just switching back to php5 should have been enough.
just a guess,
seems that the include_once is being fooled by the capital at Xamp for one include and the lowercase for the other,
so, find out what you have in the conf files and make it consistent with the presence or absence of caps under your real path,