Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Uncaught TypeError: Cannot set property 'className' of null - Create Account

    Hi

    Getting this on tpl_module_create_account

    document.getElementById("stText").className = 'hiddenField';

    There's no id "stText" on that file ... I've check on the template_default files....and on the update 155a.

    I Only have a <br class="clearBoth" id="stBreak" /> ...witch had luck, cause I usually get rid of all them <br>

    No one else got this error ?
    What should I be hiding ?

    Thanks
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,407
    Plugin Contributions
    80

    Default Re: Uncaught TypeError: Cannot set property 'className' of null - Create Account

    The block of HTML that "should" include the stText value is present in /includes/modules/create_account.php (or in your template's override /includes/modules/YOUR_TEMPLATE/create_account.php).

    It sounds like you've got a bad merge on your upgrade.

  3. #3
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Uncaught TypeError: Cannot set property 'className' of null - Create Account

    ...sorry, but I can't find that...
    I didn't override this file... I've downloaded 155a just now and can't find stText anywhere on that file.
    Somewhere else ?

    Thanks
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  4. #4
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: Uncaught TypeError: Cannot set property 'className' of null - Create Account

    Apparently you're using a combination of countries+states/zones that doesn't normally trigger that issue.

    But, you're right: stText no longer exists in v155.

    You can remove the 4 javascript lines that reference it in all the jscript_addr_pulldowns.php files.
    .

    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.

  5. #5
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Uncaught TypeError: Cannot set property 'className' of null - Create Account

    Ok , thanks, I'll try that.

 

 

Similar Threads

  1. Cannot create new account
    By ErrorNine in forum General Questions
    Replies: 2
    Last Post: 22 Jun 2009, 08:23 PM
  2. How to set/create another manager account than admin account?
    By andy_lau in forum Basic Configuration
    Replies: 1
    Last Post: 15 Apr 2009, 09:19 AM
  3. Cannot Create a New Customer Account
    By Manor in forum General Questions
    Replies: 7
    Last Post: 11 Jun 2008, 06:48 PM
  4. User Cannot Create Account. HELP!
    By yxw168 in forum General Questions
    Replies: 3
    Last Post: 19 Feb 2007, 08:24 PM
  5. Cannot create a new account
    By jdl in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 28 Nov 2006, 06:52 AM

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