Announcement

Collapse
No announcement yet.

'CreateArray' problem

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

    'CreateArray' problem

    When going from the brochure page to a page within the /acatalog/ directory, I get a script error which says:

    Line: 1
    Error: 'CreateArray' is undefined

    I've attached a picture of the debug

    Since I don't think I changed anything that should affect the
    scripts, I'm not sure how to fix it.

    Any suggestions?
    Attached Files

    #2
    Make sure that the following 2 lines

    <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>

    are in the <HEAD> section of your Primary Template (usually Act_Primary.html) and that you have no other JavaScript above them.

    If that doesn't help you fix it, post Act_Primary.html so we can take a peek.

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

    Comment


      #3
      I've attached the first bit of the Act_Primary.html file as the whole file was too big for Actinic to let me upload.


      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
      <title>Antrixx Computers - NETQUOTEVAR:PAGEHEADER</title>
      <!--@act NETQUOTEVAR:HEADERMETA -->
      <!--@act NETQUOTEVAR:LOADFUNCTION -->
      <!--@act NETQUOTEVAR:SUBMITFUNCTION -->
      <!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
      <!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->
      <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
      <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
      <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
      <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
      <link rel="stylesheet" type="text/css" href="main_primary.css">
      </head>

      <BODY NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" OnLoad="NETQUOTEVAR:ONLOAD" link="#808080" vlink="#808080" alink="#808080">

      <Actinic:COOKIECHECK/>

      Comment


        #4
        Sorted it.

        I shouldn't have had the <!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW --> in there.

        Works fine now :-)

        Comment


          #5
          Also the line

          <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>

          should be moved up so it's right underneath the

          <title>Antrixx Computers - NETQUOTEVAR:PAGEHEADER</title>

          line.

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

          Comment


            #6
            Thanks. It didn't make and difference to the page, but I've done it anyway :-)

            Comment

            Working...
            X