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
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
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?
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.
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?
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.
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.
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
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)