Front End Users FEU logout redirect not working

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Front End Users FEU logout redirect not working

Post by paulbaker »

In Site Admin > FrontEndUsers Settings > Builtin Authentication tab > "PageID/Alias to jump to after logout *:" I have entered "home" which is the page alias of my home page.

In my FEU Logout form, I have a logout link which is unchanged from the default:

Code: Select all

{if isset($url_logout)}
<p><a href="{$url_logout}" title="{$mod->Lang('info_logout')}">Logout</a></p>
{/if}
The logout link produced is "http://www.example.com/feu/logout/117 (pretty URLs are on)

When this link is clicked I was expecting to be logged out and forwarded to the home page. I am not. Instead I am logged out and sent to the only protected content page I have set up, and get a 403 error because I am logged out.

I tried setting "PageID/Alias to jump to after logout *:" to 15 which is the page ID for the home page but the system behaves the same.

How can I forward to the home page after logging out?

I see others have similar issues:
viewtopic.php?p=329387#p329387

Having a bad day :-\

----------------------------------------------
Cms Version: 2.1.5
Installed Modules:
AdminSearch: 1.0.2
CGCalendar: 2.1.4.2
CGExtensions: 1.53.13
CGSimpleSmarty: 2.1.4
CMSContentManager: 1.1.1
CMSMailer: 6.2.14
DesignManager: 1.1.1
FileManager: 1.5.2
FrontEndUsers: 2.1.1
Gallery: 2.1.6
ListIt2: 1.4.1
ListIt2GovernorTeam: 1.4.1
MenuManager: 1.50.2
MicroTiny: 2.0.3
ModuleManager: 2.0.4
Navigator: 1.0.3
News: 2.50.5
Search: 1.50.2
Showtime: 3.4
SimpleSiteInfo: 3.1.1
Statistics: 1.2.1.2
ThemeManager: 1.1.8
TinyMCE: 3.1.4
UsersGuide: 2.0

Config Information:
php_memory_limit:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: false

Php Information:
phpversion: 5.6.24
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 120
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 32M
upload_max_filesize: 32M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: Off (False)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 2.6.18-471.3.1.el5.lve0.8.72 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.30
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home/stedward/public_html/tmp (0755)
tmp_cache: /home/stedward/public_html/tmp/cache (0755)
templates_c: /home/stedward/public_html/tmp/templates_c (0755)
modules: /home/stedward/public_html/modules (0755)
uploads: /home/stedward/public_html/uploads (0755)
File Creation Mask (umask): /home/stedward/public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Front End Users FEU logout redirect not working

Post by calguy1000 »

I just tested this... worked fine here.
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.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Front End Users FEU logout redirect not working

Post by paulbaker »

Going back to this several days later and it now works without any other changes. I can put "home" or 15 (which is the page ID), or any other page alias/ID in to the "PageID/Alias to jump to after logout" field and it just works........

Perhaps it was some sort of caching issue.

*Shrugs* :-\

Thanks anyway Calguy.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Front End Users FEU logout redirect not working

Post by Rolf »

Using Firefox perhaps?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Front End Users FEU logout redirect not working

Post by paulbaker »

Nope, Chrome
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Front End Users FEU logout redirect not working

Post by Rolf »

Meh okay. Just wondering as I have more and more caching issues with FF... :-\
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”