Re: [wdvltalk] SSI file link not working

2009-01-02 Thread 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


 • 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-50386869-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.


Re: [wdvltalk] SSI file link not working

2009-01-02 Thread joseph harris

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


 • 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-50387733-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.