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] Duplicate Email Address At Registration Causes Problem With CBSubs

  • res818
  • res818
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
11 years 8 months ago - 11 years 8 months ago #221556 by res818
Joomla!-2.5.9
CB-1.9
CBSubs-3.0.0

I have two free subscription plans, one is set as default. There are common fields in both plans registration forms and fields set to display only for a particular plan.

In testing, when I try to register with an email address that is already registered, I get the pop-up error message "This email is already registered". After clicking "OK", I'm sent back to a registration page which has all of the registration fields displayed for both plans.

What setting(s) am I missing?
Last edit: 11 years 8 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago - 11 years 8 months ago #221648 by krileon
Probably due to the conditional JS not being fired. Does it work fine after deselecting and re-selecting a plan?


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.
Last edit: 11 years 8 months ago by krileon.

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

  • res818
  • res818
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
11 years 8 months ago #221706 by res818
I only have two plans on the site. The plans are selected by links. The "Students" register with the default plan through links placed around the site. The "Teachers" have to go to another page where there is a link to the other plan signup form. There is no choice for the other plan on either of these forms.

I have the default (Student) plan's Workflow setting "Propose spontaneously plan at registration:" set at "Yes: show automatically plan for normal registrations (recommended)".

I've tried both other settings for the other plan (Teacher). When I do select the "Yes: show automatically plan for normal registrations (recommended)", I do get the choices on the registration form and it does work correctly initially. But after the error all fields show for both plans, even after deselecting and re-selecting a plan.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #221716 by krileon
Strange, please check browser error log when this happens to see if a fatal JS error is occurring as the display is entirely controlled with jQuery.


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.

  • res818
  • res818
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
11 years 8 months ago #221734 by res818
When the initial error occurs, this error is listed in the Firefox's Error Console:
Code:
Timestamp: 2/25/2013 10:37:24 AM Error: SyntaxError: unterminated string literal Source File: http://174.121.35.252/~omi1117/index.php?option=com_comprofiler Line: 172, Column: 60 Source Code: e[0] = 143;$( '#cbfr_28,#cbfrd_28' ).cbconditional( {value: '<div>

I also tried it with the Beez_20 template just to make sure it wasn't my template, same problem.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #221738 by krileon
Upgrade CB Conditional, looks like an old error where code wasn't escaped properly. That's a fatal JS error and it'd prevent further JS from working. you can test the theory by disabling CB Conditional and seeing if issue persists.


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