• Redirect Error and jump out of Frame (6)

    Home » Forums » Developers, developers, developers » Web design and development » Redirect Error and jump out of Frame (6)

    • This topic has 6 replies, 2 voices, and was last updated 20 years ago.
    Author
    Topic
    #417041

    Hi there,
    I’m not sure whether this is the correct place to be asking this, but I’m sure one of you kind loungers will point me in the correct direction if I have it wrong.

    I look after a site for my church and it is set up on a redirect from the deomain registration company.

    The redirect page set up by the company looks like this:

    
    St James Church Milton
    
    
    
    
    
    
    St James Church Milton
    
    
    
    
    http://stjamesmilton.net/
    [/url]

    Now, whilst the page at http://stjamesmilton.port5.com/ loads OK, I get the following “Errors on page” reported by IE:

    Line: 3
    Char: 443
    Error: Access is denied.
    Code: 0
    URL: http://stjamesmilton.port5.com/
    

    If one goes directly to http://stjamesmilton.port5.com/ then no such errors are reported.

    So the first question is, can anyone see why I am getting the error?

    Next, I want to change the name and host of the site and would like to create a page that will cause a jump out of the frames page so that the new address loads in the address bar.
    Does anyone know how I do this?

    TIA

    Viewing 0 reply threads
    Author
    Replies
    • #934665

      Character 443? That’s an awfully long line of code! I wonder whether your host is changing your page on the fly, or whether this really is something in the hidden second frame. If you temporarily enable display of enough of the bottom frame to right-click it and view source (e.g., change the proportions to 90%,10%), does that provide any insights?

      On your second question, lots of web sites have sample code to “escape” a frame and occupy the entire browser window. This then would show the true URL. Is that what you want, or something different?

      • #935080

        Well I altered the ratios to 90/10 but I didn’t see anything different?

        What should I have been looking for?

        • #935210

          That was so you could right-click in the bottom frame. What is the URL so we can see the error?

          • #935600

            Sorry for the delay but I’ve been at CEBIT in Hanover for the last couple of days.

            The URL was posted in the first post. It is http://www.stjamesmilton.net

            However you can see the error just by taking the complete block of HTML that I posted and writing it to a .HTM page on your own PC and then opening it in IE.

            The same HTML is used to redirect to other sites (albeit with different URLs) and it does not produce the error.

            For example try http://www.isleofwightwines.co.uk

            So we have

            http://www.isleofwightwines.co.uk redirect to perksofventnor.co.uk OK
            direct access to stjamesmilton.port5.com OK
            http://www.stjamesmilton.net redirect to stjamesmilton.port5.com Page loads but with errors reported

            • #935744

              Actually, there is no redirect. The ISP still has you in their frameset. Might this be creating a problem for a script on your site?

              When I visit your page (the frameset) using Firefox, the JavaScript console reports this:

              “Error: uncaught exception: Permission denied to get property HTMLDocument.referrer”

              This is consistent with the Access Denied error in IE. Something in your script was written with the assumption that it would be able to access certain window properties, and perhaps because two domains are involved (??), it cannot do that.

            • #935753

              Following up on my last post, if you place these tags at the bottom of a test document on your site that calls the statistics script, and load it inside the ISP frame, I suspect you would get similar errors:

              document.write(top.document.referer);

              Here’s the include where I believe the error is occurring:

    Viewing 0 reply threads
    Reply To: Redirect Error and jump out of Frame (6)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: