Anyone else have the problem where if you change the openemr_name or session_name variables then you can’t log into the system anymore? It says you should change these if you have more than one OpenEMR install on the same server, but if you change the text strings, then when you log in it starts to display the calendar, then immediately kicks you back out to a login prompt. Is there some other value somewhere that has to be changed for this to work properly?
I’m using v 3.0.1 from the current stable release tarball on SourceForge, I’ve been able to replicate it on a couple of different systems now.
in globals.php, I changed
session_name("OpenEMR"); to session_name("OpenEMR v3.0.1")
$openemr_name = ‘OpenEMR’; to $openemr_name=‘OpenEMR V3’;
this was to try to differentiate it from an older install of OpenEMR 2.9 that still resides on the server & can’t yet be removed until we’re done testing some things in v3.0.1
will try to post some stuff from php error logs if I can find anything relevant in there.
check out this link regarding use of session_name, looks like only alphanumeric characters are tolerated (also need at least one letter for some reason) : http://us3.php.net/session_name
Yup, thanks Brady! I think it hit both of us at the same time, it doesn’t like spaces or punctuation, take those out & it’s fine, so not really a problem, just something for folks to watch out for if they’re running multiple installs/different names.