Page 1 of 8 123 ... LastLast
Results 1 to 10 of 79
  1. #1
    Join Date
    Jul 2005
    Location
    Charlottesville, VA
    Posts
    431
    Plugin Contributions
    0

    Default [Done v1.3.6] bug with state selection check on registration

    Helloos.

    Well, y'know, I used to do QA and product testing... for an early multiplayer online gaming company!

    Getting to the point:

    For a store with Configuration > Customer details >
    State = True
    State - Always display as pulldown = True

    Procedure to reproduce:
    1) User creates an account but neglects to select state from the drop list before hitting Submit.
    2) Error informs user to select a state from drop list.
    3) User selects state, then hits Submit.
    4) Error popup says * Your state must contain a minimum of 2 characters.

    "Fatal" condition ensues which can only be rectified by closing and reopening the browser window, and remember to choose state from drop list before hitting Submit.

    I hope this helps!

    really not meaning to be a smartass...

    ---Diana

  2. #2
    Join Date
    Sep 2004
    Posts
    745
    Plugin Contributions
    4

    Default Re: Reproducible bug with state selection check on registration

    Hahaha, I was just getting ready to report this one when I saw your bug report!

    I can confirm what you are seeing...

    Jeff

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Reproducible bug with state selection check on registration

    also try to NOT use the dropdown and try to create an account using PA for Pennsylvania or NE for Nebraska, it gets really fun
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Sep 2004
    Posts
    745
    Plugin Contributions
    4

    Default Re: Reproducible bug with state selection check on registration

    Has anyone made any progress on a solution for this problem?

    We had a number of customers send angry emails over the weekend as a result of the problem, so I am going to have to look into correcting ASAP and was hoping someone perhaps has already took a stab at a fix, even a partial one?

    Thanks,
    Jeff

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Reproducible bug with state selection check on registration

    We hope to have the fix out for all countries and situations and configurations before too long ... sorry for the delay ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Sep 2004
    Posts
    745
    Plugin Contributions
    4

    Default Re: Reproducible bug with state selection check on registration

    Thank you for the update Linda!

    I may take a stab at it tomorrow if I get some free time... if so and I find a solution I will post it.

    sinc,
    Jeff

  7. #7
    Join Date
    Jul 2005
    Location
    Charlottesville, VA
    Posts
    431
    Plugin Contributions
    0

    Default Re: Reproducible bug with state selection check on registration

    Until a fix is available:

    includes/languages/[your custom template directory]/english.php (or your preferred language define)

    Code:
    define('ENTRY_STATE_ERROR', 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.\n\n
    **If you cannot complete your edit or selection of your state, this is a software error. 
    Please *close* your browser window, reopen, restart your registration and select state before hitting Submit.\n\n
    We regret the error. Thank you for your patience.');
    This at least will tell customers what is going wrong and what to do about it.

    ---Diana

  8. #8
    Join Date
    May 2005
    Location
    Phoenix Arizona (whew!)
    Posts
    188
    Plugin Contributions
    0

    Default Re: Reproducible bug with state selection check on registration

    Quote Originally Posted by JeffD
    Has anyone made any progress on a solution for this problem?

    We had a number of customers send angry emails over the weekend as a result of the problem, so I am going to have to look into correcting ASAP and was hoping someone perhaps has already took a stab at a fix, even a partial one?

    Thanks,
    Jeff
    I'm getting the same cranky emails... will try the interim patch listed, but am hoping for a real fix soon. Any ideas when?

    Vicki
    www.moebiusenterprises.com

  9. #9
    Join Date
    Sep 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Reproducible bug with state selection check on registration

    Hi all, first post here. Just wanted to post a possible solution to the State Dropdown issue.

    Background: Installed Zen Cart 1.3.2 (IIRC) using Fantastico on my host. Manually upgraded to 1.3.5 before proceeding with any customization. Built my custom look and feel, configured everything, entered all my stock, tested tested tested and all went fairly smoothly. Created three test accounts (local state, outside state, and overseas) to test shipping and payment and sales tax. Perfect, no problems. Went live Thursday midnight.

    On Friday, decided that we had to have a "newsletter only" option. Found the "Newsletter Subscribe" module/contribution (NotGoddess 07/03/2006 certified for ZC v1.3.0) and decided to give it a shot to see if it would work with 1.3.5. Did my backups, integrated it, and all seemed fine.

    This morning we got an e-mail from a customer who couldn't register/create account. Sure enough, I went to look, and we had a "state dropdown" issue. Not sure if it is THE state dropdown issue, but in short: test for "state" field was now gone, country dropdown wouldn't be accepted by regiustration process, enabling state dropdown box caused double fields, and I couldn't find a combination of settings to get things back.

    Realized that the last major change I'd made was adding "Newsletter Subscribe". Looked at the files involved, and as part of the process I'd put a "create_account.php" in my tempate folder as an override. Turned this off and, voila, got everything back. But I had both a dropdown for statem, and a field for state underneath it. Tried creating an account, but it wanted text in that state field. Turned off the dropdown for state, and that fixed it. Changed minimum text value for state to "zero" to account for some internationals. Tested creating a number of different customer types, ran some test purchases and all is well.

    Strangely enough, even though I turned off the "create_account.php" override that came with "Newsletter Subscribe", the feature still seems to work just fine.

    Anyway, hope this helps someone, hadn't seen this solution elsewhere in the forum. It occurred to me that other longtimers may have used "Newsletter Subscribe" too, and run into the state dropdown problem, and never looked to it as a possible solution.

    P.S. We LOVE ZenCart, and will be making a nice donation to the effort. I'm not only stunned that such a great app and community exists, but that it is so powerful, even for our simple little store.

    Robert
    --
    Robert Saint John, San Francisco CA

  10. #10
    Join Date
    Apr 2006
    Posts
    413
    Plugin Contributions
    0

    Default Re: Reproducible bug with state selection check on registration

    Glad it works for you. I've tried a few things including the contrib but find it all a bit haphazard so have put 1.35 aside until this bug gets a proper fix as the previous version works well enough.

 

 
Page 1 of 8 123 ... LastLast

Similar Threads

  1. v139d Problem with customer registration - State field
    By OnlySeaDoo in forum Managing Customers and Orders
    Replies: 11
    Last Post: 3 Oct 2012, 09:33 AM
  2. Replies: 1
    Last Post: 22 Nov 2011, 06:16 AM
  3. [Done v1.3.9] Newsletter Sign up Check Box Bug
    By StoneColdMagic in forum Bug Reports
    Replies: 2
    Last Post: 14 Jul 2009, 03:17 AM
  4. Replies: 1
    Last Post: 1 Jun 2007, 02:13 AM
  5. [Done v1.3.7] State Selection in Shipping Estimator
    By Woodymon in forum Bug Reports
    Replies: 4
    Last Post: 30 Dec 2006, 12:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg