Latest cvs windows xp install issue

anojgoel wrote on Sunday, February 08, 2009:

i get this error when i open the login window after running thru the setup script

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\openemr\library\translation.inc.php:189) in C:\xampp\htdocs\openemr\interface\globals.php on line 94

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\openemr\library\translation.inc.php:189) in C:\xampp\htdocs\openemr\interface\globals.php on line 94

any suggestions?

anojgoel wrote on Saturday, February 14, 2009:

i am still getting this error even with the new setup routine posted in CVS

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\openemr\library\translation.inc.php:189) in C:\xampp\htdocs\openemr\interface\globals.php on line 94

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\openemr\library\translation.inc.php:189) in C:\xampp\htdocs\openemr\interface\globals.php on line 94

any ideas?

thanks

cfapress wrote on Tuesday, February 17, 2009:

Hi Anoj,

I had hoped somebody with Windows install experience would just in here. But I’ll take a stab in the dark.

The error might be coming from a setting in your php.ini file. Look for a line like this:
memory_limit = 64M

I have my limit set to 64M and haven’t run into trouble. Others have the limit much lower and encounter odd behaviour. Also, which version of PHP are you using?

Jason

drbowen wrote on Tuesday, February 17, 2009:

Insufficient memory usually causes a blank white page.

In the php.ini you should make sure that your error reporting is only for fatal errors and not just warnings.  Warnings occur a lot and should not processing.

error_reporting  =  E_ALL & ~E_NOTICE

It may also help to:

display_errors = Off

This also occurs a lot if you are running PHP4 instead of PHP5.

Sam Bowen, MD

anojgoel wrote on Wednesday, February 18, 2009:

thanks for the suggestions

the memory is at 64M. i can increase it further to see if it helps.
i am on php5
i will turn the error reporting and display error to "off". where do i find these settings?

please read some info about cookie handling. could this be causing problems in my install.
http://aranea.zuavra.net/index.php/80/#ig-11

anoj

bradymiller wrote on Wednesday, February 18, 2009:

hey,

Still not working with current CVS?

The php.ini file (i thinks it’s in the bin directory of XAMPP) contains the ‘log_errors’ and ‘display_errors’ settings.  I’d turn off the ‘display_errors’ settings, and turn on the ‘log_errors’ (this will log detailed errors to C:\xampp\apache\logs\phperror.log file).  This log file should be helpful in figuring out the real source of your error. Also, remember to restart apache after making changes to the php.ini file.

Error log files are your best friend.

-brady

cfapress wrote on Wednesday, February 18, 2009:

Here’s a suggestion I found after a little Googling.

Open up your globals.php file and be certain there are no spaces, blanks, or other characters before the opening ‘<?php’ at the top of the file and after the closing ‘?>’ at the end of the file. The extra spaces, blank lines, and other characters might be interfering with the session_start() function.

Jason

anojgoel wrote on Thursday, February 19, 2009:

hi jason

i think it might be related to magic_quotes being "on". this is default when xampp is installed.

i installed the latest release and followed the directions with no issues during install.

thanks for looking out.

anoj.

bradymiller wrote on Thursday, February 19, 2009:

hey,
This error is related to tortoise.

If I collect cvs version through linux, and then send over to windows then it works fine (this is likely why the rc1 version worked fine for you anoj).

However, if i get cvs version through tortoise, then I get your above error also when go to login screen. Here’s error log:
[Thu Feb 19 02:23:30 2009] [error] [client 127.0.0.1] PHP Warning:  session_start() [<a href=‘function.session-start’>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at C:\\xampp\\htdocs\\openemr\\library\\translation.inc.php:189) in C:\\xampp\\htdocs\\openemr\\interface\\globals.php on line 94, referer: http://localhost/openemr/
[Thu Feb 19 02:23:30 2009] [error] [client 127.0.0.1] PHP Warning:  session_start() [<a href=‘function.session-start’>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at C:\\xampp\\htdocs\\openemr\\library\\translation.inc.php:189) in C:\\xampp\\htdocs\\openemr\\interface\\globals.php on line 94, referer: http://localhost/openemr/
[Thu Feb 19 02:23:30 2009] [error] [client 127.0.0.1] PHP Warning:  session_start() [<a href=‘function.session-start’>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at C:\\xampp\\htdocs\\openemr\\library\\translation.inc.php:189) in C:\\xampp\\htdocs\\openemr\\interface\\globals.php on line 94, referer: http://localhost/openemr/interface/login/login_frame.php
[Thu Feb 19 02:23:30 2009] [error] [client 127.0.0.1] PHP Warning:  session_start() [<a href=‘function.session-start’>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at C:\\xampp\\htdocs\\openemr\\library\\translation.inc.php:189) in C:\\xampp\\htdocs\\openemr\\interface\\globals.php on line 94, referer: http://localhost/openemr/interface/login/login_frame.php

The paths in interface/globals.php are fine.

-Brady

bradymiller wrote on Friday, February 20, 2009:

hey,

Does anybody have any ideas why tortoise CVS openemr version would cause the errors in my message above on XP? (no errors when use CVS openemr from linux CVS on XP)

-Brady