Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Runtime Error since upgrade to 1.3.6 (missed upgrading some template files)

    When accessing the login page, I get a Runtime Error:
    Line: 248
    Error: 'Document.GetElementById (...)' is null or not an object.

    Where do I begin digging?
    Thanks.
    Ripper
    Oz Website Services
    www.oz-web.net

  2. #2
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Runtime Error since upgrade to 1.3.6

    OK, if I turn off the "Select state by drop-down", it goes away, so I have a starting point for my digging......
    Ripper
    Oz Website Services
    www.oz-web.net

  3. #3
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Runtime Error since upgrade to 1.3.6

    It's in this section:

    Code:
      function hideStateField(theForm) {
        theForm.state.disabled = true;
        theForm.state.className = 'hiddenField';
        theForm.state.setAttribute('className', 'hiddenField');
        document.getElementById("stateLabel").className = 'hiddenField';
        document.getElementById("stateLabel").setAttribute('className', 'hiddenField');
        document.getElementById("stText").className = 'hiddenField';
        document.getElementById("stText").setAttribute('className', 'hiddenField');
        document.getElementById("stBreak").className = 'hiddenField';
        document.getElementById("stBreak").setAttribute('className', 'hiddenField');
      }
    This line is the one my debugger highlights:
    document.getElementById("stateLabel").className = 'hiddenField';
    Ripper
    Oz Website Services
    www.oz-web.net

  4. #4
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Runtime Error since upgrade to 1.3.6

    OK, aside from talking to myself here, I narrowed it down to a template issue. I reverted to the default template and no longer get the Runtime error on the login page. I thought I edited all of the templates. I guess I was wrong.....
    Ripper
    Oz Website Services
    www.oz-web.net

  5. #5
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Runtime Error since upgrade to 1.3.6

    OK,
    I'm done talking to myself and figuring this out. I had copied all of the default templates into the templates folder of my custom template. I forgot I did that. I never changed anything in any of those templates, so I just deleted the whole templates folder from my custom template folder. Problem solved.
    Ripper
    Oz Website Services
    www.oz-web.net

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

    Default Re: Runtime Error since upgrade to 1.3.6

    Ripper-

    Sometimes talking to yourself has some benefits :) Thanks for keeping us posted as to the problem. Glad you running again.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Jul 2005
    Posts
    350
    Plugin Contributions
    0

    Default Re: Runtime Error since upgrade to 1.3.6 (missed upgrading some template files)

    In case anyone else has this issue, this is the template that was the problem:
    YOUR_STORE_MAIN_FOLDER/includes/templates/YOUR_CUSTOM_TEMPLATE_FOLDER/templates/tpl_modules_create_account.php
    Ripper
    Oz Website Services
    www.oz-web.net

 

 

Similar Threads

  1. v151 SGS-020003 Invalid XML error in FirstData / Linkpoint module since upgrade to 1.51
    By d9000 in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 7 Jan 2014, 02:13 AM
  2. v151 Since upgrade, I can't edit some (not all) product descriptions -
    By thelorus in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 18 Jul 2013, 02:45 PM
  3. v151 Upgrading with template override files
    By alxx345 in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 9 Feb 2013, 06:07 PM
  4. IPN Error since 1.3.5 Upgrade
    By GlobalVillage in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 19 Sep 2006, 06:33 PM
  5. template not working since upgrade to 1.3.2
    By curtiscartmell in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Aug 2006, 11:19 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