Skip to Content Skip to Menu

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

Strange issue with error string during registration

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 8 months ago #220264 by dotcom22
hello

I noticed a strange problem when I try to register a user already registered. In fact I get the message "This email is already registered." and this string is not located inside CB language file but inside:

/language/en-GB/en-GB.lib_joomla.ini
JLIB_DATABASE_ERROR_EMAIL_INUSE="This email is already registered."

I wondering why this happen. Any idea ?

thank

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 8 months ago #220278 by nant

dotcom22 wrote: hello

I noticed a strange problem when I try to register a user already registered. In fact I get the message "This email is already registered." and this string is not located inside CB language file but inside:

/language/en-GB/en-GB.lib_joomla.ini
JLIB_DATABASE_ERROR_EMAIL_INUSE="This email is already registered."

I wondering why this happen. Any idea ?

thank


Sorry, I do not understand the issue.
That is a Joomla message so it is rendered by a Joomla language string.

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

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 8 months ago #220280 by dotcom22
Yes this is the problem. Why this error string come from Joomla language and not CB language file??? If I'm not wrong a same kind of error string is present in CB language and is this one who must be used "This e-mail is already registered. If you forgot your password, click on the Forgot your password link and a new password will be sent to you".

Any clue ??

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48456
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #220306 by krileon
We save the CMS user (Joomla user) before we save the CB user. What's likely happening is Joomlas validation is kicking in during this save and throwing the error, which is perfectly normal. CBs validation however should take place before the store function is ever executed though. Is the email field present and set required on the registration page? Are you using CB registration page?


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.

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 8 months ago #220313 by dotcom22
yes email is required and I use CB registration page. However my CB setup is a bit unusual in the sense I don't ask the username and password. I setup auto-action plugin for create a special username and the password is auto-generated and sent by email always using auto-action.

Maybe is the cause of this issue ?

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48456
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #220320 by krileon
I've no idea, try using username and password fields normally then disable your CB Auto Action and see if it works fine.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum