Page 2 of 2

Re: Could changing php.ini cause CMSms to log out all the time?

Posted: Wed Jan 14, 2009 8:01 pm
by dhtml12345
I'm having session issues as well.  Any resolution to this?

Re: Could changing php.ini cause CMSms to log out all the time?

Posted: Wed Jan 14, 2009 8:08 pm
by minneapolis_dan
Look under System Information, the Site Admin dropdown, and see what value there is for Session Save Path. If that path is incorrect or not working, you can to set it yourself using a php.ini file. For most of my sites , I didn't have to set it, but for one site hosted through Network Solutions, I did.

I didn't have that set for a particular site, and that's why I had so many problems, because the new admin relies on sessions.

Re: Could changing php.ini cause CMSms to log out all the time?

Posted: Mon Jan 19, 2009 6:04 am
by jab
I had a session timeout issue. The following solved the problem for me.

If you are using a local php.ini file, ensure that you have a path specified in the "session.save_path" directive. Create a "phpsessions" folder above your domain root (ht_docs or public_html) folder and point to it using the "session.save_path" directive in you local php.ini file. Place the php.ini in your domain root directory. This should correct the session timeout. The problem is the session is not being saved or is being cleared from the host /tmp location. I only had to do this since upgrading to v1.5.1. I did not have a timeout issue with v1.4.1. Then again I did not have to update my PHP settings in 1.4.1 either. I hope this helps.