Could changing php.ini cause CMSms to log out all the time?
Re: Could changing php.ini cause CMSms to log out all the time?
I'm having session issues as well. Any resolution to this?
-
- 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?
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.
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?
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.
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.