Page 1 of 2

Cannot logout of FEU

Posted: Tue Feb 10, 2009 7:46 am
by wms
Hi,

I'm having a problem with FEU and CustomContent.  I have two different pages that correspond to two different user accounts within my site.  The problem is, when I log in as a user, I cannot logout.  I click and click and click on the "sign out" link and nothing happens?  Does anyone have any idea?  I really need to get this working for a client and I have spent hours trying to figure this out.

I'm using the latest versions of CMS, FEU & CC.  I have uninstall FEU & CC and reinstalled, I have spent a lot of time trying to find a solution within the forums.

Thanks in advance for any help.

wms

Re: Cannot logout of FEU

Posted: Tue Feb 10, 2009 4:56 pm
by Nullig
Have you turned caching off for those pages - under the pages' options tabs?

Nullig

Re: Cannot logout of FEU ~HELP!~

Posted: Wed Feb 11, 2009 12:00 am
by wms
Cache is off for the pages.  Here is what I have in my template for the secured page:

{if $ccuser->loggedin() && $ccuser->memberof('employee')}
Welcome {$customcontent_loginname}
{content}
{else}
Please Log in to view this page.
{cms_module module=FrontEndUsers}
If you do not have a username and password, please contact us.
{/if}


I get logged in, but when I click on "sign out", nothing happens.  The user stays logged in.

~help~

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 1:12 am
by Nullig
Are you logged in in another instance of the browser? or another TAB, if you're using a tabbed browser?
Have you tried clearing the cache in Admin?

Nullig

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 1:18 am
by wms
Hi,


Using only one tab in browser.  Have clear cached.  Tried both FF & IE on 3 different PCs. 

???

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 1:22 am
by Nullig
And you're sure that for those pages, under their Options tabs you have the "Cachable" option unchecked?

Nullig

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 2:06 am
by wms
I just doubled (maybe tripled) check right now.  The option is "unchecked".  Cachable is off.

I appreciate your help.  Any other ideas.  I'm totally driving myself crazy over this one.

Do you have an example of how to use FEU with CC correctly.  Maybe my lines in my template are incorret?

I don't know....*pulling my hair out*

???

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 2:07 am
by calguy1000
Have you checked your error log?

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 2:10 am
by wms
Hmmmm....haven't done that.  How do I do that?  Where is the log?

Thank,

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 2:13 am
by Nullig
You should be able to find the error log through your hosting admin panel.

Also, what settings do you have for FEU under Preferences?

Are you using cookies to keep the session alive?
Are you using cookies to remember login details?

Nullig

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 2:16 am
by wms
Here's the pages in question:

http://linkprotection.ca/index.php?page=employee-access (username/password: jobs@linkprotection.ca/lpmlpm)

&

http://linkprotection.ca/index.php?page ... ccess  (username/password: info@linkprotection.ca/lpmlpm)

Check it out.  Log in on one page and then go to the next and try clicking on the sign out link.

Thanks,

wms

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 2:19 am
by wms
Hi,

Just checked the FEU prefs.  I didn't change anything from the default install.  The cookies settings are not checked.

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 2:23 am
by Nullig
Post your FEU Logout template.

Nullig

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 2:25 am
by wms
Here it is:


{$startform}
  {$prompt_loggedin} {$username}
  Lang('info_logout')}">{$mod->Lang('logout')}
  Lang('info_changesettings')}">{$mod->Lang('prompt_changesettings')}
{$endform}




I haven't changed a thing from the install.  I just created to groups and two accounts.

Re: Cannot logout of FEU

Posted: Wed Feb 11, 2009 2:28 am
by Nullig
Are you sure that ALL pages that use that page template are marked as not cachable?

You could try moving the code from the template to the page.

Nullig