 |

Mervynuk
Novice
Nov 29, 2005, 1:04 PM
Post #1 of 5
(8810 views)
Shortcut
|
|
shtml version of docbuilder
|
Can't Post
|
|
I am trying to use the shtml version of docbuilder as described in an old post: http://www.interactivetools.com/iforum/Products_C2/DocBuilder_F6/gforum.cgi?post=5961;search_string=shtml;t=search_engine#5961 I have saved the new template files from the posting in the templates folder, and changed the setup to make shtml instead of html. The files are all created in the docs folder, but the page will not display. I know shtml works on the server and other shtml pages work. Is there something else I need to do? When I view the index.shtml source, all I see is <!-- Last Updated --> <!--#include file="doc_page8.shtml" --> and page8 is indeed my 'first' page. My docbuilder is on an internal ip so I cannot give you a working url, but I can put the result onto a visible server if that might help. Thanks Mervyn
|
|
|  |
 |

ross
Staff
/ Moderator

Nov 29, 2005, 4:02 PM
Post #2 of 5
(8808 views)
Shortcut
|
|
Re: [Mervynuk] shtml version of docbuilder
[In reply to]
|
Can't Post
|
|
Hi Mervyn. Thanks for posting! I am not actually 100% what the problem could be so I’ll run through some questions with you to see if we can narrow things down a little. What kind of error message are you getting when you try to view the shtml files DocBuilder creates for you? Is it just a 404 page? Or is there an error message? Do shtml pages that you create yourself (outside of DocBuilder) come up ok? Try taking the file attached to this post and sticking it on your server. When you look at it in a web browser it should just display Hello World. Also, have you tried using a virtual include? It would look like this: <!--#include virtual=”/doc_page8.shtml” --> The one thing to remember here is that the /doc_page8.shtml needs to be a URL so basically, you would type a whole URL into your browser so that you can see doc_page8.shtml. For example: Http://www.yourdomain.com/db/doc_page8.shtml Then, take off the domain and http part so you are left with /db/doc_page8.shtml and that’s what goes in the virtual=” part of my include statement. And one last idea. It could just be that SSI is not enabled on your web server. Perhaps you could get in touch with your host to see if that is the case. SSI’s are something that needs to be enabled on the server. Does all that make sense? As you try things out, let me know if they got you going again. Keep me up to date . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Mervynuk
Novice
Nov 29, 2005, 4:32 PM
Post #3 of 5
(8807 views)
Shortcut
|
|
Re: [ross] shtml version of docbuilder
[In reply to]
|
Can't Post
|
|
Hi Ross, thanks for the response. I have copied both versions (but no images) into http://www.m-p.co.uk/DocBuilder/ross just as a temporary measure, so you can see for yourself more easily. http://www.m-p.co.uk/docbuilder/ross/index.html shows the frames version ok (with no images) http://www.m-p.co.uk/docbuilder/ross/index.shtml shows a blank page http://www.m-p.co.uk/docbuilder/ross/doc_page8.shtml works (showing just that page), as do the menu and header etc, so this should be a test of the server. It just seems to be the index page that doesn't work. Hope you can help. Mervyn PS I added http://www.m-p.co.uk/docbuilder/ross/ross.shtml that contains <!--#include virtual="/docbuilder/ross/doc_page8.shtml" --> also, your forum seems to automatically change docbuilder all L/case to DocBuilder so you may need to change the urls!
(This post was edited by Mervynuk on Nov 29, 2005, 5:13 PM)
|
|
|  |
 |

ross
Staff
/ Moderator

Nov 30, 2005, 1:45 PM
Post #4 of 5
(8774 views)
Shortcut
|
|
Re: [Mervynuk] shtml version of docbuilder
[In reply to]
|
Can't Post
|
|
Hi Mervyn. Thanks for the update. I think these test files have narrowed down the problem . There’s actually a couple things. First, when I checked out the links in FireFox, the whole page was coming up as code instead of a properly rendered webpage. In IE, it came up ok though which is actually a fairly common thing. In most cases, when FireFox is showing code for an SHTML page the webserver you are on hasn’t got the shtml extension setup properly. So that’s the first thing you’ll want to look into. The second thing is that when the code is being displayed, I can actually see your SSI’s in it. If an SSI worked, you won’t actually see it when you view the source of a published page. You would instead, see the code from the page that it included. Because I can see the SSI though, it’s telling me that SSI isn’t enabled on your server. So basically, you’ll need to get in touch with your web host and ask them to a) enable the shtml extension and b) enable SSI. That should be it. Let me know if you are still having trouble after this though . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Mervynuk
Novice
Dec 7, 2005, 3:11 AM
Post #5 of 5
(8633 views)
Shortcut
|
|
Re: [ross] shtml version of docbuilder
[In reply to]
|
Can't Post
|
|
Hi, shtml was enabled, but only partly. shtml extensions were enabled but SSI wasn't! It is now working as we had hoped. Many thanks.
|
|
|  |
|