Inmagic Forums
Inmagic Forums
DB/Textworks
Issue with Includes - Form properties > Advanced HTML options|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
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 |
|||
|
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. |
||||
|
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 |
||||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Inmagic Forums
Inmagic Forums
DB/Textworks
Issue with Includes - Form properties > Advanced HTML options
