Announcement

Collapse
No announcement yet.

Norprice not working

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

    Norprice not working

    Hi all

    Are there any Av7 Norprice users out there that can see why my patch is not working. I'm not entirely sure when it stoped working and I can't figure it out.

    Sample page: http://www.kjbeckett.com/acatalog/bowties.html

    Click on the Euro or Canadian flag on the left hand side to see the problem whereby norpricepopup.html pops up but then it all goes wrong.

    I wonder if I need an update for the Textor feed?

    Paul
    KJ Beckett
    Men's Clothing & Accessories
    Cufflinks, Underwear, Ties, Grooming Products
    Bath, England
    Fast delivery to UK, USA and worldwide.
    Men's Fashion Blog

    #2
    Hmmm, I wonder... I have just changed servers.

    I note that the norprice pop-up does not use the kjbeckett.com/acatalog url but
    http://80.243.178.177/acatalog/norpricepopup.html?EUR

    why would this be? Could this have an impact? Before the switch of servers the pop-up always was http://www.kjbeckett.com/acatalog/no...popup.html?EUR

    Paul
    KJ Beckett
    Men's Clothing & Accessories
    Cufflinks, Underwear, Ties, Grooming Products
    Bath, England
    Fast delivery to UK, USA and worldwide.
    Men's Fashion Blog

    Comment


      #3
      Paul,

      Looks like it could be hardcoded into the javascript, have you checked this in your layout?

      The source reads:-

      var hidemain = 'GBP';
      var hidealt = '';
      var showonly = '';
      var hidefraction = 100;
      var mainsymbol = '£';
      var cgiurl = 'http://80.243.178.177/cgi-bin/ca000001.pl';
      function norpricepopup(){
      var arg = '';
      if ( arguments.length == 1 ) arg = '?' + arguments[0];
      var pricewin=window.open('http://80.243.178.177/acatalog/norpricepopup.html' + arg, 'pricepop', 'height=100,width=400,toolbar=no');
      pricewin.focus();
      }
      Cheers

      David
      Located in Edinburgh UK

      http://twitter.com/mcfinster

      Comment


        #4
        Hmmm the actual script in the template seems variable:

        <!-- START NorPrice Support -->
        <script language=JavaScript>
        <!-- V1.17
        var hidemain = 'CUSTOMVAR:MAINCURRENCY';
        var hidealt = 'CUSTOMVAR:ALTCURRENCY';
        var showonly = 'CUSTOMVAR:SHOWONLY';
        var hidefraction = CUSTOMVAR:HIDEFRACTIONRATE;
        var mainsymbol = 'CUSTOMVAR:MAINCURRENCYSYMBOL';
        var cgiurl = 'NETQUOTEVAR:CGIURL';
        function norpricepopup(){
        var arg = '';
        if ( arguments.length == 1 ) arg = '?' + arguments[0];
        var pricewin=window.open('NETQUOTEVAR:BASEHREFnorpricepopup.html' + arg, 'pricepop', 'height=100,width=400,toolbar=no');
        pricewin.focus();
        }
        //-->
        </script>
        I dont thik this is the reason the actual selection functionality is not working...I'm not sure.

        Paul
        KJ Beckett
        Men's Clothing & Accessories
        Cufflinks, Underwear, Ties, Grooming Products
        Bath, England
        Fast delivery to UK, USA and worldwide.
        Men's Fashion Blog

        Comment


          #5
          80.243.178.177
          Im assuming this is your old host???

          Comment


            #6
            80.243.178.177
            is his new host, although I would recommend you use your domain URL in place of IP

            check your network settings are using domain URLs and not IP, do a site refresh using domain URLs if you haven't done this already

            Comment


              #7
              80.243.178.177 is being driven from NETQUOTEVAR:BASEHREF surely this should be showing kjbeckett.com
              KJ Beckett
              Men's Clothing & Accessories
              Cufflinks, Underwear, Ties, Grooming Products
              Bath, England
              Fast delivery to UK, USA and worldwide.
              Men's Fashion Blog

              Comment


                #8
                Originally posted by paulbeckett
                I dont thik this is the reason the actual selection functionality is not working
                Perhaps the network settings in Actinic where changed temporarily to your new IP address instead whilst you moved host then?
                Cheers

                David
                Located in Edinburgh UK

                http://twitter.com/mcfinster

                Comment


                  #9
                  Would the network settings file that I imported into "Network Setup" drive the NETQUOTEVAR:BASEHREF?

                  If so they would be set to 80.243.178.177

                  I'm still using the file that I used during the DNS transfer - perhaps some elements of network set-up need to be updated from 80.243.178.177 to kjbeckett.com

                  Jo, should I have recieved a new network setup file to import in following the DNS change - or at least should I have updated the network set-up in some way?

                  Paul
                  KJ Beckett
                  Men's Clothing & Accessories
                  Cufflinks, Underwear, Ties, Grooming Products
                  Bath, England
                  Fast delivery to UK, USA and worldwide.
                  Men's Fashion Blog

                  Comment


                    #10
                    Paul,

                    That sounds like it. If Jo isn't around post your network settings here and we should be able to advise what to change (remove your passwords and usernames first though)
                    Cheers

                    David
                    Located in Edinburgh UK

                    http://twitter.com/mcfinster

                    Comment


                      #11
                      Thanks Dave! I presume I need to replace all 80.243.178.177 references with kjbeckett.com

                      HTTPPROXYMODE 0
                      HTTPPROXYADDRESS
                      HTTPPROXYPORT 80
                      HTTPPROXYUSER
                      HTTPPROXYPASSWORD
                      FTPPROXYMODE 0
                      FTPPROXYADDRESS
                      FTPPROXYPORT 21
                      FTPPROXYUSER
                      FTPPROXYPASSWORD
                      SCRIPTID 1
                      SCRIPTEXT .pl
                      SMTPHOST mail.kjbeckett.com
                      WEBSITEURL http://80.243.178.177
                      IGNOREPASSIVEERRORS false
                      USERELATIVECGIURLS false
                      PATHTOPERL /usr/bin/perl
                      USEENHANCEFTP false
                      FTPCLIENTTIMEOUT 15000
                      FTPRETRYDELAY 3000
                      FTPSILENT false
                      FTPMAXRETRIES 3
                      FTPCONNECTTIMEOUT 25000
                      SMTPAUTHREQUIRED false
                      SMTPUSERNAME
                      SMTPPASSWORD
                      CATALOGURL http://80.243.178.177/acatalog/
                      CGIBINURL http://80.243.178.177/cgi-bin/
                      PATHFROMCGITOCATALOG ../acatalog/
                      CODEBASE ./
                      FTPHOST 80.243.178.177
                      FTPUSERNAME xxxxxx
                      FTPPASSWORD xxxxxxxxxxxx
                      PATHTOCGIBIN /kjbeckett.com/cgi-bin/
                      USEPASSIVEFTP true
                      FTPPATHFROMCGITOCATALOG /kjbeckett.com/acatalog/
                      KJ Beckett
                      Men's Clothing & Accessories
                      Cufflinks, Underwear, Ties, Grooming Products
                      Bath, England
                      Fast delivery to UK, USA and worldwide.
                      Men's Fashion Blog

                      Comment


                        #12
                        Replace with www.kjbeckett.com, don't forget the www. prefix.

                        Comment

                        Working...
                        X