• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

When I put in SSI, can't see page to edit

I just started using Dreamweaver 8 (I've been working in MX) and hit a funny error. It may be something I'm just not understanding, but when I'm working on an shtml page, everything works fine in DW until I add the SSI code to include a topper.  At that point, the DESIGN view only shows the topper and it won't let me visually edit the page I'm working on (I can edit it in code, but not visually).  Is there something I'm missing?
0
Kevin Smith
Asked:
Kevin Smith
1 Solution
 
Jason ThompsonSenior UX DesignerCommented:
I often run into this problem when I have a complex table set and there's a form on the page (moving or deleting the close form (</form>) usually fixes that), but I haven't had it happen with SSI's.

You could try changing it from a <!--#include file... to <!--#include virtual...  

You could also try a PHP include instead:
<?php include("header.php"); ?>

Otherwise, maybe you could post it somewhere for us to take a look at?

Cheers!
0
 
RouchieCommented:
It sounds a bit like there may be a tag in the SSI file that is not closed.  For example, an open paragraph without closing tag etc.  When DW tries to read it back it can't render the page because of the anomaly.
0
 
Jason C. LevineNo oneCommented:
>> It sounds a bit like there may be a tag in the SSI file that is not closed.  For example, an open paragraph without
>> closing tag etc.  When DW tries to read it back it can't render the page because of the anomaly.

This is usually the case.  A lot of people put in SSI calls to wholly complete pages that have <html><head></head><body></body></html> structure intact.  At some point, one of the closing tags closes a tag on the parent page and DW will not allow further editing.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Kevin SmithAuthor Commented:
It ended up being a body tag issue like Jason mentioned.  Thanks guys!  By the way, should the pages containing the SSI have the head, etc, or should all of this be done in the ssi header code?
0
 
Kevin SmithAuthor Commented:
Or I'm sorry...like Rouchie mentioned first :)
0
 
RouchieCommented:
Tags can go in either the main page or the SSI files - there's no rules.  Just put each tag where it is easily managable to avoid issues like this one!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now