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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
dhtml12345

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

Post by dhtml12345 »

I'm having session issues as well.  Any resolution to this?
minneapolis_dan
Forum Members
Forum Members
Posts: 36
Joined: Tue Jun 19, 2007 10:20 pm

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

Post 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.
jab
Forum Members
Forum Members
Posts: 60
Joined: Sun Oct 30, 2005 4:21 am

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

Post 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.
Post Reply

Return to “CMSMS Core”