[solved] Frontend Users FEU redirection settings not working
Posted: Tue Oct 15, 2013 10:04 am
Hi
In Users & Groups -> Frontend User Management -> Settings -> Builtin Authentication tab at the bottom there is a section of settings to enable redirection of the user after events e.g. once logged in.
It says at the top of this section:
It worked well, e.g. when a person logged in who was a member of members group, they got redirected to the page alias welcome-members (which still exists).
Then I updated from 1.11.4; did all the module updates, then core, then re-did module updates.
Now when you login it no longer redirects properly but a message is shown:
The user is logged in correctly though - you can click back to the home page and see all the hidden pages.
Have checked bug tracker, no sign of this.
Anybody?
Thanks
Current system info:
----------------------------------------------
Cms Version: 1.11.9
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.3
MenuManager: 1.8.6
ModuleManager: 1.5.5
News: 2.13
Printing: 1.1.2
Search: 1.7.11
ThemeManager: 1.1.8
TinyMCE: 2.9.12
CGExtensions: 1.37.2
FrontEndUsers: 1.21.18
CustomContent: 1.9
SelfRegistration: 1.8.1
CGSimpleSmarty: 1.7
jQuery: 1.2.0
JQueryTools: 1.2.5
Statistics: 1.1.3
avplayer: 1.3.2
CGCalendar: 1.10.4
CMSPrinting: 1.0.5
MicroTiny: 1.2.5
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 32000000
url_rewriting:
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.24
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 32M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.70
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
Server Time Diff: No filesystem time difference found
----------------------------------------------
In Users & Groups -> Frontend User Management -> Settings -> Builtin Authentication tab at the bottom there is a section of settings to enable redirection of the user after events e.g. once logged in.
It says at the top of this section:
I used this successfully on a 1.11.4 site. In the "PageID/Alias to jump to after login *:" box I added:Along with other pre-existing smarty variables and plugins, the {$username} and {$group} variables are availabie. (The {$group} variable matches the first group to which the user belongs.).
Code: Select all
welcome-{$group}Then I updated from 1.11.4; did all the module updates, then core, then re-did module updates.
Now when you login it no longer redirects properly but a message is shown:
This suggests {$group} is not being understood correctly.couldn't get pageid for welcome-
The user is logged in correctly though - you can click back to the home page and see all the hidden pages.
Have checked bug tracker, no sign of this.
Anybody?
Thanks
Current system info:
----------------------------------------------
Cms Version: 1.11.9
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.3
MenuManager: 1.8.6
ModuleManager: 1.5.5
News: 2.13
Printing: 1.1.2
Search: 1.7.11
ThemeManager: 1.1.8
TinyMCE: 2.9.12
CGExtensions: 1.37.2
FrontEndUsers: 1.21.18
CustomContent: 1.9
SelfRegistration: 1.8.1
CGSimpleSmarty: 1.7
jQuery: 1.2.0
JQueryTools: 1.2.5
Statistics: 1.1.3
avplayer: 1.3.2
CGCalendar: 1.10.4
CMSPrinting: 1.0.5
MicroTiny: 1.2.5
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 32000000
url_rewriting:
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.24
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 32M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.70
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
Server Time Diff: No filesystem time difference found
----------------------------------------------