Announcement

Collapse
No announcement yet.

Pages crash

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

    Pages crash

    as instructed in act_primary, act_primarycheckout and act_receiptprimary i have removed:

    function detect()
    {
    framesetpage="index.htm";
    thispage=window.location.href;
    if (thispage.indexOf('://')<0) {thispage="://"+thispage;};
    prefix=thispage.substring(0,thispage.lastIndexOf('://'));
    suffix=thispage.substring(thispage.lastIndexOf('://')+3,thispage.length);
    // alert('the subpage is:['+prefix+']['+suffix+']');
    if (parent.location.href==window.location.href) {parent.location.href=framesetpage+"?"+prefix+"&&&"+suffix};
    }


    however some pages stil crash because the code hasnt been removed on them, even though i have done a full refresh of the site.

    for example follow this through:

    http://www.thesleepshop.co.uk/acatalog/index.html - Bedsteads - Four Posters - Cairnsmore Bedstead

    here the top menu and banner (which is no longer a frame) disappears.also on these pages, the huge js files are still scripted such as act_section_trees, despite being removed from act_primary.

    #2
    I can see the page OK - the banner and top menu are fine - the rest of the page looks ok on the face of it too.
    Perhaps try clearing your local browser cache.

    PS - I notice that all your pages are prefixed with Online_Catalog.

    Comment


      #3
      it still crashes on mine after a few seconds:

      http://www.thesleepshop.co.uk/acatal...tead_3648.html

      and it still loads the java script and doesnt load the top banner.

      do i need to remove the script in my first post from act_brochureprimary?

      Comment


        #4
        Sorry now I understand - I didn't follow your links - you mean go to:
        Code:
        http://www.thesleepshop.co.uk/acatalog/Online_Catalogue_Cairnsmore_Bedstead_3648.html
        and after a few seconds you get redirected to:
        Code:
        http://www.thesleepshop.co.uk/acatalog/index.htm?http&&&www.thesleepshop.co.uk/acatalog/Online_Catalogue_Cairnsmore_Bedstead_3648.html
        which is obviously not found.

        I don't know why this is but hopefully the info I posted above will help someone who does.

        Comment


          #5
          Yes, remove the javascript from all the primary templates as this is what's causing the problem.

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

          First Tackle - Fly Fishing and Game Angling

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

          Comment


            #6
            do you mean every template with primary in the file name? ive removed the script from the 3 templates that appear in Design - Options - Layouts

            Comment


              #7
              In the actinic site tree on the left, click on the page that has the Cairnsmaore bedstead product(s), then look on the layout tab against overall layout.

              If there is a template name there, then that is the one you need to edit (you should be able to click the edit button right beside the template name) as that is the one that still has the function detect frames code in it.
              Bill
              www.egyptianwonders.co.uk
              Text directoryWorldwide Actinic(TM) shops
              BC Ness Solutions Support services, custom software
              Registered Microsoft™ Partner (ISV)
              VoIP UK: 0131 208 0605
              Located: Alexandria, EGYPT

              Comment


                #8
                ah yes the script was still in act_primary1. looks like you've solved it. thanks. right now for a 3 hour update of the site to see if it worked.....

                Comment


                  #9
                  Should not take three hours unless act_primary1 is a heavily used template. Only the pages which use that template will be rewritten by a change to that template and only those pages will be sent up to the site in an update (unless of course, you are doing DD - and I don't see anyone here downloading beds )
                  Bill
                  www.egyptianwonders.co.uk
                  Text directoryWorldwide Actinic(TM) shops
                  BC Ness Solutions Support services, custom software
                  Registered Microsoft™ Partner (ISV)
                  VoIP UK: 0131 208 0605
                  Located: Alexandria, EGYPT

                  Comment


                    #10
                    haha

                    yes there are 2000 pages that use that template!

                    Comment


                      #11
                      ah brilliant it worked:

                      http://www.thesleepshop.co.uk/acatal...tead_3648.html

                      only problem is i forgot to include the html scripting for the categories and manufacturers on teh left hand side. oh well time for another 3 hour upload...

                      Comment

                      Working...
                      X