Template: error "Closed a head tag that was left unclosed."

Hello,
I have just found out why an error occurs with one of my template and I thought I'd post the solution for further reference in case someone encounters the same problem—it has bothered me for a quite a while. I'm using Dreamweaver CS4.
Each time I opened the template, I had a message regarding the <head> tag. The message said that some invalid HTML had been corrected and the so-called invalid HTML was apparently "a <head> tag that was left unclosed":
There was no closing <head> tag missing in my template and DW wasn't correcting anything in the code either even it said it did.
My template started with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>My company</title>
<!-- TemplateEndEditable -->
<meta name="author" content="2009" />
<link href="../assets_design/css/design.css" rel="stylesheet" type="text/css" />
<link href="../assets_design/css/designtext.css" rel="stylesheet" type="text/css" />
<link href="../assets_design/css/content.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../assets_design/js/tools.js"></script>
<!-- TemplateBeginEditable name="head" -->
<meta name="keywords" content="..." />
<!--[if IE 6]>
  <link href="assets_design/ie/IE6.css" rel="stylesheet" type="text/css" />
  <![endif]-->
<!--[if IE 7]>
  <link href="assets_design/ie/IE7.css" rel="stylesheet" type="text/css" />
  <![endif]-->
<!-- TemplateEndEditable -->
</head>
<!-- TemplateParam name="class" type="text" value="TwoColLayout" -->
<!-- TemplateParam name="onload" type="text" value="" -->
<body class="@@(_document['class'])@@" onload="@@(onload)@@">
This error message appeared because the two lines "<!-- TemplateParam..." were between the <head> and <body> tags, while normally DW inserts them at the end of the <head> tag. I had moved them. The solution is therefore to put these lines back to where they were initially:
<!-- TemplateEndEditable -->
<!-- TemplateParam name="class" type="text" value="TwoColLayout" -->
<!-- TemplateParam name="onload" type="text" value="" -->
</head>
<body class="@@(_document['class'])@@" onload="@@(onload)@@">

http://www.showbagsusa.com//Templates/showbagtemplate.dwt
look on line 146.
<!-- TemplateEndEditable --><!--
TemplateEndEditable --></td>
the second one doesn't belong there, because there is no
matched up opening
tag.
then on line 166, there's another closing template editable
area comment
that isn't paired with an opening one before it.
<!-- TemplateEndEditable --></td>
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/

Similar Messages

  • [svn:bz-trunk] 18694: Checkin the JUnit test that was left behind in the previous check-in.

    Revision: 18694
    Revision: 18694
    Author:   [email protected]
    Date:     2010-11-18 04:45:52 -0800 (Thu, 18 Nov 2010)
    Log Message:
    Checkin the JUnit test that was left behind in the previous check-in.
    Modified Paths:
        blazeds/trunk/modules/core/test/src/flex/messaging/io/amfx/DeserializationConfirmation.ja va

    Noise on line problem now solved, here are my new stats - not really a great improvement over what I was getting intermittently, but at least now it seems pretty constant. Do you think this will improve over time or is there anything else that can be done to make things faster?
    ADSL line status
    Connection information
    Line state
    Connected
    Connection time
    2 days, 21:09:44
    Downstream
    1,344 Kbps
    Upstream
    448 Kbps
    ADSL settings
    VPI/VCI
    0/38
    Type
    PPPoA
    Modulation
    ITU-T G.992.1
    Latency type
    Interleaved
    Noise margin (Down/Up)
    15.1 dB / 14.0 dB
    Line attenuation (Down/Up)
    62.0 dB / 31.5 dB
    Output power (Down/Up)
    16.4 dBm / 12.3 dBm
    Loss of Framing (Local)
    0
    Loss of Signal (Local)
    0
    Loss of Power (Local)
    0
    FEC Errors (Down/Up)
    9383 / 504
    CRC Errors (Down/Up)
    180 / N/A
    HEC Errors (Down/Up)
    N/A / 284
    Error Seconds (Local)
    110
    BT wholesale perfomance test is giving me the following:-
    Download  Speed
    0.9 Mbps
    0 Mbps
    1 Mbps
    Max Achievable Speed
     Download speedachieved during the test was - 0.9 Mbps
     For your connection, the acceptable range of speeds is 0.2 Mbps-1 Mbps.
     Additional Information:
     Your DSL Connection Rate :1.34 Mbps(DOWN-STREAM), 0.45 Mbps(UP-STREAM)
     IP Profile for your line is - 1 Mbps

  • My macbook pro 2009, was stored in a Speck case and rubbermaid stoage tote that was left in a RV over the winter in WI that sat outside all winter. Is it ruined? will I be able to still use it and all my data? I don't currently have it with me.

    my macbook pro 2009, was stored in a Speck case and rubbermaid stoage tote that was left in a RV over the winter in WI that sat outside all winter. Is it ruined? will I be able to still use it and all my data? I don't currently have it with me. I am just hoping that when I get it back it will work for me. Any tips, help, support would be helpful! Thank you!

    Storage temperature is listed as down to -13º F
    Line voltage: 100V to 240V AC
    Frequency: 50Hz to 60Hz
    Operating temperature: 50° to 95° F (10° to 35° C)
    Storage temperature: -13° to 113° F (-24° to 45° C)
    Relative humidity: 0% to 90% noncondensing
    Maximum operating altitude: 10,000 feet
    Maximum storage altitude: 15,000 feet
    Maximum shipping altitude: 35,000 feet
    So I would think you're OK . The battery will need a charge but I don;t see any reason why there should be a problem as long as there was no water involved.

  • The SMTP Error Code from a message that was not sucessfully delivered ?

    hello,
    I'm developing an aplication that uses Java Mail and
    send emails, but I need to get the error code if this
    email was not sucessfully delivered, use
    mail.smtp.dsn.notify to destination return an email in case
    of failure.
    Thaks for your help.
    rania+

    Do you mean the SMTP server reply codes? These are the codes that are returned when the client tries passing the message to the server. The are from RFC 821 (http://www.ietf.org/rfc/rfc0821.txt).
    500 Syntax error, command unrecognized
    [This may include errors such as command line too long]
    501 Syntax error in parameters or arguments
    502 Command not implemented
    503 Bad sequence of commands
    504 Command parameter not implemented
    211 System status, or system help reply
    214 Help message
    [Information on how to use the receiver or the meaning of a
                particular non-standard command; this reply is useful only
                to the human user]
    220 <domain> Service ready
    221 <domain> Service closing transmission channel
    421 <domain> Service not available,
    closing transmission channel
    [This may be a reply to any command if the service knows it
                must shut down]
    250 Requested mail action okay, completed
    251 User not local; will forward to <forward-path>
    450 Requested mail action not taken: mailbox unavailable
    [E.g., mailbox busy]
    550 Requested action not taken: mailbox unavailable
    [E.g., mailbox not found, no access]
    451 Requested action aborted: error in processing
    551 User not local; please try <forward-path>
    452 Requested action not taken: insufficient system storage
    552 Requested mail action aborted: exceeded storage allocation
    553 Requested action not taken: mailbox name not allowed
    [E.g., mailbox syntax incorrect]
    354 Start mail input; end with <CRLF>.<CRLF>
    554 Transaction failed

  • OPC server error with Lookout 5.1 that was working with Lookout 4.5

    I was running a file on Lookout 4.5 with Field Point explorer 3.0 with field point objects. I recently upgraded the Lookout to 5.1 and Field Point Explorer was uninstalled. Now when I try to open my old Lookout file, I cannot control through the field point objects and I am getting the following error: OPC/OLE error. OPC server not registered properly (63). Invalid class string 800401F3.

    Hello,
    Thanks for contacting National Instruments. There are three known reasons that you may get this error.
    1. IAK file not setup or it has been moved or is missing.
    This error is easy to reproduce. In order for the OPC FieldPoint Server to work, it has to launch the FieldPointOPC2.exe which has looks at a registry key for FieldPoint Explorer. In this registry key is the path to the last saved or loaded IAK file. If this file has moved or has been deleted, then you will get this error. This also happens to customers that have upgraded their FP Explorer and haven't opened up their IAK file and saved it.
    2. OPCproxy is not registered. Which means the opcproxy.dll or opccomn_ps.dll are not registered or are version 1.0 (can be registered by running "regsvr32 opcprox
    y.dll" and "regsvr32 opccomn_ps.dll". The opcproxy.dll and the opccomn_ps.dll are located in the system32 folder in the WINNT directory.
    3.OPCserver is not registered (can be accomplished by running the .exe with a /regserver switch) . The Fieldpoint OPC server is located in the following path: [drive letter]:\Program Files\National Instruments\FieldPoint. From a DOS prompt you can manually register the EXE by going to that directory and typing FieldPointOPC2.exe /RegServer. In a dos prompt the command line looks like this (also see attached picture):
    c:\cd c:\Program Files\National Instruments\FieldPoint
    c:\Program Files\National Instruments\FieldPoint\FieldPointOPC2.exe /RegServer
    Hope this works. If it doesn't, then I suggest that you uninstall all NI software and try to do a fresh install. This will properly ensure that all the services and servers are registered.
    A Saha
    Applications Engineer
    National Instruments
    Anu Saha
    Academic Product Marketing Engineer
    National Instruments

  • Error message after ejecting cd that was imported onto iTunes

    After I import a cd onto iTunes and then eject the cd I get an error message saying that "There is no disc in the drive" and it asks me to insert the disc and try again. The only way to get around it is to hit cancel 4 time.
    Does anyone know how to fix this?
    Thank you,
    Scott

    I am getting the same freezing problem also on a Dell laptop. As soon as the I hit burn itunes freezes without error. It appears that Itunes scans the playlist fine but never actually starts burning the disc. I am unable to get this to work since Friday. All the songs are playing fine without error from the playlist. Also, in my folder it displays all songs as MP4? But in Itunes itself it displays all songs as ACC files. Also, under the help section in itunes it says that ACC files need to be burned as a data disc? Is this correct even though these are music files and why would the itunes folder on my computer display these as mp4 and then as ACC in itunes itself? I can burn a data disc without error but as soon as I select audio cd from the buring preferences I am unable to burn.
    Thanks

  • NoSuchfieldName error while compiling a class that was produced by sqlj

    hello all,
    could you please tell me where the following error code came from when i
    tried to execute java TestInstallSQLJ?
    I could use sqlj TestInstallSQLJ.sqlj to translate it into java code, but
    then....
    thank you for your help.
    Exception in thread "main" java.lang.NoSuchFieldError
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at
    java.lang.IncompatibleClassChangeError.<init>(IncompatibleClassChangeError.java:43)
    at java.lang.NoSuchFieldError.<init>(NoSuchFieldError.java:45)
    at
    oracle.sqlj.runtime.OraDynamicClosure.getSQLType(OraDynamicClosure.java:68)
    at
    oracle.sqlj.runtime.OraBasicClosure.<init>(OraBasicClosure.java:47)
    at
    oracle.sqlj.runtime.OraClosureFactory.addStandardTypes(OraClosureFactory.java:138)
    at
    oracle.sqlj.runtime.OraClosureFactory.get81Closures(OraClosureFactory.java:50)
    at
    oracle.sqlj.runtime.OraClosureFactory.getTypeClosures(OraClosureFactory.java:33)
    at
    oracle.sqlj.runtime.OraCustomization.getProfile(OraCustomization.java:95)
    at
    oracle.sqlj.runtime.OraCustomization.getProfile(OraCustomization.java:87)
    at sqlj.runtime.profile.ref.ProfileImpl.getConnectedProfile(Compiled
    Code)
    at
    sqlj.runtime.ref.ProfileGroup$ConnectedGroup.getProfile(ProfileGroup.java:154)
    at
    sqlj.runtime.ref.ConnectionContextImpl.getConnectedProfile(ConnectionContextImpl.java:183)
    at
    sqlj.runtime.ExecutionContext.registerStatement(ExecutionContext.java:279)
    at TestInstallSQLJ.runExample(Compiled Code)
    at TestInstallSQLJ.main(TestInstallSQLJ.java:56)

    following is my environment:
    sqlj -version-long
    Oracle SQLJ Release 8.1.6.0.0 - SDK
    Build version: 1.0.4.4 - Built on Apr 14, 1999
    IDE interface version: 8.1.6.0.0/1.0.4.4
    JDBC version: non Oracle driver version 0.0 (0.0.0.0)
    java -version
    java version "1.2.1"
    Solaris VM (build Solaris_JDK_1.2.1_03, native threads, sunwjit)
    echo $PATH
    a long path +
    /examples/sqlj/bin
    echo $CLASSPATH
    a long CLASSPATH +
    /examples/sqlj/lib/translator.zip:
    oracle JDBC driver8.1.7
    it translated my sqlj files but then it can't interprete my java classes.
    thank you a lot for your help

  • Project exceeds max length error; but just burned one that was even longer

    I'm really confused. I'm receiving the "project length" is exceeded message but this video is shorter than one I just burnt earlier this morning. I'm under the time limit requirement. I've cut off intro/outro loops. Don't know what to try from here short of having to re-install stuff.
    Any thoughts?

    I figured this out. The DVD Chapters had the loops set to 14 minutes for each page of them. I shortened it...problem solved.

  • I used an itune voucher and had $30 left on it then used my credit card. would anybody know ho I can access the itune voucher to use the $30 that was left on it?

    hello

    Inachu wrote:
    I went back to my ITUNES account info and tried to wipe my CC info and IT REFUSED! it demanded I have some sort of CC info in there and the page would not save until the data was correct.
    Look if you can't give me proper info then keep quiet.
    I still work at a helpdesk and so far you have been the worst in giving misinformation.
    Message was edited by: Inachu
    1) Your post is very insulting. You could have told me that deleting your credit card did not work. You did not have to insult me.
    2) Unless apple changed their requirements, you can Zero out your credit card information - after it has cleared your account and been removed. However I don not work for Apple and if they changed that requirement they would not have told that to me.
    3) I have given you a perfectly working alternative that does work. If you refuse to believe me, that is your issue. I don't have to take your insults and you have no right to insult me.

  • How do I conference in a voice mail message so that the person I call can hear a message that was left on my phone?

    How do I conference in a voicemail message so that a person that I call can hear the voicemail that is on my phone?
    Thanks!

    That's kind of what I thought but it doesn't help until I can get to another phone. I do not have a landline and I work from home.
    Thanks so much for your response!

  • HT201441 Ok I got a iPhone 5 from eBay that had activation lock from I cloud I tried contacting the number that was left on the message but the person I contacted has had that number for 2 years now so I can't get In Touch with the original owner is their

    Is there any other way to unlock the phone if I take it to allow can they help?

    Unfortunately, no.

  • Multiple head tags on instance pages

    Hi there,
    I have a problem whereby pages created from a template are
    producing multiple head tags, 3 pairs in fact.
    I have used the Check Template Syntax and it is OK.
    If I remove the doctype it does not create these duplicate
    head areas.
    Here is my doctype in the dwt:
    &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xml:lang="en">
    <head>
    &lt;!-- TemplateInfo codeOutsideHTMLIsLocked="false"
    -->
    and here is what is being output in instance pages:
    &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xml:lang="en"><head></head><head></head><head></head>&lt;!--
    InstanceBegin template="/Templates/master.dwt"
    codeOutsideHTMLIsLocked="false" -->
    I have searched the forums and the web in general but have
    found no help. Any help would be greatly appreciated.
    kind regards

    > Have you ever heard of editable-head-areas being
    duplicated?
    No. But I have recommended consistently that Nested templates
    are too
    complex for casual use. Frankly, I have not found a good
    scenario that
    would compel me to use them at all. I don't encourage that
    you use them
    either - why are you?
    > I have a master template, and the head area has a
    Dreamweaver
    > editable-area
    > tag around the entire head area.
    Why would you do this? All you need there is the doctitle and
    the head
    region.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "scratchmybrain" <[email protected]> wrote
    in message
    news:[email protected]...
    > Hi Murray
    >
    > sorry if that was confusing.
    >
    > What it meant is, and some more of the story, as
    follows:
    >
    > I have a master template, and the head area has a
    Dreamweaver
    > editable-area
    > tag around the entire head area.
    >
    > I have made new nested templates from the master, each
    of which have the
    > editable-area tag around the entire head.
    >
    > However, whenever I made a new template based on the
    master, Dreamweaver
    > would
    > assign a second editable-area tag immediately after the
    head, but which
    > was
    > *also* called the 'head'.
    >
    > And since I had 2 areas called the 'head', the second of
    which (an empty
    > tag)
    > seemed to take precedent over the former, and
    obliterated the head of
    > subsequent child pages.
    >
    > Indeed just by editing the master it applied the same
    extra set of tags to
    > each nested template.
    >
    > All of this happened before I became aware of what the
    problem was, and by
    > hunting around I found this extra editable-area tag to
    be the culprit.
    >
    > I do not have access to the files until Monday next
    week, so I can't
    > attach
    > anything.
    >
    > Have you ever heard of editable-head-areas being
    duplicated?
    >
    > thanks Murray
    >
    > cheers
    >
    > Darryl
    >
    >

  • After Mavericks upgrade I lost  the current I Movie project I was working on.  All that is left is the video clips, no photographs, music, transitions or titles. Three weeks work gone!

    I upgraded to Maverick from Mountain Lion.
    I also upgraded the various Apple Software applications that appeared after the upgrade to the operating system.  I opened I Movie to continue work on a project I was working on and as requested I allowed I Movie to update the projects  to allow it to work with the upgrade.
    As it was doing this a dialogue box came up showing an error had been encountered and advised me to quit I movie.  I did this and when I reopened it the project I had been working on had lost all of the photographs, music, transitions and titles.  All that was left were the thirty-seven video clips and nothing else.  Where has all my work gone and how can I retrieve it.

    rob2433 wrote:
    I upgraded to Maverick from Mountain Lion.
    I also upgraded the various Apple Software applications that appeared after the upgrade to the operating system.  I opened I Movie to continue work on a project I was working on and as requested I allowed I Movie to update the projects  to allow it to work with the upgrade.
    As it was doing this a dialogue box came up showing an error had been encountered and advised me to quit I movie.  I did this and when I reopened it the project I had been working on had lost all of the photographs, music, transitions and titles.  All that was left were the thirty-seven video clips and nothing else.  Where has all my work gone and how can I retrieve it.
    It should still be on your backup drive. Try reimporting it.
    Pete

  • Variable Engine crashes when querying a tag that doen't exist with OPC client

    Hi!
    I'm working on a system based on LV 2011 DSC.  The system is multi-node and uses Sahred Variables.
    We have a node that has everything available in the system and we would like to use the embedded OPC server in the Variable Engine to grab everything in real-time and feed a corporate historian system.
    It happened couple of time that querying a tag that was not defined in NI (example: typo when typing an address in the OPC client) caused some instability and made the node crash.  After a reboot, everything was ok.
    Is there a way to prevent a supervisory system of making crash a production system?  Can we limit the OPC server to the defined tags in the library?
    Thanks.
    Francois

    The variable engine is known to be buggy from time to time, so be sure you upgrade all the related software to the latest version (or not
    If it is possible, have the OPC client create a new tag for any that are queried, but do not exist.
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

  • Can I find out who ownes an IPod that was found at our place of business

    We found a an IPod which appears to a Nano Version that was left behind at our place of business.  Is there a way to get it back to the person if they don't call about it?

    Unfortunately there is not.
    Reporting a lost or stolen Apple product
    B-rock

Maybe you are looking for