Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Unbalanced InstanceBegin Tag issue
Old 12-30-2009, 04:01 PM Unbalanced InstanceBegin Tag issue
Novice Talker

Posts: 7
Name: Paula
Trades: 0
HELP! I'm working on a website for my uncle's business using Dreamweaver CS4. I took a year of website design and coding in college but it's been a while so I'm a little rusty. I designed a template then pumped out a ton of pages for his products. I attempted to implement some javascript coding for a lightbox feature and must have messed something up. My child pages will not update anymore, even after removing that javascript coding, and are not displaying as though they are linked to the template and CSS. They all report the issue of an unbalanced InstanceBegin tag in line 2. I don't want the past week of work to go to waste!

I validated my template and found no errors or warnings. It looks like this:

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/URL]">
<html xmlns="[URL]http://www.w3.org/1999/xhtml[/URL]">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Peaceful Village</title>
<meta name="keywords" content="Peaceful, Village, Peaceful Village, Wholesale, Jewelry, Novelty, Wholesaler, Jewelry Wholesaler, Wholesale Jewelry, Wholesale Novelty, Peace, Sterling Silver" />
<meta name="description" content="Peaceful Village Inc. is a wholesale company offering a wide selection of jewelry, novelties, fashion accessories, and other gift items." />
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
a:link {
 text-decoration: none;
}
a:visited {
 text-decoration: none;
}
a:hover {
 text-decoration: underline;
}
a:active {
 text-decoration: none;
}
-->
</style>
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link href="../PVsite.css" rel="stylesheet" type="text/css" />
</head>
<body class="twoColFixLtHdr">
<div id="container">
  <div id="header"><img src="http://www.webmaster-talk.com/images/Banner.JPG" alt="Peaceful Village Banner" width="780" height="160" border="0" usemap="#PeacefulVillage" />
    <map name="PeacefulVillage" id="PeacefulVillage">
      <area shape="rect" coords="4,18,185,154" href="http://www.webmaster-talk.com/index.html" target="_self" alt="Click here to return to the homepage" />
      <area shape="rect" coords="188,44,601,82" href="http://www.webmaster-talk.com/index.html" target="_self" alt="Click to return to the homepage" />
    </map>
  <br/><!-- TemplateBeginEditable name="Breadcrumbs" --><span class="WhiteText" id="GrayText">Breadcrumbs&gt;Home</span><!-- TemplateEndEditable --></div>
  <div id="sidebar1">
    <ul>
   <li><a href="http://www.webmaster-talk.com/index.html" target="_self" class="blue">Home</a></li>
   <li><a href="http://www.webmaster-talk.com/about.html" target="_self" class="blue">About Us</a></li>
   <li><a href="http://www.webmaster-talk.com/catalogue.html" target="_self" class="blue" onclick="return toggle('menulink');">Catalogue</a>
     <ul id="menulink">
       <li><a href="http://www.webmaster-talk.com/Catalogue/anklets.html">Anklets</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/bracelets.html">Bracelets</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/necklaces.html">Chokers/<br/>Necklaces</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/displays.html">Displays</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/earrings.html">Earrings</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/accessories.html">Fashion Accessories</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/rings.html">Finger Rings</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/giftitems.html">Gift Items</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/sets.html">Jewelry Sets</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/magjewelry.html" target="_self">Magnetic Jewelry</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/novelty.html">Novelty</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/toerings.html">Toe Rings</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/watches.html">Watches</a></li>
     </ul>
    </li>
   <li><a href="http://www.webmaster-talk.com/contact.html" target="_self" class="blue">Contact Us</a></li>
   <li><a href="http://www.webmaster-talk.com/custservice.html" target="_self" class="blue">Customer Service</a></li>
   <li><a href="http://www.webmaster-talk.com/order2.html" target="_blank" class="blue">Place an Order</a></li>
   <li><a href="http://www.webmaster-talk.com/tradeshows.html" target="_self" class="blue">Trade Shows</a></li>
  </ul>
  <!-- end #sidebar1 --></div>
  <div id="mainContent"><!-- TemplateBeginEditable name="Title" --><h1>Title</h1><!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="Content" --><p>Content</p><!-- TemplateEndEditable -->
    <!-- end #mainContent -->
  </div>
 <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
  <div id="footer">
    <p><span id="BasicWhite">Copyright © 2009 Peaceful Village, Inc. - Last Update: December 28, 2009<br/>Webmaster: <a href="[EMAIL="peacefulvillage@hotmail.com?subject=Regarding"]mailto:peacefulvillage@hotmail.com?subject=Regarding[/EMAIL] Website">Paula Meyer</a> </span>
      <!-- end #footer -->
    </p>
  </div>
<!-- end #container --></div>
</body>
</html>

The code from one of the child pages looks like this:

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/URL]">
<html xmlns="[URL]http://www.w3.org/1999/xhtml[/URL]"><!-- InstanceBegin template="/Templates/Template.dwt" codeOutsideHTMLIsLocked="false" -->
<meta name="keywords" content="Peaceful, Village, Peaceful Village, Wholesale, Jewelry, Novelty, Wholesaler, Jewelry Wholesaler, Wholesale Jewelry, Wholesale Novelty, Peace, Sterling Silver" />
<meta name="description" content="Peaceful Village Inc. is a wholesale company offering a wide selection of jewelry, novelties, fashion accessories, and other gift items." />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
a:link {
 text-decoration: none;
}
a:visited {
 text-decoration: none;
}
a:hover {
 text-decoration: underline;
}
a:active {
 text-decoration: none;
}
-->
</style>
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Peaceful Village - About Us</title>
  <h1>About Us</h1><!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="PVsite.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript" src="lightbox.js"/>
<body class="twoColFixLtHdr">
<div id="container">
  <div id="header"><img src="http://www.webmaster-talk.com/images/Banner.JPG" alt="Peaceful Village Banner" width="780" height="160" border="0" usemap="#PeacefulVillage" />
    <map name="PeacefulVillage" id="PeacefulVillage">
      <area shape="rect" coords="4,18,185,154" href="http://www.webmaster-talk.com/index.html" target="_self" alt="Click here to return to the homepage" />
      <area shape="rect" coords="188,44,601,82" href="http://www.webmaster-talk.com/index.html" target="_self" alt="Click to return to the homepage" />
    </map>
  <br/><!-- TemplateBeginEditable name="Breadcrumbs" --><span class="WhiteText" id="GrayText">Breadcrumbs>Home</span><!-- TemplateEndEditable --></div>
  <div id="sidebar1">
    <ul>
   <li><a href="http://www.webmaster-talk.com/index.html" target="_self" class="blue">Home</a></li>
   <li><a href="http://www.webmaster-talk.com/about.html" target="_self" class="blue">About Us</a></li>
   <li><a href="http://www.webmaster-talk.com/catalogue.html" target="_self" class="blue" onclick="return toggle('menulink');">Catalogue</a>
     <ul id="menulink">
       <li><a href="http://www.webmaster-talk.com/Catalogue/anklets.html">Anklets</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/bracelets.html">Bracelets</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/necklaces.html">Chokers/<br/>Necklaces</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/displays.html">Displays</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/earrings.html">Earrings</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/accessories.html">Fashion Accessories</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/rings.html">Finger Rings</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/giftitems.html">Gift Items</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/sets.html">Jewelry Sets</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/magjewelry.html" target="_self">Magnetic Jewelry</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/novelty.html">Novelty</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/toerings.html">Toe Rings</a></li>
       <li><a href="http://www.webmaster-talk.com/Catalogue/watches.html">Watches</a></li>
     </ul>
    </li>
   <li><a href="http://www.webmaster-talk.com/contact.html" target="_self" class="blue">Contact Us</a></li>
   <li><a href="http://www.webmaster-talk.com/custservice.html" target="_self" class="blue">Customer Service</a></li>
   <li><a href="http://www.webmaster-talk.com/order2.html" target="_blank" class="blue">Place an Order</a></li>
   <li><a href="http://www.webmaster-talk.com/tradeshows.html" target="_self" class="blue">Trade Shows</a></li>
  </ul>
  <!-- end #sidebar1 --></div>
  <div id="mainContent"><!-- TemplateBeginEditable name="Title" --><h1>Title</h1><!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="Content" --><p>Content</p><!-- TemplateEndEditable -->
    <!-- end #mainContent -->
  </div>
 <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
  <div id="footer">
    <p><span id="BasicWhite">Copyright © 2009 Peaceful Village, Inc. - Last Update: December 28, 2009<br/>Webmaster: <a href="[EMAIL="peacefulvillage@hotmail.com?subject=Regarding"]mailto:peacefulvillage@hotmail.com?subject=Regarding[/EMAIL] Website">Paula Meyer</a> </span>
      <!-- end #footer -->
    </p>
  </div>
<!-- end #container --></div>
</body>
</html>
<!-- InstanceEnd -->
As you can see, it hasn't updated so it isn't identical to the template anymore. Any suggestions? What's going on?

Last edited by chrishirst; 01-02-2010 at 06:50 AM..
wishingphoenix is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-31-2009, 09:22 AM Re: Unbalanced InstanceBegin Tag issue
Extreme Talker

Posts: 246
Trades: 0
http://objectmix.com/macromedia-drea...begin-tag.html

Read what the last guy is saying.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
stbuchok is offline
Reply With Quote
View Public Profile
 
Old 01-01-2010, 11:56 PM Re: Unbalanced InstanceBegin Tag issue
Novice Talker

Posts: 7
Name: Paula
Trades: 0
The site is not live yet.

And while I may not be as experienced at you with html coding, I'm not an imbecile. Your rather snotty response was unwarranted.
wishingphoenix is offline
Reply With Quote
View Public Profile
 
Old 01-02-2010, 06:25 AM Re: Unbalanced InstanceBegin Tag issue
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
@ wishingphoenix

Ermm?

Are you posting that answer at the correct forum or in the wrong thread??
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-02-2010, 06:52 AM Re: Unbalanced InstanceBegin Tag issue
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
BTW IF you go and read the post I think you'll find that it does address your "problem"
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-02-2010, 03:28 PM Re: Unbalanced InstanceBegin Tag issue
Novice Talker

Posts: 7
Name: Paula
Trades: 0
Hmm, perhaps there is some confusion? I clicked on the link and read the last guy's (Walt) response and it was rather demeaning. Basically it said the code is trashed, start over, and if you had learned the basics the coding problems would have jumped out at you.

I can't really start over at this point. My boss (uncle) is expecting a site somewhat soon here, and I was making really good progress. I don't feel like this problem should be so difficult but I can't seem to get any of the template editing to alter the child pages.
wishingphoenix is offline
Reply With Quote
View Public Profile
 
Old 01-02-2010, 07:01 PM Re: Unbalanced InstanceBegin Tag issue
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
I don't use templates in DW at all I prefer to have real control over the sites I build.

BUT templates do NOT synchronise once they are created, If you edit the master (the template file) you then have to re-create the pages that have been built from the template.
The pages created from a template are all static html and as such are all individual entities. They are NOT "child pages" they are merely "clones", copies of the original

You would be much better off ditching them entirely and using server side includes to create the site.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-02-2010, 11:30 PM Re: Unbalanced InstanceBegin Tag issue
Novice Talker

Posts: 7
Name: Paula
Trades: 0
That's rather odd, Dreamweaver CS4 is designed to be efficient and easy to use so the sole purpose of building a template is so you can pump out pages off a template and in one click, update them all. I've been doing that the whole time. It wasn't until very recently, after the javascript fiasco, that the pages stopped updating with my template changes.
wishingphoenix is offline
Reply With Quote
View Public Profile
 
Old 01-03-2010, 02:43 AM Re: Unbalanced InstanceBegin Tag issue
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Quote:
Originally Posted by wishingphoenix View Post
That's rather odd, Dreamweaver CS4 is designed to be efficient and easy to use so the sole purpose of building a template is so you can pump out pages off a template and in one click, update them all. I've been doing that the whole time. It wasn't until very recently, after the javascript fiasco, that the pages stopped updating with my template changes.
Forgive my cynicism, but you're really saying that it should be easy, yet it's not and that learning the basics isn't something you should have to do b/c you don't have time...

Perhaps I'm misunderstanding, but if you're over your head and don't have the time, the best thing might be to hire someone to do the task that you've been hired to do.

Like Chris, I don't know DW, but the coding necessary for what you're needing is something that's a worthwhile learn.

And, just because a post -- on this forum or others -- tells you that you should take the time to learn the field for which you accept work, doesn't mean that it's demeaning... it just means you lack knowledge and the advice (here as well as in other forums), as much as it might be hard to accept, could be right -- it's better to learn a job well and do it well -- and though it might be hard to hear, isn't necessarily demeaning or rude... It might, in fact, be the most honest and helpful advice around.

I wish I could help you more with the technicals, but hopefully from all the responses you're seeing the value of understanding the technology behind what you're building.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 01-03-2010, 06:21 AM Re: Unbalanced InstanceBegin Tag issue
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
If you own a copy of DW CS4 why not email support and ask them if there is a solution?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-03-2010, 10:30 AM Re: Unbalanced InstanceBegin Tag issue
Novice Talker

Posts: 7
Name: Paula
Trades: 0
Wow, well if neither of you even know or use DW, then why are you responding? No, DW is not supposed to be so easy that anybody could do it, but the template feature is intended for mass production of sites with the ease of updating.

It's not that I lack the basics or an understanding of HTML, nor can my uncle afford a so-called professional to do this. As I mentioned before, I took a year of college courses in web design and have done sites in the past. I feel rather capable of designing websites using DW; I just have never encountered this particular issue. I did some searching on the web, found postings of similar issues that seemed to receive adequate advice, but could still not get my coding problem solved. So, I thought I'd try posting my own. Nevermind.
wishingphoenix is offline
Reply With Quote
View Public Profile
 
Old 01-03-2010, 12:23 PM Re: Unbalanced InstanceBegin Tag issue
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Contact Adobe support, there is every chance they have come across the problem previously.

OR do what we have suggested and don't use templates.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-03-2010, 06:12 PM Re: Unbalanced InstanceBegin Tag issue
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
One thing I see is that you have some invalid coding:

Quote:
<!-- InstanceBeginEditable name="doctitle" -->
<title>Peaceful Village - About Us</title>
<h1>About Us</h1><!-- InstanceEndEditable -->
There cannot be headings, or anything else like it, in the <head> section of your document.

You have html-style comments inside the <style> block, also incorrect.

Your editable section for the <head> has nothing in it the way it's currently showing:

Quote:
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
The JS should have gone inside the <head> section, you had it OUTSIDE the <head> section and outside the <body> as well, and that won't work, it has to be one place or the other, not in between.

When you made changes to the template, did you re-save it AS a template? I haven't used DW templates in a long time, but they were always more of a hassle than a help - for this exact reason.

In the child page, the InstanceEnd is OUTSIDE of the <html> tag, whereas the InstanceBegin is INSIDE the <html>. Have you checked that?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-04-2010, 11:43 PM Re: Unbalanced InstanceBegin Tag issue
Novice Talker

Posts: 7
Name: Paula
Trades: 0
Thank you for your response, LadynRed. I did notice that the InstanceEnd is outside of the <html> tag and tried to move it in the template, then update the pages. Unfortunately, the updating isn't working and I can't edit any of the original code in the actual individual child pages.

I must not have implemented the javascript coding in the correct place, as you mentioned. Thank you for clarifying where that should go!
wishingphoenix is offline
Reply With Quote
View Public Profile
 
Old 01-05-2010, 04:17 PM Re: Unbalanced InstanceBegin Tag issue
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Is the updated DWT file being referenced properly in the child files?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-22-2010, 11:42 AM Re: Unbalanced InstanceBegin Tag issue
Junior Talker

Posts: 1
Trades: 0
Hi,

I'm getting the same message.

From looking at your code looks like
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Template.dwt" codeOutsideHTMLIsLocked="false" -->

on line 2

and the end of the file looks like

</html>
<!-- InstanceEnd -->

I think it should look like

<!-- InstanceEnd -->

</html>

So that it is nested in the correct order.

On my site for some reason <!-- InstanceEnde --> was missing and adding it in using notepad did the trick.

Cheers,
Surfdemon.
surfdemon is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Unbalanced InstanceBegin Tag issue
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.64933 seconds with 12 queries