Errors and Warnings

bapajan wrote on Friday, December 08, 2006:

Hi,

I have been able to install successfully openemr 2.8.1 under windows xp. My configuration list (5) is given below for your reference. The objective of my test and evaluation is to recommend the same for practicioners and also possible integration with HIS. I am getting these errors & warnings after logging into the openemr site (Sorry for the long post). I would be grateful for any help in this regard.

1. After logging in i get this warning
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in c:\program files\easyphp\www\openemr-2.8.1\interface\main\calendar\modules\PostCalendar\pnuserapi.php on line 1262

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in c:\program files\easyphp\www\openemr-2.8.1\interface\main\calendar\modules\PostCalendar\pnuserapi.php on line 1294

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in c:\program files\easyphp\www\openemr-2.8.1\interface\main\calendar\modules\PostCalendar\pnuserapi.php on line 1341

2. While adding new patients i get this error:
Fatal error: Cannot redeclare strterm()

(previously declared in c:\program

files\easyphp\www\openemr-2.8.1

\interface\globals.php:165) in

C:\Program

Files\EasyPHP\www\openemr-2.8.1

\interface\globals.php on line 165

3. I get this error after clicking on the option ‘Language’

ERROR: query failed: SELECT * FROM lang_definitions JOIN lang_constants ON lang_definitions.cons_id = lang_constants.cons_id WHERE lang_id=‘1’ AND constant_name = ‘Multi Language Tool’ LIMIT 1 (Table ‘openemr.lang_definitions’ doesn’t exist)

4. I get this error after clicking on the option ‘batchcom’

ERROR: query failed: SELECT * FROM lang_definitions JOIN lang_constants ON lang_definitions.cons_id = lang_constants.cons_id WHERE lang_id=‘1’ AND constant_name = ‘CSV File’ LIMIT 1 (Table ‘openemr.lang_definitions’ doesn’t exist)

5. My system configuration
Win XP
Apache 1.3.27
PHP 4.3.3
MySQL 4.0.15

Regards

nightwolf76 wrote on Friday, December 08, 2006:

bapajan,

I admire your courage in trying to get apache, php, and mysql to work correctly on Windows XP. Actually, I admire your courage in using Windows Xp itself as an operating system.

I have found that setting up php, apache, and Mysql seperatly and trying to get them to work together is kind of like getting div’s to work the same way on IE and Firefox…its close to impossible…and even if you did get it to work you would run into funy quirks here and there that although you may find info on, pretty much everyone has considered this a lost cause.

That is why XAMPP by apachefriends exists and is honestly why I have chosen to devote my time and enegy into development, because there is finally a stable solution to run a database server on a windows box without signing your first born child over to Microsoft. I have installed XAMPP with OpenEmr on a windows XP machine and used it for testing. It does work. Just uninstall your apache,PHP,and MYSQL, openEMR, and all traces of them from your machine and follow the post I put at:

https://sourceforge.net/forum/forum.php?thread_id=1613084&forum_id=202506

The steps will work for XP just ignore the stuff about the IIS server…
If you are unable to find that version of Xampp let me know and note that it wont work without that specific version.

Joe
jmayes@misfl.com

bapajan wrote on Tuesday, December 12, 2006:

Thank you Joe for the kind words and help in regard to my query. I went through the url as suggested in your post and will try setting up the system using XAMPP.

Regards