RootsWeb.com Mailing Lists
Total: 1/1
    1. Re: [FreeHelp] SSI problem?
    2. Lorrie Laskey
    3. Rosemary, Can you save the problem file as a .txt file and upload it so others may view the code? Lorrie On 10/24/10 04:07, Rosemary Probert wrote: > Hi Barry, > > The syntax I'm using is > <!--#include virtual="../../includes/war-memorials-footer.txt" --> > I think this is right - it's the same as on the other pages as I make a > template for the common parts of the page. > > The include file is here: > http://www.rootsweb.ancestry.com/~engcbanb/includes/war-memorials-footer.txt > > It does work on pages such as this: > http://www.rootsweb.ancestry.com/~engcbanb/war-memorials/adderbury/1914-1918-1.htm > > I just can't see what's different :-( > > Rosemary > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > On 24/10/2010 09:54, Barry Carlson wrote: >> On Sunday, October 24, 2010 9:05 PM (UTC+13) >> Rosemary Probert wrote:- >> >>> Hi, >>> >>> I seem to have a really silly little problem with a new page. >>> http://www.rootsweb.ancestry.com/~engcbanb/war-memorials/adderbury/church-memorial.htm >>> >>> >>> The SSI that I use at the bottom of the page is giving me an error >>> message [an error occurred while processing this directive]. >>> >>> There are dozens of pages that use this SSI and all appear to be working >>> fine ie. >>> http://www.rootsweb.ancestry.com/~engcbanb/war-memorials/adderbury/1914-1918-1.htm >>> >>> >>> I've put the actual text onto a copy page and that works fine: >>> http://www.rootsweb.ancestry.com/~engcbanb/war-memorials/adderbury/church-memorial-2.htm >>> >>> >>> I've also validated both pages with W3C. >>> >>> I just can't see what's not working :-( >>> >>> Can anyone spot what's wrong? >> ********************************* >> Hi Rosemary, >> >> The problem we have in trying to deduce what may have happened is >> hampered by the fact that we cannot see how you have called the included >> text file. I suspect that there is a problem with the syntax you have >> used, e.g. >> >> the correct syntax is<!--#include file="myfile.txt" --> or<!--#include >> virtual="../myfile.txt" --> and the likely error is that you have no >> space after "myfile.txt" and -->. >> >> If the path is correct, and the file is identical to that used in the >> test page, then the problem must be with the #include syntax. >> >> Barry > > ------------------------------- > To unsubscribe from the list, please send an email to FREEPAGES-HELP-request@rootsweb.com with the word 'unsubscribe' without the quotes in the subject and the body of the message >

    10/23/2010 10:22:45