Page 1 of 2

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

Posted: Wed Dec 03, 2008 10:30 pm
by minneapolis_dan
I've noticed my admin logging me out all the time this afternoon, and it wasn't this morning. I used a php.ini file to make some settings this afternoon:

register_globals = off
max_execution_time =60
post_max_size = 16M
upload_max_filesize = 64M


I tried restarting and clearing cookies out, clearing cache, changing browsers, no luck. I'm using the latest version of CMSms, by the way, 1.5.

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

Posted: Thu Dec 04, 2008 12:19 am
by minneapolis_dan
Or maybe it's a bug on the new CMSms 1.5?

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

Posted: Thu Dec 04, 2008 12:33 am
by Nullig
It may be a module problem, if you have any older modules, like here:

http://forum.cmsmadesimple.org/index.ph ... 335.0.html

Nullig

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

Posted: Thu Dec 04, 2008 1:13 am
by minneapolis_dan
Yeah, thanks, I saw that post later. I only installed Form Builder, 0.5.5. It's a brand new host and the brand new CMSms 1.5, and brand-new (for me) custom php.ini file , so I really didn't know what the cause was. I was just guessing at a cause.

I suppose it could be the one module, but it seems to log me out regardless of what I'm doing, I haven't seen a pattern yet. I can log back in and with persistence, get things done. It's just a little frustrating right now, to keep getting logged out.

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

Posted: Thu Dec 04, 2008 8:24 am
by alby
minneapolis_dan wrote: I suppose it could be the one module, but it seems to log me out regardless of what I'm doing, I haven't seen a pattern yet.
Can you send me a link to your phpinfo()?

Alby

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

Posted: Thu Dec 04, 2008 3:25 pm
by minneapolis_dan
Sure, here you go. It's Network Solutions, the client's choice in host.

http://02c72f7.netsolhost.com/phpinfo.php

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

Posted: Thu Dec 04, 2008 5:59 pm
by alby
minneapolis_dan wrote: Sure, here you go. It's Network Solutions, the client's choice in host.
ok, I thought FastCGI+Suhosin patch
Can you try 1.5.1 version?

Alby

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

Posted: Thu Dec 04, 2008 6:45 pm
by minneapolis_dan
I just installed the update, so I'll give a bit and see how it goes. Thanks.

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

Posted: Thu Dec 04, 2008 6:54 pm
by minneapolis_dan
Not to jump the gun here, but less than 5 minutes into using 1.5.1 and I've been logged out by the admin 5 times. I was just updating a few links on some posts, that got me logged out 3 times. Once we I tried to view the News under Content. One other time, I forget.

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

Posted: Fri Dec 05, 2008 10:18 pm
by minneapolis_dan
Ok, this really is stinking for me. Can I remove or turn off this new security feature in 1.5.1? I get logged out all the time. I only have one module operating, and that's Form Builder. I don't think that's the issue, it was upgraded for this new version, right?

I'd just downgrade to 1.4, but I think I'd have to re-enter all the pages of my site and their content, wouldn't I?

I guess I should have waited until the new version was a little older, but I wish I knew why none of the developers experienced this problem (so I could copy what they did)

Add new user? Log Out.
Check TinyMCE preferences? Log Out.
Update a page? Log out.
etc. etc. etc.
>:(

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

Posted: Fri Dec 05, 2008 10:36 pm
by minneapolis_dan
Could this have something to do with my troubles? I get this warning when trying to install...


Your session.save_path is empty. PHP will use the temporary directory of your OS. If you have SESSION problems and ini_set works you can try to enable session cookies adding: ini_set('session.use_only_cookies', 1); to top of include.php

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

Posted: Fri Dec 05, 2008 10:41 pm
by calguy1000
minneapolis_dan wrote: Ok, this really is stinking for me. Can I remove or turn off this new security feature in 1.5.1? I get logged out all the time. I only have one module operating, and that's Form Builder. I don't think that's the issue, it was upgraded for this new version, right?
Well try 'de-activating' formbuilder from "Extensions >> Modules" for a short time.  if that's the only non-core module you have installed, de-activating that should eliminate that module from functioning all together, without removing any data associated with that module.

It's surprising that we have to instruct people about principles of elimination, when trying to isolate the problem.  What you want us to guess what your sulution is?  If you don't work with us, we can't work with you.

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

Posted: Fri Dec 05, 2008 10:56 pm
by minneapolis_dan
Thanks for the response. I do understand the process of elimination, thanks for that too. It just didn't make sense to me that a module like Form Builder would affect every page in the admin, it doesn't seem logical to me. And I thought that module was upgraded in advance of the release, I thought I read that somewhere.

At any rate, I'm trying my best to solve this on my own, and hoping for any help I can get. My latest tact is adding a line to my php.ini for session.save_path, since this log out thing seems related to sessions somehow. And so far, so good. I'm clicking all over the place and not getting logged out.

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

Posted: Fri Dec 05, 2008 11:04 pm
by moorezilla
Just moral support, but I think I'm having a session issue too, although I'm running into the admin area simply responding very slowly, as opposed to users getting logged out. I'll let you know if I find anything. Good luck!

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

Posted: Fri Dec 05, 2008 11:09 pm
by minneapolis_dan
Thanks, I really hate being the only one.