Getting dumped back to the log in screen

physmed wrote on Wednesday, September 27, 2006:

Has anyone else had trouble with openemr suddenly just dumping you back to the log in screen while you are trying to work with the program?  I ahve had it happen to me several times over the last few weeks with all of the machines that I have been testing it on.  I am running it under xampp 1.4.16 and have used 2.8.2-dev.  I have gotten this undocumented feature when I have used Firefox and IE6 and it is quite annoying.

andres_paglayan wrote on Wednesday, September 27, 2006:

might be,
I had a problem with the linux garbage collector taking away session info that was placed on the /tmp folder, therefore,  losing session data,
try changing php tmp folder away from /tmp (good idea anyway)
or change garbage collector settings

anonymous wrote on Thursday, March 18, 2010:

Hi I am also having same problem! how do i change php tmp folder? can i just rename it? or how to change garbage collector settings?

bradymiller wrote on Friday, March 19, 2010:

hey,

Wouldn’t worry about the tmp folder issue or garbage collector stuff (that was in 2006, haven’t heard of this being an issue in last several years).

Ensure your php configuration file (php.ini) has following settings:
http://www.openmedsoftware.org/wiki/FAQ#What_are_the_correct_PHP_settings_.28can_be_found_in_the_php.ini_file.29_.3F
(if you modify the php.ini file, ensure you restart the apache server)

If still having problems, then give us the OpenEMR version, package (ie. source vs. XAMPP package vs. ubuntu package vs. appliance), and your operating system.

-brady

anonymous wrote on Friday, March 19, 2010:

Hey Brady! thanks for reply! here is what my php ini has

short_open_tag = On
register_globals = Off
display_errors = Off
magic_quotes_gpc = On
;max_execution_time = 300
max_input_time = 3660
memory_limit = 128M
file_uploads = On
upload_max_filesize = 30M
session.gc_maxlifetime = 3660
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT 

I am running it on mediatemple server online…here is hosting package specs http://mediatemple.net/webhosting/gs/faq.php

I get kicked out every 2 mins or so….www.reliantemr.com/demo
Dhaval

bradymiller wrote on Saturday, March 20, 2010:

hey,
Why have you commented out max_execution_time?
Change your settings to what is here (also, uncomment max_execution_time) :
http://www.openmedsoftware.org/wiki/FAQ#What_are_the_correct_PHP_settings_.28can_be_found_in_the_php.ini_file.29_.3F
Then restart your apache server
Then see if it works
-brady

anonymous wrote on Saturday, March 20, 2010:

Thanks Brady,
I had actually tried to increase the max_execution_time as I was getting page time out etc along with the session time out… I replaced the settings of php ini and also followed http://kb.mediatemple.net/questions/235/%28gs%29+PHP+Sessions+do+not+work+as+expected and it seems to work for now. I am on shared host so it wont let me restart the apache web server… it seems to work for now.  thanks again for the help:)
Dhaval