OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



login session problem (solved)

Are you a Director, Presenter, Reviewer or Conference Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael

Forum rules
This forum is meant for general questions about the usability of OCS from an everyday user's perspective: conference managers, presenters, and directors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OCS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OCS:

1. Read the documentation. We've written documentation to cover from OCS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OCS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OCS Technical Support subforum; if you have a development question, try the OCS Development subforum.

login session problem (solved)

Postby ckwu » Wed Jul 07, 2010 7:49 pm

Hi, folks,

I had encountered a login session problem that took me hours to debug. Hopefully, my experience helps some other guys using OCS.

I used to run an (OCS 2.1.1 + CK-ERP) demo and an (OJS 2.2.2 + CK-ERP) demo with the same shared webhosting agent. Lately, I was trying to upgrade the OCS demo to OCS 2.3.2 . After successfully deleting the old OCS demo and re-installing a new OCS 2.3.2, I am able to login with the initial administrator account. However, after one or two pages, the screen jump back to the Login screen asking me to supply username/password.

After this, I re-install OCS 2.3.2 on my own desktop machine, everything went fine. I logged into the OJS 2.2.2 that was hosted on the same remote machine that hosted the broken OCS 2.3.2 installation, everything went well too. So, presumably, my local machine's and the remote machine's webserver environment were not to be blamed.

Finally, I traced the whole thing to the session_check_ip setting within config.inc.php . Apparently, with the current stable releases, OCS 2.1.x and OJS 2.2.x, the default setting was, session_check_ip = Off ; but with the development version, OCS 2.3.x, the default setting was, session_check_ip = On.

I set session_check_ip = Off at the broken OCS 2.3.2, everything went OK again.

Best Regards,
CK
ckwu
 
Posts: 10
Joined: Mon Feb 23, 2009 2:40 am

Re: login session problem (solved)

Postby jmacgreg » Thu Jul 08, 2010 3:34 pm

Hi CK,

Thanks for reporting on this! One small addendum: I don't believe session_check_ip has ever been set to Off by default in any of our install packages. However, your detailed analysis of the problem will certainly help others troubleshoot their own issues if/when they arise, and that is very much appreciated.

Cheers,
James
jmacgreg
 
Posts: 4162
Joined: Tue Feb 14, 2006 10:50 am

Re: login session problem (solved)

Postby ckwu » Thu Jul 08, 2010 5:58 pm

Hi, James,

My absolute apology and you are absolutely right. Looking back to the notes I wrote months ago, I did remind myself to change the session_check_ip parameter for the demo sites. Sometimes, the fingers are faster than the brain.

Best Regards,
CK
ckwu
 
Posts: 10
Joined: Mon Feb 23, 2009 2:40 am

Re: login session problem (solved)

Postby jmacgreg » Fri Jul 09, 2010 9:26 am

Hi CK,

No apology needed, and happy everything's working out! And once again, thanks for the detailed information.

Cheers,
James
jmacgreg
 
Posts: 4162
Joined: Tue Feb 14, 2006 10:50 am


Return to OCS Conference Support and Discussion

Who is online

Users browsing this forum: No registered users and 1 guest