11 Replies Latest reply: Oct 20, 2010 2:08 PM by MurraySummers RSS

    Nested Editable Region Error -- but I have no nested templates

    cindy_leica Community Member

      Hi:

      I need some help deciphering an error message.

       

      I have one overarching template for my site. It was working fine, then it got disconnected from the site when my computer crashed, so I reconnected it using the site manager and importing the .ste file. Now when I try to save the template or use the template, I get an error message that makes it seem like I have a nested template, but I'm not using nested templates.

       

      Here's what the error message says:

       

      There is an error at line 117, column 7, absolute position 2195

      Nested editable region

       

      Here's what the code looks like starting @ line 111:

       

      h6 {
          font-size: 1.1em;
          color: #960;
      }
      -->
      </style>
      <body>
      <table width="794" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td colspan="2">
          <img src="../logo/brown_new_orange.jpg" width="807" height="112" alt="Brown Chiropractic Golden Colorado"></td>
        </tr>

       

      The <body> tag is on line 111. I checked for the end tag and it looks fine. I also ran the check html command and it found no errors.

       

      Any ideas what I've done to generate this frustrating error message or how I can fix it.

      I'm not super tech savvy. I know enough to be dangerous.

       

      Thanks for any help you might be able to offer.

      cindy

        • 1. Re: Nested Editable Region Error -- but I have no nested templates
          MurraySummers CommunityMVP

          }

          -->
          </style>
          <body>

           

          Sometimes an error message is a Red Herring - or at least it doesn't mean what you think it does.  The problem here is that you have NO </head> tag.  So, DW thinks your first editable region after <body> is improperly nested.  This is an excellent example for why:

           

          1.  It's vitally important to be confident in your ability to code valid HTML

          2.  The first place you should begin troubleshooting a page error is the validator (http://validator.w3.org)

           

          Had you followed these two rules, a) your page would have reported a minimal number of code errors, and b) the missing </head> tag would stick out like a sore thumb.

          • 2. Re: Nested Editable Region Error -- but I have no nested templates
            cindy_leica Community Member

            Thanks for the suggestion.

            I thought it must be a red herring of sorts. That's why I asked Dreamweaver to check the html code for me.

             

            I added a closing head tag right before the opening body tag and I get the same error message

             

            }
            -->
            </style>
            </head>
            <body>
            <table width="794" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">

             

             

            I suppose I need to upload the template to my server to test it using the validator. I'll do that now.

            cindy

            • 3. Re: Nested Editable Region Error -- but I have no nested templates
              MurraySummers CommunityMVP

              Give us the link to the uploaded template file, please.

              • 4. Re: Nested Editable Region Error -- but I have no nested templates
                cindy_leica Community Member

                The .dwt file doesn't work online and so the validator can't be used to directly check the template.

                I can't apply the template to files anymore ,so I can't even have the validator check files based on the template.

                 

                Should I resort to having the validator checking files that were created from the template before the template was disconnected from the files?

                thanks for your suggestions.

                cindy

                 

                Here's the full code from the template:

                 

                <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                "http://www.w3.org/TR/html4/loose.dtd">
                <html>
                <head>
                    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
                <!-- TemplateBeginEditable name="doctitle" -->
                <title>Chiropractor Lakewood Colorado</title>
                <!-- TemplateEndEditable -->
                <!-- TemplateBeginEditable name="head" -->
                <!-- TemplateEndEditable -->
                <style type="text/css">
                <!--
                .style16 {
                    font-family: Verdana, Arial, Helvetica, sans-serif;
                    font-size: 13px;
                }
                .style17 {
                    font-family: Verdana, Arial, Helvetica, sans-serif;
                    color: #CB7927;
                    font-weight: bold;
                    font-style: italic;
                }
                body {
                    background-color: #669999;
                }
                .style18 {font-size: 13px}
                .style19 {font-size: 12px}
                -->
                </style>
                <style type="text/css">
                <!--
                body {
                    background-color: #960;
                    background-image: url(../images/back_brown-green5.jpg);
                }
                a:link {
                    color: #630;
                }
                a:visited {
                    color: #4A290D;
                }
                .style3 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #333333; font-size: 12px;}
                .style6 {font-size: 10px}
                .style8 {
                    color: #FFF
                }
                .style22 {
                    color: #CCCC99;
                    font-size: 9px;
                }
                .style23 {
                    color: #D2E3DD;
                    font-size: 9px;
                }
                .style26 {
                    color: #e7cb99;
                    font-size: 16px;
                }
                .style27 {
                    color: #FFFFdd
                }
                .style28 {font-family: Verdana, Arial, Helvetica, sans-serif}
                .style29 {color: #E5E9D6}
                .bodyCopy {    font-family: Georgia, "Times New Roman", Times, serif;
                    font-size: 16px;
                    font-weight: lighter;
                    text-indent: 16px;
                    color: #000;
                    font-style: normal;
                }
                .boldHours {    font-family: "Arial Black", Gadget, sans-serif;
                    font-size: 12px;
                    font-weight: bold;
                }
                .hours {    font-family: Arial, Helvetica, sans-serif;
                    font-size: 12px;
                    font-weight: lighter;
                }
                .hours {    font-size: 14px;
                    font-weight: normal;
                    text-indent: 16px;
                    text-align: left;
                    color: #000;
                }
                .style161 {font-family: Verdana, Arial, Helvetica, sans-serif;
                    font-size: 13px;
                }
                h1,h2,h3,h4,h5,h6 {
                    font-family: Tahoma, Geneva, sans-serif;
                }
                h1 {
                    font-size: 1.5em;
                    color: #4A290D;
                }
                h2 {
                    font-size: 1.4em;
                    color: #9A9592;
                }
                h3 {
                    font-size: 1.3em;
                    color: #BDAE9B;
                }
                h4 {
                    font-size: 1.3em;
                    color: #CB7927;
                }
                h5 {
                    font-size: 1.2em;
                    color: #F9E2BA;
                }
                h6 {
                    font-size: 1.1em;
                    color: #960;
                }
                -->
                </style>
                </head>
                <body>
                <table width="794" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                  <tr>
                    <td colspan="2">
                    <img src="../logo/brown_new_orange.jpg" width="807" height="112" alt="Brown Chiropractic Golden Colorado"></td>
                  </tr>
                  <tr bgcolor="#D2E3DD">
                    <td width="708" height="29" bgcolor="#FFFFdd"><div align="center" class="style3"><a href="../index.htm">HOME</a> | <a href="../bio.htm">DR. BROWN'S BIO </a>| <a href="../staff.htm">STAFF</a> | <a href="../massage.htm">MASSAGE</a> | <a href="../testimonials.htm">TESTIMONIALS</a> | <a href="../faq.htm">FAQS</a> | <a href="../contact.htm">CONTACT</a> | <a href="http://browncnc.wordpress.com/">BLOG</a></div>
                    </td>
                    <td width="99" bgcolor="#FFFFdd">303 986-xxxx</td>
                  </tr>
                  <tr>
                    <td colspan="2"></td>
                  </tr>
                  <tr>
                    <td height="488" colspan="2" valign="top"><table width="100%" height="488"  border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="488" valign="top"><table width="100%"   border="0" cellpadding="5" cellspacing="0">
                            <tr>
                              <td width="202" valign="top" bgcolor="#F8DCAA"><h6><em>Conveniently Located </em> <br>
                              </h6>
                                <p class="style16">Walking distance from the <strong>Cold Springs RTD Station</strong> (6th and Union), future<strong> light rail</strong>, and the <strong>new St. Anthony's Hospital</strong>. </p>
                                <p class="style16"><span class="hours"><a href="map.htm">map to office</a><br>
                300 Union Blvd #370<br>
                                </span></p>
                                <h6><em>Convenient Hours</em></h6>
                <p class="boldHours">Mon, Wed and Thursday <br>
                  Walk-In Hours
                  from 8 -12 &amp; 3-6<br>
                </p>
                <p class="boldHours">Tue, Fri and Sat <br>
                  by appointment</p>
                <p class="style17">Treating:</p>
                                <p class="style3"><span class="style18"><strong>Traditional Chiropractic</strong><br>
                                  Back Pain<br>
                                  <a href="../headache_words.htm">Headache/Migraines</a><br>
                                  Neck Pain<br>
                                  Shoulder Pain <br>
                                  Sports Injuries <br>
                                  Carpal Tunnel Syndrome<br>
                                  Tennis Elbow <br>
                                  Bone and Joint Pain <br>
                                  Sprains and Strains</span><br>
                                  </p>
                                <p class="style3"><strong>Balance Disorders</strong><br>
                                  <a href="../balance.htm">Vertigo &amp; Dizziness</a>                </p>
                                <p class="style3"><strong>Learning Disorders<br>
                                  </strong><a href="../adhd.htm">Attention Disorders</a> <br>
                                  <span class="style19">(ADHD &amp; ADD) <br>
                                    </span><a href="../autism.htm">Autism/<span class="style16">Asperger's Syndrome</span></a><a href="../ocd.htm"><span class="style16"><br>
                                    Obsessive Comulsive Disorder</span></a><a href="../dyslexia.htm"><span class="style16"><br>
                                    Dyslexia
                                  </span></a></p>
                                <p class="style3"><strong>Movement Disorders<br>
                                  </strong><a href="../movement.htm">Distonias &amp; Parkinson's </a></p>
                                <p class="style3"><strong>Metabolic Disorders</strong><br>
                                  <a href="../autoimmune.htm">Autoimmune Disorders</a><a href="../gut.htm"><br>
                                    Gastrointestinal Disorders
                                    </a>                <br>
                                  <a href="../osteoporosis.htm">Osteoporosis/ Osteopenia</a><a href="../osteoporosis.htm"><br>
                                  </a><a href="../sleep.htm">Sleep Disorders</a>                  </p>
                                <p class="style3"><strong>Pain Disorders</strong><a href="../fybromyalgia.htm"><br>
                                  Fybromyalgia</a><a href="../tox.htm"><br>
                                Thoracic Outlet Syndrome (TOS)</a></p></td>
                              <td width="585" valign="top">
                             
                              <!-- TemplateBeginEditable name="body2" -->
                              body2
                              <!-- TemplateEndEditable --></td>  
                            </tr>
                          </table></td>
                      </tr>
                    </table></td>
                  </tr>
                    <tr><td colspan="2" bgcolor="#FFFFCC" class="style3"><div align="center">
                      <p class="style6">  | denver chiropractor | denver chiropractic neurologist | colorado chiropractor | colorado chiropractic neurologist |browncnc.com |</p>
                      </div></td>
                  </tr>
                </table>
                </body>
                </html>

                • 5. Re: Nested Editable Region Error -- but I have no nested templates
                  cindy_leica Community Member

                  Here's the link:

                   

                  www.browncnc/templates/main_temp2.dwt

                   

                  It was showing a 404 error when I tried to use validator. I checked the folder and found that I had capitalized the T in templates. So it wasn't working when I went to the validator page. I'll check again. I'm sure there are lots of stupid errors.

                   

                  cindy

                  • 6. Re: Nested Editable Region Error -- but I have no nested templates
                    MurraySummers CommunityMVP

                    There are no significant errors on that page now.  Restart your DW and see if its error messages have gone away.

                    • 7. Re: Nested Editable Region Error -- but I have no nested templates
                      cindy_leica Community Member

                      Actually the validator shows one error that has to do with height on line 133. I'll take a look at that right now.

                      Thanks for all your help.

                      cindy

                      • 8. Re: Nested Editable Region Error -- but I have no nested templates
                        MurraySummers CommunityMVP

                        Table height is invalid HTML - it's never been part of HTML.  The contents determine the height.  Its presence on the page, however, is inconsequential to almost everything and to this issue in particular.  You should be working fine with this page now....

                        • 9. Re: Nested Editable Region Error -- but I have no nested templates
                          MurraySummers CommunityMVP

                          By the way, on about line 167, you have "Obsessive Comulsive Disorder".  My OCD tells me that there is a spelling error there!

                          • 10. Re: Nested Editable Region Error -- but I have no nested templates
                            cindy_leica Community Member

                            Thanks for all your help. I went in and deleted all the references to table height and the template is working fine now!

                            I appreciate you're hanging in there with a novice.

                            cindy

                            • 11. Re: Nested Editable Region Error -- but I have no nested templates
                              MurraySummers CommunityMVP

                              It's what we do!

                               

                              Good luck, Cindy....

                               

                              And remember, to quote a contemporaneously famous Constitutional Scholar -

                               

                              "I'm you"