Membership Plugin forces logout
3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: August 2, 2011 (RSS)
By Toledoh - August 2, 2011
Hi Guys,
I'm running a site with CMSB 2,11, and membership plugin 1.04.
When I have the plugin activated, and I'm logged in, and I leave the admin window to browse the site in another tab, I return to the admin and I'm logged out.
If I deactivate the plugin, everything works fine.
I'll send an email with login details for your testing.
Cheers,
Tim
I'm running a site with CMSB 2,11, and membership plugin 1.04.
When I have the plugin activated, and I'm logged in, and I leave the admin window to browse the site in another tab, I return to the admin and I'm logged out.
If I deactivate the plugin, everything works fine.
I'll send an email with login details for your testing.
Cheers,
Tim
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)
Re: [Toledoh] Membership Plugin forces logout
By Jason - August 2, 2011
Hi Tim,
I've taken a look at your site. We've run into this issue once before, where if you're logged in through CMS Builder, you can't load a page outside of CMS Builder without being logged out, and vice versa.
The issue seems to come from a PHP hardening script called Suhosin. Here are some solutions to try:
First, in the cmsAdmin folder you'll find a file called php.ini Try moving this file out of the cmsAdmin folder to be one level up (in the web root in your case). Try to reproduce the problem again.
If this doesn't work, you can just delete (or rename) the php.ini file completely and that should take care of the issue. The php.ini file in CMS Builder isn't mandatory, it just attempts to normalize the environment that CMS Builder runs in.
Give this a try and let us know if this works for you.
Hope this helps
I've taken a look at your site. We've run into this issue once before, where if you're logged in through CMS Builder, you can't load a page outside of CMS Builder without being logged out, and vice versa.
The issue seems to come from a PHP hardening script called Suhosin. Here are some solutions to try:
First, in the cmsAdmin folder you'll find a file called php.ini Try moving this file out of the cmsAdmin folder to be one level up (in the web root in your case). Try to reproduce the problem again.
If this doesn't work, you can just delete (or rename) the php.ini file completely and that should take care of the issue. The php.ini file in CMS Builder isn't mandatory, it just attempts to normalize the environment that CMS Builder runs in.
Give this a try and let us know if this works for you.
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Membership Plugin forces logout
By Toledoh - August 2, 2011
Thanks Jason,
Removing the file totally worked.
Removing the file totally worked.
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)