Announcement

Collapse
No announcement yet.

Problem with Receipt.html

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

    Problem with Receipt.html

    I have been playing with the receipt page to get anylitics to work

    Now get the error below on snapshot

    Errors
    (File ExportFiles.cpp, Line 456) - The file C:\Program Files\Actinic v8\Sites\Internet Workwear\receipt.html was not found System error 2 - The system cannot find the file specified.
    ..

    How do I reconfigure this page?
    Chris Ashdown

    #2
    Please Help!!
    Chris Ashdown

    Comment


      #3
      Chris,

      Is this still an issue or have you managed to get over it. If it is still a problem, can you go into 'Design | Library | Layouts | Web Page Inner Layout' scroll down and right click on 'Receipt Page Bulk' and select 'Compare with Factory Version' this will tell you if there is something wrong. If there is, right click and select 'Revert To Factory Settings' save and exit. Update the site and then let us know if it works.

      Kind regards,
      Bruce King
      SellerDeck

      Comment


        #4
        I too get this error. I was pretty sure this was generated because I use Analytics with a goal url that does not exist. Could you confirm that you too use the same type of javascript?

        If this is the case then it is nothing to worry about!

        Comment


          #5
          Thanks Bruce but it checks out ok with the fatory settings

          I was trying to get Anylitics to work and seemed to go astray

          The Receipt innerlayout has the following code if it helps

          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
          <html>
          <head>
          <title><actinic:variable name="ReceiptPageTitle" /></title>
          <actinic:variable name="BaseHref" />
          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
          <meta http-equiv="MSThemeCompatible" content="yes" />
          <link href="actinic.css" rel="stylesheet" type="text/css">
          <script language="javascript" type="text/javascript" src="actiniccore.js"></script>
          <script language="javascript" type="text/javascript" src="actinicextras.js"></script>

          <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
          <Actinic:COOKIECHECK />

          <script language="javascript" type="text/javascript">
          <!--
          saveReferrer();
          // -->
          </script>
          <script type="text/javascript">
          _uacct = "UA-xxxx-1";
          urchinTracker('receipt.html');
          </script>
          </head>


          <actinic:variable name="INNERLAYOUT" />
          <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
          </script>

          <body OnLoad="javascript:__utmSetTrans();">

          <form style="display:none" name="utmform">
          <textarea id="utmtrans"></textarea>
          </form>
          <script language="JavaScript" type="text/javascript">
          <!--
          var realprice = <actinic:variable name="ActinicOrderTotal" /> / 100;
          var line1 = 'UTM:T|<Actinic:Variable Name="TheOrderNumber"/>|affiliation|' +
          realprice + '|tax|shipping|city|state|<actinic:variable
          name="InvoiceCountry" />';
          var line2 = 'UTM:I|<Actinic:Variable
          Name="TheOrderNumber"/>|productref|productname|category|price|quantity';
          document.getElementById('utmtrans').value = line1 + '\n' + line2;
          //-->
          </script>


          </body>
          </html>



          The receipt page layout has the following code

          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
          <html>
          <head>
          <title><actinic:variable name="ReceiptPageTitle" /></title>
          <actinic:variable name="BaseHref" />
          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
          <meta http-equiv="MSThemeCompatible" content="yes" />
          <link href="actinic.css" rel="stylesheet" type="text/css">
          <script language="javascript" type="text/javascript" src="actiniccore.js"></script>
          <script language="javascript" type="text/javascript" src="actinicextras.js"></script>

          <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
          <Actinic:COOKIECHECK />

          <script language="javascript" type="text/javascript">
          <!--
          saveReferrer();
          // -->
          </script>
          <script type="text/javascript">
          _uacct = "UA-xxxxxx-1";
          urchinTracker('receipt.html');
          </script>
          </head>


          <actinic:variable name="INNERLAYOUT" />
          <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
          </script>

          <body OnLoad="javascript:__utmSetTrans();">

          <form style="display:none" name="utmform">
          <textarea id="utmtrans"></textarea>
          </form>
          <script language="JavaScript" type="text/javascript">
          <!--
          var realprice = <actinic:variable name="ActinicOrderTotal" /> / 100;
          var line1 = 'UTM:T|<Actinic:Variable Name="TheOrderNumber"/>|affiliation|' +
          realprice + '|tax|shipping|city|state|<actinic:variable
          name="InvoiceCountry" />';
          var line2 = 'UTM:I|<Actinic:Variable
          Name="TheOrderNumber"/>|productref|productname|category|price|quantity';
          document.getElementById('utmtrans').value = line1 + '\n' + line2;
          //-->
          </script>


          </body>
          </html>

          The receipt page seems to work ok but doesn't send the data to anylitics and gives the warning on snapshot

          Many Thanks
          Chris Ashdown

          Comment


            #6
            Chris, the snapshot warning sounds like the old actinic bug whereby a manually entered file reference causes actinic to think it's an external file that it needs to add to the list of files to include in the snapshot. But, because it's a file generated by actinic, the file doesn't exist and so Actinic throws up this error message.

            I'm astounded that actinic hasn't fixed this bug yet. I've had to explain it to people so many times that I've lost count and it really is just actinic being a pain in the ass about actually pulling their finger out and fixing it. I've spent way more time explaining it than it would actually take actinic to fix it.

            The solution is simple. All actinic has to do is check it's additional file list against the list of files it creates itself before making a snapshot.

            Mike
            -----------------------------------------

            First Tackle - Fly Fishing and Game Angling

            -----------------------------------------

            Comment


              #7
              chris this is how i got analytical to work

              on the recipt page i put

              <body OnLoad="javascript:__utmSetTrans();">

              instead of just <body>

              then at the bottom of the innerlayout i put

              <!-- ******************** google analytical conversion code start ********************* -->
              <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
              </script><script type="text/javascript">
              _uacct = "UA-xxxxxxx-x";
              urchinTracker("/sale/receipt.html");
              </script><form style="display:none" name="utmform"><textarea id="utmtrans"></textarea></form><script language="JavaScript" type="text/javascript">
              <!--
              var realprice = NETQUOTEVAR:ACTINICORDERTOTAL / 100;
              var line1 = 'UTM:T|NETQUOTEVAR:THEORDERNUMBER|affiliation|' + realprice + '|tax|shipping|city|state|NETQUOTEVAR:INVOICECOUNTRY';
              var line2 = 'UTM:I|NETQUOTEVAR:THEORDERNUMBER|NETQUOTEVAR:PRODUCTREFERENCE|NETQUOTEVAR:PRODUCTNAME|category|price|quantity';
              document.getElementById('utmtrans').value = line1 + '\n' + line2;
              // -->
              </script>
              <!-- ******************** google analytical conversion code end ********************* -->
              David Mawson
              Phoenix Trading

              http://www.sweetswholesale.co.uk - Wholesale confectionery suppliers

              Comment

              Working...
              X