Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

error on login after clicking confirm link in email

  • fredc15
  • fredc15
  • OFFLINE
  • Posts: 37
  • Thanks: 5
  • Karma: 0
6 years 5 months ago #305214 by fredc15
Hi,

I am getting an error message on the initial login after clicking confirmation link in email after registration. The user can login but gets the error message:
"Error You are not authorized to view this page! You need to logout" After I logout and re-login, the error message does not appear.

I have am user user groups and group access to certain menu items. All non-member items are set to "guest" member items have requisite access to different menu items.

I thought there was a problem with the default Initial Login re-direct. I changed it and the error is still coming.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 5 months ago #305236 by krileon
It's likely due to whatever page it's trying to send them to after they login. If you have not specified in login redirects and the user attempts to login on a page only accessible to Guests they will get that error. For first time login redirects you can specify those within CB > Configuration > Registration. If you want to always redirect after login you'd specify that within your CB Login Module under Login Options. So for example to always send them back to the home page after login set the login redirect to index.php. Be sure to always use non-SEF login redirect URLs beginning with index.php; do not use relative or SEF URLs.


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.

  • fredc15
  • fredc15
  • OFFLINE
  • Posts: 37
  • Thanks: 5
  • Karma: 0
6 years 5 months ago #305254 by fredc15
Hi,

This is before they login. This is using the confirm link.
beta2.muslimchaplaincyprogram.com/index.php/cb-profile/confirm?confirmcode=reg3a153c3aafe6cf3b3dcd0c293acd192c050045d0


The error comes here after clicking the link

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 5 months ago #305269 by krileon
CB throws that error if the confirmation code isn't valid or CB is unable to find the user it's attached to. It's doing this for every confirmation or just that confirmation? Check within _comprofiler and see if that confirmation code is attached to a user in the cbactivation column.


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.

  • fredc15
  • fredc15
  • OFFLINE
  • Posts: 37
  • Thanks: 5
  • Karma: 0
6 years 5 months ago #305286 by fredc15
Hi,

I have found that the user is not being deleted from the db. The user has been deleted and does not show in CB users or Users in Joomla's backend.

Looking at the db, two users are still in _comprofiler table but they are not in the users table. Seems they are not being deleted properly from CB

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

  • fredc15
  • fredc15
  • OFFLINE
  • Posts: 37
  • Thanks: 5
  • Karma: 0
6 years 5 months ago #305287 by fredc15
Hi,

I have found a few pieces of information.

1. There is only user currently on the site. User id 838
2. In Joomla there only shows 1 user in the users area and CB
3. In the db there are 4 users in _comprofiler. Also user ID 838 does not have any info (name etc)
4. in the db there is only 1 user in _users

I have attached screenshots.
Attachments:

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

Moderators: beatnantkrileon
Powered by Kunena Forum