Logout script with home redirect problem
- Status
- Closed
- Subject
- Logout script with home redirect problem
- Version
- 10.x
8.x - Category
- Error
- Less than 30-minutes fix
- Patch
- Feature
- Administration
Group - Resolution status
- New
- Submitted by
- mealstrom
- Lastmod by
- mealstrom
- Rating
- Description
How to reproduce:
1. Allow Group Homepage
2. Set homepage for anonymous group: agr_home
3. Set homepage for registered group: rgr_home
4. make default page agr_home page
5. login -> you ll be redirected to rgr_gome -> thats ok
6. logout -> you ll be redirected to http://yoursitename.com/agr_home
(note: not index.php?page=agr_home)- Solution
Fix for this change line 21 at tiki-logout.php:
++ $out_page = "tiki-index.php?page=".$userlib->get_group_home('Anonymous');
line 21:
-- $out_page = $userlib->get_group_home('Anonymous');
I dont know if hardcoding "tiki-index.php?page=" is correct, but this fix that problem.
$userlib->get_group_home('Anonymous') — returns just agr_home.- Importance
- 6
- Easy to solve?
- 10 easy
- Priority
- 60
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4388
- Created
- Tuesday 26 February, 2013 12:34:13 UTC
by mealstrom - LastModif
- Tuesday 26 February, 2013 12:34:13 UTC