www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  DB/Textworks    Issue with Includes - Form properties > Advanced HTML options
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
Hi everyone

Am having an issue getting includes to work in DB/Textworks forms. I want to use a relative HTTP reference for the includes, but this doesn't seem to work.

Form properties > Advanced options > Includes > Include before seam

When I enter /ssi/head.inc I get the following error message. It seems to find the file okay because I didn't get a 404 error.

<!-- pIWinHttpRequest->Open(<R) failed //-->
<!-- error loading seam 1 include '/ssi/head.inc' //-->

When I enter http://librarydev/ssi/head.inc it works fine.

<!-- begin seam 1 include of HTTP reference 'http://librarydev/ssi/head.inc' //-->

Any suggestion as to why the relative path isn't working correctly?

Thanks in advance for any suggestions. Regards, Gerard
 
Posts: 2 | Registered: Thu August 21 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Had same issue. Came here to find answer, couldn't find one. However, came up with the solution on my own. Replace your two backslashes after the http: with & # 9 2 ;
twice (remove the spaces because it shows the backslash char in the forum if I didn't insert the spaces) for some reason both together causes the error because it thinks its an escape character.
 
Posts: 1 | Registered: Fri August 29 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Tried putting in & # 9 2 ;ssi& # 9 2 ;head.inc (without spaces as you mentioned) but it generated the output as a literal. The code output was:

<!-- begin seam 1 include of literal //-->
\ssi\head.inc
<!-- end seam 1 include //-->

which display as text on the web page as:

\ssi\head.inc

Thanks for your suggestion all the same.

Think my issue maybe permissions or perhaps a IIS issue with the fact DBText is running in a virtual under the main website.

Cheers, Gerard
 
Posts: 2 | Registered: Thu August 21 2008Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  DB/Textworks    Issue with Includes - Form properties > Advanced HTML options