|
This error message is presented to you when you use a Server Side Include command that has gone bad for any reason. Often you try and include another page or script which in turn misbehave, doesn´t exist, is malformed or you don´t have access to.
There is two types of SSI include commands, "include file" and "include virtual". My suggestion is to only use the "include virtual" version, since it can handle both relative and absolute paths to the file you are trying to include.
There are also some pointers that is good to have in mind when using the SSI include virtual command. * It uses a URL, not local server path. * URL's using either absolut or relative paths can be used. * An absolut URL starts with a slash "/". * A relative URL starts with a dot or folder/file name. * If the URL works inside a "A HREF"-tag, it works inside a SSI include virtual command.
Following the last pointer, my suggestion would be to create a link (using an "A HREF"-tag) in the page you have the SSI command in and try and click on that link to see how your browser interpret that particular link. This way you will probably get a better understanding about what goes on and if it is the link that is in error or if it is the page you are including that for some reason presents an error. If so, you will see the error message and it will give you a better chance of investigate the problem further.
A side note regarding SSI commands is that some servers doesn´t cope with having a space between the last " and the --> part, so if you experience problems with your SSI tags, removing this space might be one thing to try out.
If you still can´t figure out why you receive this message post a message in the forum, stating that you have read this document and explain what measures you have taken thus far to pinpoint the problem.
|