Can someone look at this webpage and tell me why I’m getting an Error?

Posted on October 28th, 2009 by admin in view index.shtml | 3 Comments »

http://www.primetimeandonline.com/html/index.shtml

I’m using the code <!–#include virtual="/html/side.shtml"–>

Everything is linked properly, but when I upload it to the server and attempt to view the webpage, I get a flat error message telling me some kind of error occured while processing the directive. I have no idea what that means, it doesn’t give me any details, but I figured someone here would be able to look into it and tell me why it’s giving me this…
Alright, I got it to show on the webpage now but it’s in the wrong spot. It should be on the right-hand side, not underneath.. Any advice?

I didn’t spend a lot of time on it, but as far as I can tell,
http://www.primetimeandonline.com/html/side.shtml
does not exist, therefore it would be trying to load a file that doesn’t exist.

3 Responses

  1. PayneLessDesigns.com Says:

    Where is the include file you are referring to? In the same directory as the index.shtml? Just put all your include files to be called in the root directory where your main index file is.

    For an include file in same directory, use:

    <!–#include file="side.shtml" –>

    You don’t need the include file name *.shtml. If you have your .htaccess file set up correctly, they can be just plain *.html and then your web pages can stay as *.shtml.

    If the include file is not in the same directory as the page calling it, then use:

    <!–#include virtual="/side.shtml" –>

    Some HTML coding errors:
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.primetimeandonline.com%2Fhtml%2Findex.shtml

    Some CSS coding errors:
    http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww.primetimeandonline.com%2Fhtml%2Findex.shtml

    Ron
    References :

  2. Gr1m Says:

    I didn’t spend a lot of time on it, but as far as I can tell,
    http://www.primetimeandonline.com/html/side.shtml
    does not exist, therefore it would be trying to load a file that doesn’t exist.
    References :

  3. Aithne - Baby #2 01-12-09 Says:

    Um..ok..wow..I viewed the source of your page and can just say…that’s incredibly nuts looking. You need to do some major reworking of your divs dude..cuz that’s just..way more code than is needed!

    Meta and style tags..you don’t put those in the body and they only need to be done once in the head tags. Also, don’t do your divs like that. By closing the previous divs, your are making it do new divs down the page instead of them aligning properly. do something like this.

    Container div
    -Header/Close header div
    -Content
    -Left Div/Close left Div
    -Right Div/Close right div
    -Close Content div
    -Footer div/Close footer div
    -Close container div.

    Divs are simple to use but you are just not using them right. You’ve probably got 3-4 times the code you need for that layout.
    References :

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

|