OpenEMR V3.1.0

sjameel wrote on Monday, September 07, 2009:

I just installed the OpenEMR Version 3.1.0 in my computer (Windows XP). 
XAMPP is  1.7.2 version
Everything went fine. 
When I open the openemr to login,   it opens fine and I can log in fine , but I get lots of deprecated messages.

Messages:
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\pnadodb\adodb.inc.php on line 3211

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\pnadodb\adodb.inc.php on line 3248

Deprecated: Function session_register() is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\includes\pnSession.php on line 158

Deprecated: Function session_register() is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\includes\pnSession.php on line 158

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuser.php on line 145

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuser.php on line 192

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuser.php on line 202

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuser.php on line 272

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuser.php on line 314

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuser.php on line 793

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuser.php on line 845

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuser.php on line 943

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuserapi.php on line 159

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\pnuserapi.php on line 553

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\common.api.php on line 937

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\common.api.php on line 940

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\openemr\interface\main\calendar\modules\PostCalendar\common.api.php on line 1578

Please help me to fix these.

anonymous wrote on Monday, September 07, 2009:

You have to set the $web_root within the interface\globals.php file as the full working directory (ie C:/xampp/htdocs/openemr)

Also, make sure that you performed the necessary changes to the php.ini file.

sjameel wrote on Monday, September 07, 2009:

In the globals.php, there are TWO settings.

WEBSERVER_ROOT and WEB_ROOT.

WEBSERVER_ROOT, I have is C:/xampp/htdocs/openemr
WEB_ROOT, I have is /openemr

Now, when I change the WEB_ROOT to C:/xampp/htdocs/openemr, and then open the logib page, I get a BLANK page.  When I set it back to /openemr and open the login page, I get the login page.

About the php.ini, what changes do I need to do there?

Please help.

anonymous wrote on Monday, September 07, 2009:

the globals.php should be as follows:

$webserver_root = "C:/xampp/htdocs/openemr";
$web_root = "/openemr";

The changes needed to /xampp/php/php.ini are as follows:
"short_open_tag = On"
"display_errors = Off"
"register_globals = Off"
"magic_quotes_gpc = On"
"max_execution_time" set to at least 60,
"max_input_time" set to at least 90
"memory_limit" set to at least "128M"

Alternatively you can download our OpenEMR Server made by EHR LIve that will do all of that as a self-installer.  You can download from:  http://www.ehrlive.com/download/openemr/310/generic/OpenEMR Server 3.1.0.exe

If you do the self installer make sure to uninstall the current xampp program by first uninstalling the apache and mysql services and then deleting the xampp directory.  Otherwise the self-installer won’t run.

drbowen wrote on Monday, September 07, 2009:

In your original message above, the php.ini settings are allowing too much reporting.  PHP tends to report a lot of messages which are useful for debugging but a real pain during normal operation.  Check your settings under

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

error_reporting  =  E_ALL & ~E_NOTICE
display_errors = Off

Usually this error_reporting is what is causing this.

Sam Bowen, MD

sjameel wrote on Monday, September 07, 2009:

I made the recomended changes to the php.ini

Still the same problem.

Nobody else had this issue ?

anonymous wrote on Monday, September 07, 2009:

After the changes are made to php.ini try restarting apache.  If you don’t know how to do that just restart the machine.

sjameel wrote on Monday, September 07, 2009:

Here is what I have.

Display Errors = OFF
Error Reporting
Default = E_ALL & ~E_NOTICE
Development = E_ALL | E_STRICT
PRODUCTION_VALUE = E_ALL & ~E_DEPRECATED

sjameel wrote on Monday, September 07, 2009:

I changed the Production value from ~E_DEPRECATED to ~E_NOTICE and now these messages are gone.

Thanks for the help.