Announcement

Collapse
No announcement yet.

Error: a runtime error has occured

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

    Error: a runtime error has occured

    Hi folks,

    I am working on Actinic Version 7, I am trying to display a product list in 3 columns. So here is what I have done:

    I have modified the files:

    Act_ProductSeparator.html
    Act_ProductBody.html
    Act_ProductLine.html

    In those files I pasted what the advanced user guide say about displaying products in multiple columns.

    I then went to Advanced | Custom Properties and I added the NUMCOLS -> Text

    Finally I went to Design Options | Site Defaults and I added the NUMCOLS properties and I set it to 3.

    When I preview the page in Actinic I get few runtime errors, is it because Actinic doesn't execute Javascript in the preview?

    When I debug it with Microsoft Script Editor I see that the page P_shop.html has errors in a javascript if statment. I didn't modify the Javascript at all.

    Any help would be very appreciated.

    Many many thanks

    Max

    #2
    Problem found... line brakes

    Hi Folks,

    I found where the error was, I copied and pasted the code in AUG and there were few comment lines and three line brakes.

    Luckily I didn't lose any weight finding the errors this time.

    I hope this will ticket will be of help to future readers,

    Regards

    Max

    Comment


      #3
      I had a similar problem. It's best to follow the link from Actinic's site to the text files rather than copy/paste from the PDF AUG as this avoids the line breaks and page numbers etc.
      http://www.phoenix-pcs.co.uk

      Comment

      Working...
      X