Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] 403 error

  • KatoKalin
  • KatoKalin
  • OFFLINE
  • Posts: 265
  • Thanks: 11
  • Karma: -5
  • Add-ons
10 years 10 months ago - 10 years 10 months ago #238822 by KatoKalin
[SOLVED] 403 error was created by KatoKalin
I am getting a 403 error on following actions:

I have menu items which are different for logged in users and for guests. Joomlas ACL allow to show only the items for the appropriate group.
When a user starts browsing as guest then and clicks one of the guest menu items and logs in, then I am getting a 403 error, obviously because the redirect of the CB login tries to return the user to the latest link. But as the user has changed from a guest user to a registered user he is no longer allowed to that ressource.
Probably the same will happen when a logged in user is viewing a ressource for him and logs out......

I tried the Joomla redirect which did not solve the problem. As I am using the CB login module for login I would say it is kind of a CB issue as it is the CB part that is trying to return the user to the ressource last visited.

I will now try to solve it by using the autoactions plugin but I wonder if there is a solution without the need of this plugin?

Edit: Seems that this is a common Joomla problem. I have found a nice plugin in the extension directory which can easily redirect users as needed: extensions.joomla.org/extensions/access-a-security/site-access/login-redirect/15257
Last edit: 10 years 10 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 10 months ago #238846 by krileon
Replied by krileon on topic 403 error
Don't need a Joomla extension for that. Use CB Auto Actions and setup Redirect actions for the after login trigger then adjust the Access as needed.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • KatoKalin
  • KatoKalin
  • OFFLINE
  • Posts: 265
  • Thanks: 11
  • Karma: -5
  • Add-ons
10 years 10 months ago #238876 by KatoKalin
Replied by KatoKalin on topic 403 error
Hmmmmm. Weird. I tried that and it did not work. So I obviously did something wrong.
Nevermind, I have purchased that redirect extension and it works just great with a dynamic redirect.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum