Announcement

Collapse
No announcement yet.

actinicextras.js error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    actinicextras.js error

    OK

    this one has lost me and hoping someone here can help. Im working on this site http://www.casupply.co.uk/acatalog/t...log/index.html

    now when you add something to basket and click to checkout i get a js error on checkoutpage 0 i can see its the new checkout invoice and delivery not working as the delivery address is viewable all the time.

    Code:
    Message: 'options' is null or not an object
    Line: 1146
    Char: 2
    Code: 0
    URI: https://www.casupply.co.uk/acatalog/...tinicextras.js
    I have compared the line 1146 as quoted in the error with another site and it is exactly the same. I have reset the the layouts to factory default and uploaded but this the same problem

    JS is a complete no go area for me but wondered if anyone can shed some light on what might be causign this problem

    Cheers
    Darren

    #2
    File actinicextras.js shows error "cmbCountry.options is undefined" it can't find it in the code. Relating to this line:
    cmbCountry.options.length = 1; // clear the state select options except for 'Select country'
    It might be one for support to check.

    P.S. I also got a Javascript error on your site relating to mootools.js $.element is not a function, may not be a major concern but thought I would mention it.
    Peblaco

    Comment


      #3
      thanks louise, i appreciate the time

      The mootools one is odd, i did not get that. ho hum more work

      Darren

      Comment


        #4
        tell a lie, under FF it gives a mootools error aswell

        Comment


          #5
          I have copied the actinicextras.js file from the original to the site and this has made no difference either.

          Comment


            #6
            I'll get this checked out.
            Benjamin Dyer
            CEO - SellerDeck Ecommerce Software for SME's

            SellerDeck is the new name for Actinic Desktop

            Have you tried searching the Knowledge Base?

            Comment


              #7
              I think this is a bug

              If i add US to the valid locations then it clears the error message and the script works online

              Comment


                #8
                We have just been looking at this, can you try the following pls:

                function SetInvoiceCountries()
                {
                var cmbCountry = document.getElementById('lstInvoiceCountry');
                if (!cmbCountry || !cmbCountry.options)
                {
                return;
                }
                Benjamin Dyer
                CEO - SellerDeck Ecommerce Software for SME's

                SellerDeck is the new name for Actinic Desktop

                Have you tried searching the Knowledge Base?

                Comment


                  #9
                  no problems but were would you like me to add the code?

                  Darren

                  Comment


                    #10
                    ah ok found it a few lines earlier and replaced what was there, it has cleared the error in the preview pain, i am just uploading now

                    Darren

                    Comment


                      #11
                      YEP that seems to have done the trick, uploaded and is working fine

                      Comment


                        #12
                        Sorry, you got there before me.

                        If anyone else is getting this add the code to actinicextras.js at the start of SetInvoiceCountries function.

                        I have also raised a bug.
                        Benjamin Dyer
                        CEO - SellerDeck Ecommerce Software for SME's

                        SellerDeck is the new name for Actinic Desktop

                        Have you tried searching the Knowledge Base?

                        Comment


                          #13
                          ok just to clarify

                          find the code around line 1131 in the actinicextras.js
                          Code:
                          function SetInvoiceCountries()
                           {
                           var cmbCountry = document.getElementById('lstInvoiceCountry');
                           if (!cmbCountry)
                            {
                            return;
                            }
                          and replace this with
                          Code:
                          function SetInvoiceCountries()
                           {
                           var cmbCountry = document.getElementById('lstInvoiceCountry');
                           if (!cmbCountry || !cmbCountry.options)
                           {
                           return;
                           }
                          then upload

                          Comment


                            #14
                            wot he said
                            Benjamin Dyer
                            CEO - SellerDeck Ecommerce Software for SME's

                            SellerDeck is the new name for Actinic Desktop

                            Have you tried searching the Knowledge Base?

                            Comment


                              #15
                              Originally posted by benjamin dyer View Post
                              wot he said
                              lmao......

                              Comment

                              Working...
                              X