Announcement

Collapse
No announcement yet.

A Runtime Error has occurred. Do you wish to Debug?

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

    A Runtime Error has occurred. Do you wish to Debug?

    Receiving this error when trying to add to cart. Usind developer 6.1.4. This page is after loggin in so the catalog is running of of .pl script.

    Error:
    A Runtime Error has occurred. Do you wish to Debug?

    Line: 3
    Error: Object expected

    If you click yes the cursor goes to

    FORM METHOD=POST ACTION="http://www.winestuffdirect.com/cgi-bin/ca000013.pl" onsubmit='return onSubmit();

    If you click no it goes to /cgi-bin/ca000013.pl but is a blank page

    You can view at http://www.winestuffdirect.com/acata...shing_Kit.html

    click the buy button

    Ray

    #2
    Hi Ray,

    Please ensure that your online store is using the latest Actinic scripts. To do this:

    1) Go to 'C:\Program Files\Actinic ecommerce v6\Original'
    2) Copy all the files with *.pm and *.pl file extensions
    3) Paste them into your Site1 (or equivalent) folder
    4) Do a complete web refresh ('Web | Refresh Website')

    In order to determine more, please create a test user account and give me the details, so that I can login into your website.
    Cheers,
    Suresh Babu G

    Comment


      #3
      It looks like someones been tinkering with your templates as that "onsubmit='return onSubmit();" bit of JavaScript refers to the line

      <!--@act NETQUOTEVAR:SUBMITFUNCTION -->
      in your Prinary templates (which creates the onSubmit function). Make sure it is there and that you'r not using a different template for some pages that omits this.

      Norman
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Yes that helped the error message but now I am receiving a blank white screen when I add to cart. I have copied the .pl files from the Originals folder and did a refresh. Still seeing a blank screen.

        Comment


          #5
          Hi there,
          Please create a test user account and give me the details, so that I can login into your website. Right now, it seems that its reserved only for registered customers.
          Cheers,
          Suresh Babu G

          Comment


            #6
            username: admin
            PW: duster

            Comment


              #7
              Apologies for the delay in responding to this.

              How very odd. It looks as if the Perl just cannot do anything with your templates for laying out the shopping cart.

              I suggest a couple of things.

              1) Go to 'Design | Options | Miscellaneous' and de-select 'Compact HTML/CGI' - this will uncompact the HTML in the generated site and give us more of a clue about what is happening.

              2) Look in the 'SiteHTML' folder within your 'Site1' folder and look at 'SCTemplate.html'. This is the page for the shopping cart. Is there anything there?

              3) Go to 'Formats\themes\Business' and copy Act_ShoppingCart.html, Act_OrderDetail.html and Act_ShoppingCartXML.html into your 'Site1' folder and upload. See if that helps.

              Comment

              Working...
              X