Announcement

Collapse
No announcement yet.

urgent help needed!!

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

    urgent help needed!!

    ive made some changed to the way this site works: www.ukbikestore.co.uk

    I know it looks a bit naff at the moment but im working on its layout at the moment. basicly all was working fine, then i changed the extended info template and the javascript.showpopup code in design, text, HTML so that the extended info pages that have the click to purchase buttons open in the same window.

    The products that are still in the old format where the buy button is on the main page not the ext info page work fine, however if you start your order buy buying somthing from the new type (suchs as something from the helmets section) the cart confirm screen is all messed up. None of the images appear because it adds the name of the previous html file to the directory (ie if the product page was 1234ehtml then the images would be pointing to acatalogue/1234ehtml/images etc)

    then once it redirects after 5 seconds is says page cannot be found. Then if you click view cart of checkout the same problems occur.

    If you then clear your cookies and try again, starting your order with an old product type such as a bag everything works fine, and continues to do so even if you add new type products.

    Can anyone please help me with this, I dont ahve a clue why its acting so weird and i need to get it sorted ASAP

    Many thanks

    Dave

    #2
    Your cgi-bin appears to be using an IP address while your pages use a text url.

    Also you've not told us what changes you made to make the popup open in the same page. If the site worked before you changed something it would help to know what those changes were both before and after.

    Finally, to help others who might want to help but have given up trying to find your "new" and "old" type products it might be useful to give URLs of such pages.

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

    Comment


      #3
      the old style can be found here: http://www.ukbikestore.co.uk/acatalog/BAGS.html where the add to cart button is in the product list page.

      the new style is here: http://www.ukbikestore.co.uk/acatalog/HELMETS_.html where you go onto more info for the add to cart button.

      everthing was working fine untill i made two changes.

      1. i changed phase -1 ID 2175 to %s
      2. i removed the line of code at the top of actinic_extendedinfo.html that defines the popup size. <Actinic:WINDOW WIDTH="400" HEIGHT="350"/>

      I have checked the settings in network setup, and the cgi bin url is shown as an ip address, could i fix the problem by changing it to the actual url??

      Thanks for the help

      Dave

      Comment


        #4
        1. i changed phase -1 ID 2175 to %s
        Did you work this out yourself, or is it from some other document. If so post the info you followed. It may be that this just won't work.

        Did you not also make some changes to the popup template? I think you'd have to. If so, show what you did.

        If this is your own effort then no-one but you can fix it.

        However you might want to look at www.drillpine.biz/actinicstuff/ where there's a working demo of including add to cart functionality on the popup pages.

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

        Comment


          #5
          Here is what the ext info template looks like atm:

          Code:
          <HTML>
          <HEAD>
          <TITLE>NETQUOTEVAR:PAGETITLE NETQUOTEVAR:PAGEHEADER</TITLE>
             <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
             <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
             <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
             <LINK REL=STYLESHEET HREF="actinic.css">
          </HEAD>
          <BODY NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR text="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
          <!-- ProductLine HTML begin -->
          
          NETQUOTEVAR:PRODUCTFORMBEGIN
          <table cellpadding="6">
            <tr>    
              <td width="350"><p><a name="NETQUOTEVAR:PRODUCTANCHOR" class="actsmall"><span class="actsmall"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a><br>
                      <span class="actxsmall">NETQUOTEVAR:PRODUCTREF <br>
                      <b>NETQUOTEVAR:PRODUCTPRICE</b><br>
          <br>
                      <b>NETQUOTEVAR:CARTERRORXML NETQUOTEVAR:PRODUCTQUANTITY<br>
                      </b>
          	        <b><Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON<br>
          <a href="#" onClick="history.go(-1);return true;">Continue shopping</a>
           </Actinic:ACTIONS> NETQUOTEVAR:TEMPLATEENDXML</b></span></p>    </td>
          	<td valign="TOP" align="LEFT" colspan="2">  
                <p><br>
                  <img src="NETQUOTEVAR:INFOIMAGE" width=NETQUOTEVAR:INFOIMAGEWIDTH height=NETQUOTEVAR:INFOIMAGEHEIGHT>      </p>
                <p>&nbsp;</p>
                <p><span class="actxsmall"></span>
              </p></td>
            </tr>
            <tr>
              <td align="LEFT" colspan="2"><span class="actxsmall">NETQUOTEVAR:INFOTEXT
          	</span></td>
          </table>
          <p>NETQUOTEVAR:PRODUCTFORMEND</p>
          </BODY>
          </HTML>
          Ive had the site running with buying buttons in the popup window for about a week with no problems, then i changed the ID 2175 as i described (found out in this thread: http://community.actinic.com/showthr...highlight=2175) and removed <Actinic:WINDOW WIDTH="400" HEIGHT="350"/> from the top of the extended info template. I also changed the close window javascript link to a simple back button as you can see in the code above.

          These three changes are all i did to simply change the popup so that it jsut opens as another page, and it was the only change that caused the checkout to go funny. If i undo the changes it works fine again.

          If i knew the templates for the cart confirm, view cart, and checkout pages i could edit the images so they always point to a fixed place. Also i would like to know where the code that controls the 5 second re direct on the cart confirm page, as i would like to change it to re direct to the home page to stop it pointing back to dead links.

          Thanks for the help

          Dave

          Comment


            #6
            I changed the network settings so they all used the url instead of the ip address as was the case with the CGI bin.

            The site then worked fine without a hitch accept the site uses actinics secure servers for the credit card details and once i made the change it would no longer accept sessions from the cart, just giving an error page instead.

            This was the reason the cgi bin was changed some time ago. I have restored the site back for now, but i hope it will be possible to contact actinic and change their secure server settings to allow our account the be recognised when the cgi bin is listed with a URl?

            If not i will have to wait for a security certificate for SSL on the webhost.

            Thanks for the help Norman

            Dave

            Comment

            Working...
            X