Jackiecc
05-05-2003, 04:52 AM
I'm helping a friend to use ssi. I've used it many times before and have never gotten this error. The error is: [an error occurred while processing this directive].
The code is fine as far as I can tell. The index is renamed .shtml, and the file he's inserting is .txt with the <!--#include file="http://www.shyzer.com/blog.txt" -->, but I get that error.
I tried to search for it on yahoo but all i got was a link of sites who also had the error.
Any clues?
lefty
05-05-2003, 05:11 AM
Where is his site hosted? Make sure it supports SSI before you go crazy over it. :)
Dude128
05-05-2003, 05:14 AM
are you sure the host supports SSI?
also, is the host geocities? if so, I believe you'll have to keep the .html extension instead of changing it to .shtml. geocities can be weird like that :P
Jackiecc
05-05-2003, 01:25 PM
nope, it's not geocities. It's hosted by Contrast host (http://contrasthost.com/index.php?zone=services&robot=hosting) which supports ssi, php, mysql, everything.
starlet
05-05-2003, 03:36 PM
Maybe try this code instead?
<!--#include virtual="whatever.txt"-->
The code above should actually work if the .txt file is in the same directory as the index page...so im not sure why it isnt, but maybe the above code will help.
BugGirl
05-05-2003, 09:29 PM
if he's using subdirectories, that could be the prob....try removing the address so it's just blog.txt
Jackiecc
05-05-2003, 09:32 PM
Originally posted by BugGirl
if he's using subdirectories, that could be the prob....try removing the address so it's just blog.txt
Yeah, I figured that out a few minutes ago when playing around with it. It seems kind of weird to me that you can't use fullpaths, but whatever.
Thanks for all your help :)
LadyCrow
05-13-2003, 04:39 AM
does geocities still support this?
ihave tried both inclue virtual and file and neither work