[Solved] Pages load partially in IE, then 404 error

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
kanjigirl
Forum Members
Forum Members
Posts: 52
Joined: Fri Aug 01, 2008 11:23 pm

[Solved] Pages load partially in IE, then 404 error

Post by kanjigirl »

I'm using CMSms 1.3.1.

The pages on my site will load almost all the way in IE7, then give a Page Not Found error. I don't know what to look for, can someone advise?

http://www.redkitecreative.com/projects/naww/



NOTE: Please see Mark's post near the end of the thread for the trick. I had two things in my CSS that should have been conditionally commented.
Last edited by Anonymous on Fri Aug 15, 2008 7:30 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Pages load partially in IE, then 404 error

Post by Dr.CSS »

Goes good in Firefox 2.***...

Is server up to par?...
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Pages load partially in IE, then 404 error

Post by Nullig »

Your header div is below the main content and sidebar divs. Try moving it to before them.

Nullig
kanjigirl
Forum Members
Forum Members
Posts: 52
Joined: Fri Aug 01, 2008 11:23 pm

Re: Pages load partially in IE, then 404 error

Post by kanjigirl »

My header div is absolutely positioned (CSS) above the content div. Can CMSms not support this (which is what I always do for SEO purposes)?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Pages load partially in IE, then 404 error

Post by Nullig »

I'm not talking about the CSS styling, I'm talking about your template code.

Nullig
kanjigirl
Forum Members
Forum Members
Posts: 52
Joined: Fri Aug 01, 2008 11:23 pm

Re: Pages load partially in IE, then 404 error

Post by kanjigirl »

I understand what you're saying, but CSS allows one to display the content above the header/footer/nav etc. so that search engines find that first, and it's working perfectly in IE until I load it into the CMSms template. Are you saying that CMSms will override my CSS and force me to put the page divs in the order they appear, not the order I want them in?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Pages load partially in IE, then 404 error

Post by Nullig »

I think it has to do with the way Internet Explorer processes the HTML. Currently, your header does not display at all in IE6 and IE7 seems to be getting hung up on it, which prevents the page from loading. Firefox handles it OK.

Your current template is something like this:


 
     
       
       
       
           
             
                 
             
           
       
       
         
         
       

     
     
       
       
       
       
     
 


You should move the red section (header div) to just below the green line (content div).

Nullig
kanjigirl
Forum Members
Forum Members
Posts: 52
Joined: Fri Aug 01, 2008 11:23 pm

Re: Pages load partially in IE, then 404 error

Post by kanjigirl »

I'll consider it, thanks for your info.
Pierre M.

Re: Pages load partially in IE, then 404 error

Post by Pierre M. »

This is not CMSms specific. Would be same with static HTML+CSS pages.

Pierre M.
kanjigirl
Forum Members
Forum Members
Posts: 52
Joined: Fri Aug 01, 2008 11:23 pm

Re: Pages load partially in IE, then 404 error

Post by kanjigirl »

Not really - unless I'm totally misunderstanding your point and if so I apologize.

I always build my static XHTML/CSS sites with the content above the header section for SEO purposes and have been doing this for years. It works perfectly well in IE, as does the template page for this site when you load it as a regular page and not as the CMSms background.

http://www.webmasterworld.com/search_engine_promotion/3435516.htm
Pierre M.

Re: Pages load partially in IE, then 404 error

Post by Pierre M. »

Strange. I may have misunderstood, sorry.

What about this : create a new (fake) template with nothing in it except your static XHTML+CSS. Make a new (fake) page from it. Does it show as the same static page on the same server ?

BTW, what is your webserver ? any proxy on the way ?

Pierre M.
kanjigirl
Forum Members
Forum Members
Posts: 52
Joined: Fri Aug 01, 2008 11:23 pm

Re: Pages load partially in IE, then 404 error

Post by kanjigirl »

So here's what I've done - I moved the header up above the content in the HTML file, giving up on my source order modification. The page still loads almost completely then gives a 404 error in IE7.

I tried removing everything in the template file between the body tags - same result.

I then tried unattaching the CSS file to the template and then it loaded completely. So now I'm going through the CSS file commenting things out one by one to see if I can narrow it down. Renaming all the styles in the template did not help.

My production site is on a shared server, what info would be helpful to know?
kanjigirl
Forum Members
Forum Members
Posts: 52
Joined: Fri Aug 01, 2008 11:23 pm

Re: Pages load partially in IE, then 404 error

Post by kanjigirl »

Now I've taken everything out of my CSS file - it still loads almost entirely then gives 404 error even when the CSS file is blank. When I detach the CSS file the page finally loads all the way in IE7.

http://www.redkitecreative.com/projects/naww/index.php

I tried reattaching the CSS file while it was still blank, and lo and behold, it still loads. Then I tried pasting my styles back into the blank CSS file, saved that, and IE7 again gives me a 404 error after (it looks like) the page is just about entirely loaded. All elements are in the right places, all looks fine for the second or two that it's visible.

It validates as XHTML Strict 1.0. There are CSS errors but they're associated with Album and removing Album didn't help.

I tried Pierre's suggestion - creating a new fake template with my template's HTML + the CSS. I don't think I understood correctly because it loads in FF and IE7 but doesn't pick up most of the styles:

http://www.redkitecreative.com/projects/naww/index.php?page=test

Please - any other suggestions here? If I can't get this site to work in IE then I'm going to have to start over and I really cannot afford to do that.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Pages load partially in IE, then 404 error

Post by Dr.CSS »

Try moving these out of CSS and into the with the if IE6 tag around them, will have to use {literal} tag also...


img {
behavior: url(iepngfix.htc);
}

#wheat-ears img {
behavior: url(iepngfix.htc);
}
kanjigirl
Forum Members
Forum Members
Posts: 52
Joined: Fri Aug 01, 2008 11:23 pm

Re: Pages load partially in IE, then 404 error

Post by kanjigirl »

Sorry - do I enclose the IE6 tag in the literal tag?
Post Reply

Return to “Layout and Design (CSS & HTML)”