Announcement

Collapse
No announcement yet.

What's happened here?

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

    What's happened here?

    Hi all,

    Just noticed of late a large drop off of customers purchasing from our site, and i've found out why, but can't figure out what has changed

    It seems that when you go to click on any item that is in stock by clicking on the "add to cart" button, you get the following message:

    http://cgi.www.elitex.co.uk/cgi-bin/...k/ca000001.pl0
    and an "404" page not found.

    I've tried purging the site and a complete refresh - still the same.

    It all points to that one script (which is obviously not there)

    Anyone got any ideas?
    It's driving me nuts!!

    Regards
    www.elitex.co.uk - Computer hardware, peripherals and components.

    #2
    Have you checked your network settings.

    Make sure a 0 has not been placed in the script extensions by mistake?

    Checking the easy ones first
    Affordable solutions for busy professionals.
    Website Maintenance | UK Web Hosting

    Comment


      #3
      Originally posted by los_design
      Have you checked your network settings.

      Make sure a 0 has not been placed in the script extensions by mistake?

      Checking the easy ones first
      Hi,

      Yes i've looked at those, - nothing unusual there
      www.elitex.co.uk - Computer hardware, peripherals and components.

      Comment


        #4
        It's only on your Product pages that the extraneous 0 is appearing. Look in your product layout for the line

        <form method="post" action="<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL" />">


        And make sure it's as above.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Originally posted by NormanRouxel
          It's only on your Product pages that the extraneous 0 is appearing. Look in your product layout for the line

          <form method="post" action="<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL" />">


          And make sure it's as above.

          Hi Norman,

          I've found out that that code wasn't listed in the product layout at all, so i've put the code in as you gave me, purged the web and refreshed it.
          Still the same problem

          Thanks for taking the time to assist!
          www.elitex.co.uk - Computer hardware, peripherals and components.

          Comment


            #6
            Without looking at the site it seems the URL i nthe original post is in error

            http://cgi.www.elitex.co.uk/cgi-bin/...k/ca000001.pl0

            why is there a cgi before the www

            Comment


              #7
              re cgi before www

              Hi Jo,

              Without the cgi before the www my scripts can't be accessed by the server
              We're using demon's hosting which is somewhat different to others i'm told.

              I did take the cgi out briefly to test your thoughts, but on doing that and testing the network settings it came up with the error that it cou;dn't fing the cgi path.

              Thanks for the effort though!
              www.elitex.co.uk - Computer hardware, peripherals and components.

              Comment


                #8
                I've found out that that code wasn't listed in the product layout at all, so i've put the code in as you gave me, purged the web and refreshed it.
                Still the same problem
                Highly unlikely. You wouldn't be able to attempt adding to Cart without that line.

                You may be looking in the wrong place.

                Please undo what you've changed and post your product layout here.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Originally posted by NormanRouxel
                  Highly unlikely. You wouldn't be able to attempt adding to Cart without that line.

                  You may be looking in the wrong place.

                  Please undo what you've changed and post your product layout here.
                  Hi Norman,

                  Code's here:

                  <form method="post" action="<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL" />">
                  <input type="hidden" name="SID" value="<Actinic:Variable Name="SectionID"/>" />
                  <input type="hidden" name="PAGE" value="PRODUCT" />
                  <input type="hidden" name="PAGEFILENAME" value="<actinic:variable name="SectionPageName" />" />
                  <Actinic:SECTION BLOB='<Actinic:Variable Name="SectionCatFile"/>'/>
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
                  <!-- Hidden field when in trial mode -->
                  <input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>" />
                  </actinic:block>
                  </actinic:block>

                  <table width="100%" cellspacing="0" cellpadding="10" border="0">
                  <tr>
                  <td width="25%" align="center" valign="top">
                  <a name="<Actinic:Variable Name="EncodedProductAnchor"/>"></a>
                  <b><Actinic:Variable Name="ProductName"/></b>
                  <br /><br />
                  <actinic:variable name="ProductImageLayout" />
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
                  <br />Ref: <actinic:variable name="ProductReference" />
                  </actinic:block
                  > </td>
                  <td align="left" width="75%" valign="top">
                  <actinic:block php="true" >
                  $sShort = "";
                  $nCount = 0;
                  $sOriginal = '<actinic:variable encoding="perl" name="ProductDescription" selectable="false" />';
                  foreach(explode(" ", $sOriginal) as $sWord)
                  {
                  if ($nCount > 21)
                  {
                  $sShort .= "...";
                  break;
                  }
                  $sShort .= $sWord . " ";
                  $nCount++;
                  }
                  echo $sShort;
                  </actinic:block>
                  <actinic:variable name="ExtendedInformationLinks" />

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22FileURLNotEmpty%22%20%2f%3e">
                  <br />
                  <a href="<Actinic:Variable Name="ProductLinkInfo"/>">
                  <Actinic:Variable Name="ProductLinkText"/>
                  </a>
                  </actinic:block>

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCustomerMessageUsed%22%20%2f%3e">
                  <br />
                  <Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable name="ProductReference" />" COMPONENTID=-1><Actinic:Variable Name="RetailCustomerMessage"/></Actinic:PRICE_EXPLANATION>
                  </actinic:block>

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e">
                  <b>
                  <Actinic:PRICES PROD_REF="<actinic:variable name="ProductReference" />" RETAIL_PRICE_PROMPT="<Actinic:Variable Name="ProductPriceDescription"/>">
                  <actinic:variable name="PriceListRetail" />
                  </Actinic:PRICES>
                  </b>
                  </actinic:block>
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20False">
                  <Actinic:NOTINB2B><br /><strong><actinic:variable name="ProductPriceNotEnabledMessage" /></strong></Actinic:NOTINB2B>
                  </actinic:block>

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22DiscountDescriptionIsShownForProducts%22%20%2f%3e">
                  <br /><actinic:variable name="DiscountList" value="Standard Discount List" />
                  </actinic:block>

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOtherInfoPromptShown%22%20%2f%3e">
                  <br />
                  </actinic:block>

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsDatePromptShown%22%20%2f%3e">
                  <br />
                  <actinic:variable name="DayList" /><actinic:variable name="MonthList" /><actinic:variable name="YearList" />
                  </actinic:block>

                  <actinic:variable name="AttributeList" />
                  <actinic:variable name="ComponentList" />

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptShown%22%20%2f%3e">
                  <br />
                  <span class="actrequired"><Actinic:Variable Name="QuantityPrompt"/></span>
                  &nbsp;
                  <input type="text" name="Q_<Actinic:Variable Name="ProductReference"/>" size="4" value="<Actinic:Variable Name="DefaultQuantity"/>" /> <br/>
                  Quantity available from stock<b><font color="#0000cc"> <actinic:variable formatting="font(Color|0000ff),bold" name="StockLevel" /></b>

                  </actinic:block>
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptHidden%22%20%2f%3e">
                  <input type="hidden" name="Q_<actinic:variable name="ProductReference"/>" value="<actinic:variable name="DefaultQuantity"/>" />
                  </actinic:block>

                  <br /><actinic:variable name="CartError" />

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsAddToCartButtonShown%22%20%2f%3e%20AND%20%0d%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%3d%3d%200%29" >
                  <br /><actinic:variable name="AddToCartButton" />
                  </actinic:block>

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e">
                  <br /><br /><strong><span class="actrequired"><br /><actinic:variable name="OutOfStock" /></span></strong>
                  </actinic:block>

                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e">
                  <br /><br /><strong><span class="actrequired"><Actinic:Variable Name="CatalogSuspended"/></span></strong>
                  </actinic:block>

                  <actinic:variable name="ProductAlsoBoughtList" />

                  <actinic:variable name="ProductRelatedProductsList" />

                  </actinic:block>
                  </actinic:block>
                  </actinic:block>

                  </actinic:block>
                  </td>
                  </tr>
                  </table>



                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e">
                  </form>
                  </actinic:block>
                  www.elitex.co.uk - Computer hardware, peripherals and components.

                  Comment


                    #10
                    Weird. That look OK. Try this for a quick test. Put the following at the very top of that layout

                    [<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL" />]

                    and so a quick Update (preview won't tell us anything useful). Tell us what displays between the [...].
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      PS. Did you miss the first line when pasting your code above? Should be

                      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e">
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #12
                        Results

                        Hi Norman,

                        This is the result of that test:

                        http://cgi.www.elitex.co.uk/cgi-bin/...k/ca000001.pl0
                        www.elitex.co.uk - Computer hardware, peripherals and components.

                        Comment


                          #13
                          If the weird URL shows up in those brackets, go to Design / Library / Layouts / OnlineScriptURL / Shopping Cart Script URL where the code should be a single line
                          Code:
                          <actinic:variable name="CartPageURL" />
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment


                            #14
                            Hmm - found it

                            This is what exists in there,

                            <actinic:variable name="CartPageURL" /><actinic:variable name="Qty on order" />

                            where the qty on order was something i was trying to include on the site to show stock on order.
                            I couldn't get it working, so deleted that, but obviously it's messed up something else!

                            Edit:

                            Removed that variable name, uploaded and site is working fine again now Norman

                            Thanks very very much for all your help!
                            Last edited by Troy; 30-Apr-2007, 02:31 PM. Reason: Problem resolved! - Thanks Norman
                            www.elitex.co.uk - Computer hardware, peripherals and components.

                            Comment


                              #15
                              Restore that to exactly what's in my post #13 and all will be well. Or just right-click the Layout and Revert to Factory Settings.
                              Norman - www.drillpine.biz
                              Edinburgh, U K / Bitez, Turkey

                              Comment

                              Working...
                              X