Thread: Login Error

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Apr 2006
    Location
    Bournemouth UK
    Posts
    48
    Plugin Contributions
    0

    Login Error

    Hi all

    I have set up the Create Account Details pretty much how it's needed. However, I am receiving one error.

    In Admin > Configuration > Minimum Values

    I have set:

    State .........................................= 2


    In Admin > Configuration > Customer Details

    I have set:

    State .........................................= True

    State - Always Display as Pulldown. = False


    When I enter all the details required, there seems to be no problem and a simple Text Input Box is displayed for "State".

    When the "SUBMIT" button is clicked page shows the error and displays a "Please Select" Dropdown Box for the "State" field.

    I know that I can avoid this by making "State" not required, but I would rather keep it, I would also like to be able to show the field as "State/County" or "State/Province if possible.

    Can anyone give me info on which PHP file(s) I need to change and how?

    Help - deeply appreciated
    Best Regards

    Keith

    ######################################################################################################################################################____

    I,m getting there, slowly but eZENtually


    .

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Login Error

    What add-ons do you have installed?

  3. #3
    Join Date
    Apr 2006
    Location
    Bournemouth UK
    Posts
    48
    Plugin Contributions
    0

    Default Re: Login Error

    Hi Kim

    Don't have any add-ons installed, was going to put IH2, DL Time Estimator and Admin Profiles on but decided not to try till I get everything working properly.

    Also have used only template_default to base my template on though I have created my own buttons set but they seem to be working fine.

    BTW ZC version is 1.3.02
    Best Regards

    Keith

    ######################################################################################################################################################____

    I,m getting there, slowly but eZENtually


    .

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Login Error

    Have you changed the create account template?

  5. #5
    Join Date
    Apr 2006
    Location
    Bournemouth UK
    Posts
    48
    Plugin Contributions
    0

    Default Re: Login Error

    No kim

    I have only made the changes in the Admin section I previously mentioned, I ran Developer Tool Search and this threw back 100's of lines of code and nearly as many folders (mainly admin) lol.

    So could not see what was the right one. What is the correct template url I need ?
    Best Regards

    Keith

    ######################################################################################################################################################____

    I,m getting there, slowly but eZENtually


    .

  6. #6
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Login Error

    Keith,
    This may be a bug. If you can, carry on with other things in your shop until we fix it....hopefully soon.


    As to your other query:
    I would also like to be able to show the field as "State/County" or "State/Province if possible.
    ... peek in /includes/languages/english/YOURTEMPLATE/create_account.php, looking for ENTRY_STATE
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Apr 2006
    Location
    Bournemouth UK
    Posts
    48
    Plugin Contributions
    0

    Default Re: Login Error

    Hi DrByte

    Thanks for the reply

    300,000+ downloads cant' believe I've found a bug, Prefer to think it's something I have or haven't done - being a newbie.

    I can PM you the site info and admin details if that'll help.

    Do not have "create_account.php" in /includes/languages/english/MYTEMPLATE/

    I have found ENTRY_STATE in all the following:

    /zencart/includes/modules/checkout_address_book.php
    /zencart /includes/modules/checkout_new_address.php
    /zencart /includes/modules/create_account.php
    /zencart /includes/modules/shipping_estimator.php
    /zencart/includes/modules/pages/account_edit/jscript_form_check.php
    /zencart/includes/modules/pages/account_password/jscript_form_check.php
    /zencart/includes/modules/pages/address_book/header_php.php
    /zencart/includes/modules/pages/address_book_process/header_php.php
    /zencart/includes/modules/pages/address_book_process/jscript_main.php
    /zencart/includes/modules/pages/checkout_payment_address/jscript_main.php
    /zencart/includes/modules/pages/checkout_shipping_address/jscript_main.php
    /zencart/includes/modules/pages/create_account/jscript_form_check.php
    /zencart/includes/modules/pages/login/jscript_form_check.php
    /zencart/includes/templates/template_default/templates/tpl_modules_address_book_details.php
    /zencart/includes/templates/template_default/templates/tpl_modules_checkout_new_address.php
    /zencart/includes/templates/template_default/templates/tpl_modules_create_account.php
    /zencart/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php

    Do I need to make copies of these for MyTemplate, and could this be the problem ?

    Nevertheless, the site owner is impressed with how it is looking so far.
    Best Regards

    Keith

    ######################################################################################################################################################____

    I,m getting there, slowly but eZENtually


    .

  8. #8
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Login Error

    Do you have one in

    /includes/languages/english/

    that you could copy to

    /includes/languages/english/MYTEMPLATE/

    before customizing its contents?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Apr 2006
    Location
    Bournemouth UK
    Posts
    48
    Plugin Contributions
    0

    Default Re: Login Error

    Yes I have got a copy in that folder, I have copied it to the working folder on my local machine .

    Could not find ENTRY_STATE anywhere in the text with crimson editor.

    .
    Best Regards

    Keith

    ######################################################################################################################################################____

    I,m getting there, slowly but eZENtually


    .

  10. #10
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Login Error

    Gads -- I musta been working too late. It's english.php.

    Code:
      define('ENTRY_STATE', 'State/Province:');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 9 Jun 2015, 10:36 PM
  2. Customer Login 'There was a security error when trying to login'
    By webzuma in forum Managing Customers and Orders
    Replies: 26
    Last Post: 11 Jun 2010, 04:21 PM
  3. Admin login problem: There was a security error when trying to login.
    By eddeford in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 27 Jan 2010, 03:59 PM
  4. customized login form: security error when login
    By weber in forum General Questions
    Replies: 0
    Last Post: 4 Jul 2008, 03:35 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR