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.
minneapolis_dan
Forum Members
Forum Members
Posts: 36
Joined: Tue Jun 19, 2007 10:20 pm

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

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

Or maybe it's a bug on the new CMSms 1.5?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

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

Post 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
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 »

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.
alby

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

Post 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
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 »

Sure, here you go. It's Network Solutions, the client's choice in host.

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

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

Post 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
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 »

I just installed the update, so I'll give a bit and see how it goes. Thanks.
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 »

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.
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 »

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.
>:(
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 »

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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

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

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
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 »

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.
moorezilla

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

Post 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!
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 »

Thanks, I really hate being the only one.
Post Reply

Return to “CMSMS Core”