----- Original Message -----
From: "joseph harris" <smilep...@vfemail.net>
To: <wdvltalk@lists.wdvl.com>
Sent: Friday, January 02, 2009 5:18 PM
Subject: Re: [wdvltalk] SSI file link not working
From: "David Precious"
joseph harris wrote:
I have a sub-folder which calls from the main folder. A gif
is called successfully thus:
SRC="../smallpic.gif"
But I get:
[an error occurred while processing this directive]
for:
<!--#include file="../site-links.txt"--> - and for / and ./
You want a space before the close of the comment, i.e.:
<!--#include file="../site-links.txt" -->
Also, another option is using include virtual="..." to supply
the full path from the document root:
<!--#include virtual="/site-links.txt" -->
If neither of those work, check the server's error_log for
clues.
Cheers
Dave P
Still nothing; have tried every variation from your advice.
Here is a shortened extract from the log - which tells nothing
except I have a problem! ;-)
[Fri Jan 02 07:33:05 2009] [error] [client 127.0.0.1] unable to
include file "../site-links.txt"
"./site-links.txt" in parsed file
"/site-links.txt"
file "../site-links.txt" in parsed file
"site-links.txt" in parsed file
file "../site-links.txt" in parsed file
"/site-links.txt" in parsed file
"./site-links.txt" in parsed file
"./site-links.txt" in parsed file
"C:/..........." in parsed file
"root/........." in parsed file
"localhost/........." in parsed file
"127.0.0.1/." in parsed file
"site-links.txt"
"site-links.txt"
file "/site-links.txt"
"./site-links.txt"
[Fri Jan 02 16:24:24 2009] [error] [client 127.0.0.1] unable to
include file "../site-links.txt" in parsed file
I tried uploading to the host, and exactly the same problem
http://www.controlyourdebtcrisis.co.uk/book-cydc/cydc_pt1.shtml
with this
<!--#include file="../site-links.txt" --> and this
<!--#include file="../site-links.txt"-->
Is there some variation with php5 which might affect it? I'm
trying to develop a template fot that folder, so need some
resolution; I'm reluctant to just copy the files because of
future overlooking!
Joseph
This is the one that works:
<!--#include virtual="../site-links.txt" --> I thought I had
tried it, but maybe not.
;-) However, this now causes problems with picking up the images!
Again, Dave, many thanks for the help which led me to the
solution.
Joseph
Joseph Harris - Debt Control Man
author: Control Your Debt Crisis on Your Own Terms
blog: http://debtcontrolman.wordpress.com
site: http://www.controlyourdebtcrisis.co.uk
wiki: http://www.controlyourdebtcrisis.co.uk/debtwiki/
ezine: debtcrisisnews-subscr...@lists.controlyourdebtcrisis.co.uk
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To:
mailto:subscribe-wdvlt...@intm-dl.sparklist.com or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: arch...@jab.org
To unsubscribe send a blank email to
leave-50401310-230552.f22dcf5120bad5a91a87f69f1e923...@lists.wdvl.com
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.