Announcement

Collapse
No announcement yet.

Contact Us & Search results displaying without some images (IE not FF) - why?

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

    Contact Us & Search results displaying without some images (IE not FF) - why?

    This problem is apparent in Internet Explorer 6 and 7. It doesn't appear as a problem in Firefox 2 or Safari.

    Here is the site in question


    The main page displays fine in all browsers. However, in Explorer, when you view the 'Contact Us' page or use the quick search, the results appear but the site logo and search images do not appear. Does anybody know why?

    Clues:
    As soon as you navigate to the 'Contact Us' page in IE, the bottom left of the browser shows an error warning. Clicking this gives three warning, all identical but identifying different lines - lines 8, 12 and 16. Here is the error it gives...

    'Char: 1
    Error: Object Expected
    Code: 0
    URL: http://www.buyit247.com/cgi-bin/mf000001.pl?=SHOWFORM'

    My feeling is that it is something to do with where the CGI is looking but I don't know where to look or change this within Actinic.

    Here are the things I have tried already...

    1. I have checked the Baseref is the same on the contact us page in both browsers (it is). I have also checked the source code in both browsers and they both show the BaseHref as www.buyit247.com/acatalog/.
    2. I have performed a network test in Actinic and it produces no problems
    3. I have tried reverting the 'Contact Us Bulk Area' in Design > Library > Layout > Web Page Inner Layout to factory settings. I have also done a compare with previous versions (no different).

    Anyone got any tips where to look next?

    #2
    Hi Ben
    Your logo is stored here: http://www.buyit247.com/acatalog/logo1_snow.gif
    However your Contact Us page is looking for it here: http://www.buyit247.com/cgi-bin/logo1_snow.gif
    Of course it isn't there as all images are normally in acatalog/

    Regards
    Howard

    Comment


      #3
      Hi Howard,

      Mmmm curious. Yet if I 'view source' on the contact us page in Firefox it shows the correct location http://www.buyit247.com/acatalog/logo1_snow.gif

      So I suppose the next question is, why would IE decide to look for it in the cgi-bin? presumably there is some code I need to add to make IE read the page correctly and look in the right place?

      Comment


        #4
        If I look at the View Cart page, I see
        Code:
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/<head>  
        
        <title>buyit247.com from PC Interworks LTD</title>
        
        <BASE HREF="http://www.buyit247.com/acatalog/">
        So it looks like some error in your Overall Layout that's used for such pages where you've deleted some of the first tag and lost it's closing >.

        The browser consequently cannot see the <html> or <head> tag and that may be breaking things.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Here's what you should have
          Code:
          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
          <html>
          <head>
          <title><actinic:variable name="PageTitle" /></title>
          <actinic:variable name="BaseHref" />
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Hi Norman,

            Thanks for that, sounds plausible. I'll give it a go first thing Monday when I'm back in the office and report back.

            Cheers - Ben

            Comment


              #7
              Hi Norman,

              Just to say thanks - that's worked a treat, all working fine now.

              Ben

              Comment

              Working...
              X