Why am I getting a syntax error on the /head line in DW CC?

I am getting a syntax error in DW CC.  Other threads have indicated this was a bug in CS6 but had been fixed in CC.  That leads me to believe it's my fault, but I can't figure it out.  Can anyone help based on the information I've pasted below?  Thanks!
<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Untitled Document</title>
<link href="boilerplate.css" rel="stylesheet" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
<link href="jQueryAssets/jquery.ui.core.min.css" rel="stylesheet" type="text/css">
<link href="jQueryAssets/jquery.ui.theme.min.css" rel="stylesheet" type="text/css">
<link href="jQueryAssets/jquery.ui.accordion.min.css" rel="stylesheet" type="text/css">
<link href="jQueryAssets/jquery.ui.tabs.min.css" rel="stylesheet" type="text/css">
<!--
To learn more about the conditional comments around the html tags at the top of the file:
paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
* insert the link to your js here
* remove the link below to the html5shiv
* add the "no-js" class to the html tags at the top
* you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
-->
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="respond.min.js"></script>
<script src="jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="jQueryAssets/jquery-ui-1.9.2.accordion.custom.min.js" type="text/javascript"></script>
<script src="jQueryAssets/jquery-ui-1.9.2.tabs.custom.min.js" type="text/javascript"></script>
<!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/adamina:n4:default.js" type="text/javascript"></script>
</head>
<body>
<div class="gridContainer clearfix">
  <div id="div1" class="fluid">
    <header id="header" class="fluid">
      <p><img src="Images/Logos/insidejoplinlogo.png"  alt=""/></p>
        <nav id="mainnav" class="fluid"> <ul class="fluid fluidList mainnavlist"> <li class="fluid mainnavitem zeroMargin_desktop"><a href="Index2.html" title="Inside Joplin Home" target="_self">Home</a></li><li class="fluid mainnavitem"><a href="news.html">News</a></li><li class="fluid mainnavitem"><a href="entertainment.html">Entertainment</a></li><li class="fluid mainnavitem"><a href="announcements.html">Announcements</a></li><li class="fluid mainnavitem hide_mobile"><a href="galleries.html">Galleries</a></li><li class="fluid mainnavitem hide_mobile"><a href="aboutcontact.html">About/Contact</a></li>  </ul> </nav>
    </header>
    <article id="indexguts" class="fluid">    <article id="indexarticle" class="fluid">
      <h4 class="fluid articleH4 zeroMargin_mobile">Latest News</h4>
      <p> </p>
     <div id="Accordion1">
        <h3><a href="#">Section 1</a></h3>
        <div>
          <p>Content 1</p>
          </div>
        <h3><a href="#">Section 2</a></h3>
        <div>
          <p>Content 2</p>
          </div>
        <h3><a href="#">Section 3</a></h3>
        <div>
          <p>Content 3</p>
          </div>
      </div>
    </article><article id="article1" class="fluid">
      <h4 class="fluid articleH4 zeroMargin_mobile">Latest Entertainment</h4>
      <p> </p>
      <div id="Accordion2">
        <h3><a href="#">Section 1</a></h3>
        <div>
          <p>Content 1</p>
          </div>
        <h3><a href="#">Section 2</a></h3>
        <div>
          <p>Content 2</p>
          </div>
        <h3><a href="#">Section 3</a></h3>
        <div>
          <p>Content 3</p>
          </div>
      </div>
    </article><article id="article2" class="fluid"><h4 class="fluid articleH4 zeroMargin_mobile">Latest Announcements</h4>
    <p> </p>
      <div id="Tabs1">
        <ul>
          <li><a href="#tabs-1">Obituaries</a></li>
          <li><a href="#tabs-2">Weddings</a></li>
          <li><a href="#tabs-3">More</a></li>
          </ul>
        <div id="tabs-1">
          <p>Content 1</p>
          </div>
        <div id="tabs-2">
          <p>Content 2</p>
          </div>
        <div id="tabs-3">
          <p>Content 3</p>
          </div>
    </div>
    </article><article id="indexbotleft" class="fluid">This is the content for Layout Article Tag "indexbotleft"</article><article id="article3" class="fluid">This is the content for Layout Article Tag "indexbotleft"</article></article><aside id="mainsidebar" class="fluid">This is the content for Layout Aside Tag "mainsidebar"</aside><aside id="mainsidebar2" class="fluid">This is the content for Layout Aside Tag "mainsidebar2"</aside><article id="indexbotrot" class="fluid">This is the content for Layout Article Tag "indexbotrot"</article>
    <footer id="footer" class="fluid">
    <nav id="footernav" class="fluid">
     <ul id="footernavlist" class="fluid fluidList"> <li class="fluid footernavlistitem zeroMargin_mobile"><a href="Index2.html">Home</a></li><li class="fluid footernavlistitem hide_mobile"><a href="news.html">News</a></li>
      <li class="fluid footernavlistitem hide_mobile"><a href="entertainment.html">Entertainment</a></li>
      <li class="fluid footernavlistitem hide_mobile"><a href="announcements.html">Announcements</a></li>
       <li class="fluid footernavlistitem zeroMargin_desktop zeroMargin_mobile"><a href="galleries.html">Galleries</a></li>
       <li class="fluid footernavlistitem zeroMargin_mobile"><a href="aboutcontact.html">About Us</a></li> 
        <li class="fluid footernavlistitem zeroMargin_mobile"><a href="mailto:[email protected]">Email</a></li> <li class="fluid footernavlistitem zeroMargin_mobile"><a href="www.facebook.com/insidejoplin" target="new">Facebook</a></li></ul> 
       </nav>
       <article id="footerarticle" class="fluid"><img src="Images/Logos/insidejoplinlogo.png"  alt=""/></article>
    </footer>
  </div>
</div>
+
<script type="text/javascript">
$(function() {
          $( "#Accordion1" ).accordion();
$(function() {
          $( "#Accordion2" ).accordion();
$(function() {
          $( "#Tabs1" ).tabs();
</script>
</body>
</html>

Well Jon, the code is very simple... it's generated by DW's form check... and, as i said, it happens with unfailing regularity the minute it's put in to a template generated child.
This is what the code on the page looks like:
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Title Here</title>
<meta name="Keywords" content="some keywords here" />
<meta name="Description" content="Description here" />
<script type="text/javascript">
function MM_validateForm() { //v4.0
  if (document.getElementById){
    var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
    for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
      if (val) { nm=val.name; if ((val=val.value)!="") {
        if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
          if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
        } else if (test!='R') { num = parseFloat(val);
          if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
          if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
            min=test.substring(8,p); max=test.substring(p+1);
            if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
      } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
    } if (errors) alert('The following error(s) occurred:\n'+errors);
    document.MM_returnValue = (errors == '');
</script>
<!-- InstanceEndEditable -->
</head>
And, whammo: "There is a syntax error on line xx. Code hinting may not work until you fix this error."
And, the error always highlights the closing </script> line.
The script itself is fine:
1. If one puts it into an external js file, there's no problem
2. If one puts it in the body section, there's no problem
3. If one puts it in the template, there's no problem
Also, if one removes the closing </script> tag, the error goes away
The problem only happens in a child generated by a template and in the location I've illustrated. Apparently, this is a problem a lot of users are facing...

Similar Messages

  • Why do I get a "script error" message from Adobe flash player?  It is installed as a part of my browser.IE 11

    Why do I get a "script error"  from flash player when it is not installed separately?  It is part of my browser--IE 11

    Same error message, I disabled tab mix and made sure I only have the newest version of Java, restarted firefox, now it seems to be fine no error yet on Pogo games or pictures upload to ebay which were the biggest problems besides hanging. I had also had disabled AVG secure search yesterday but that did not solve the issue. Now I will try to add back in AVG search...I have very few adds ons, also the note embedded about re- installing a toolbar went away, my old one did not work with FF4, so I installed Yahoo toolbar but the message still did not go away until I applied this fix. Hopes this helps someone..

  • When I am on facebook I continually get a syntax error message which keeps coming back. I have checked my settings and enabled java script but doesnt help.

    I can access my facebook account with no trouble, but once facebook is loaded I repeatedly get an error message; syntax error. The words 'Java Script application' are in the bar across the top of the message. It comes up many times and completely disrupts what I am doing. I am wondering if ot has something to do with the adverts in the side bar of each page that I open in facebook. If I open FB from Google Chrome I don't get that problem, or in Explorer, but I would rather use Firefox. Help would be apprecitaed, please. Thanks.

    hello, first of all please [https://www.mozilla.org/firefox/update/ update firefox to the latest version]. the errors you're getting are likely coming from the socialfixer addon that you've installed - there's also an updated version of the extension available which fixes these kind of issues: http://socialfixer.com/blog/category/releasenotes/

  • Why am I getting a mf error domain 1032 message and when I put my password in it keeps coming up?

    Why am I getting a mf error domain 1032 message when trying to get my email?  I put password in and it keeps going back to error message?

    Try what Google threw out:
    Tap Settings > Mail, Contacts, Calendar and delete your email account.
    Then tap Settings > Safari > and Tap Clear History and Clear Cookies and Data.
    Now tap Settings > Mail, Contacts, Calendar and re-enter your email account details.

  • Why am I getting a -50 error when moving music to my iTouch?

    Why am I getting a -50 error when moving music to my iTouch?

    As Jim as stated, you do not want the OS, video app, and media all competing for hard drive access.
    It may have worked before, but that doesn't mean will work henceforth, as you have learned.
    A FW800 portable drive will cost about $75.00.

  • Why do I get Publish Failed Error Message when trying to publish a project to SWF. I am using Captivate 6 (32 Bit) Version 6.0.1.240. I have tried clearing the Cache and renaming my Preferences folder

    Why do I get Publish Failed Error Message when trying to publish a project to SWF. I am using Captivate 6 (32 Bit) Version 6.0.1.240. I have tried clearing the Cache and renaming my Preferences folder

    Try the troubleshooting tips here:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/basic-troubleshooting-tech niques
    You may have something in your project on one of the slides that is tripping up the publishing process.

  • Why do I get an unexpected error occured when I try to save a form as a pdf file?

    Why do I get an unexpected error occured when I try to save a form as a pdf file?

    Hi MsSunnyD,
    Try uninstalling Adobe Acrobat using the Adobe cleaner Tool  http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, try installing Adobe Reader XI. That should resolve the problem.
    Regards,
    Ajlan Huda.

  • Why do i get an "unknown error" when entering my apple id

    Why am I getting an "unknown error" message when I am trying to log into itunes with my apple id & password. Its a second mac pro and I was logged in and then logged out, now I can not log back in.. strange

    Have you tried to download anything else?

  • Getting a syntax error from mx.transitions.Tween with flash CS4

    Hello all!
    I am getting an import error with the following libraries:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    The errors are like this one:
    Definition fl.transitions:Tween could not be found
    I am using it as part of my .fla where for sorme reason it does not work but it works fine in the original archive. I guess it is a problem with the action script version becouse the original template use as2 and I am using as3.
    Does anyone know which are the equivalent libraries in as3???
    May I import does libraries directly in as3?
    Thanks in advance for your help

    in as3, you should use:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    NOT
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    (see the difference?)

  • "Syntax error in the MDX statement " in Process chain failure??Urgent pls

    Hi Experts,
    could any one suggest me the procedure to rectify the below problems in process chain?
    1."Syntax error in the MDX statement "
    2."Error when getting data (Error when getting data (AXI))"
    Rgds,
    BH

    In which case it'll be that Access has a different date format to MySQL, and you're trying to push the string "'25-Apr-12 10:55 PM" into Access, which it's not understanding. To get around this, you need to treat your variable as a true date/time object, rather than a formatted string.
    CFQueryParams should be used on absolutely every database platform, they'll stop your website being vulnerable to SQL Injection attacks for one, which at the moment you're wide open to. Replace your query with something like this:
    <cfquery name="input_comments" datasource="#DSN#" username="#DSNUSER#" password="#DSNPASS#">
          INSERT INTO comments(
                             commenter,
                             comment,
                             datetime,
                             post_id
                   VALUES(
                             <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.commenter#" />,
                             <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.comment#" />,
                             now(),
                             <cfqueryparam cfsqltype="cf_sql_numeric" value="#form.post_id#" /> )
    </cfquery>
    The QueryParams will handle the data types for you, and should pass values around more safely and with fewer issues. Assuming you just want to store the current date and time you don't even need to get ColdFusion involved, as databases have their own functions for this. I believe Access' version is simply NOW(), so I've put that in your query.
    Give the above a go.

  • Syntax error in the program SAPLSYMB

    Hi
    I have installed ECC6 on windows 2003 server  sqlserver 2005 as database. We are getting error at the time applying basis patch. The patch process is stopped at import_proper stage.
    When i try to execute any transaction , the error is "syntax error in the program SAPLSYMB". I have cleard the transaction log, still  the errro is same.
    When I try to relogin the error is same, I am unable to execute any transaction.
    Please do the needful
    Regards
    Prasanna.B.S

    Hellow,
    I have the same error, and I executed this command for 12 hours
    tp r3i SAPKB70017 ITP pf=/usr/sap/trans/bin/TP_DOMAIN_ITP.PFL tag=spam -Dclientcascade=yes -Drepeatonerror=8
    the message in cmd is
    earth\sapmnt\trans\tmp\SLOG0914.ITP.LOC is already in use (14474), I'm waiting
    2 sec (20090401065221). My name: pid 4188 on earth (dministrator)
    But this file (SLOG0914.ITP.LOC ) is in 0 kb, is this normally ?
    Please Help me
    Regards
    Graciela

  • TX BDLS - Syntax error in program SBDLS21020100127145818 line SELECT SINGLE

    Hi All,
    I am in the process of configuring a QAS system taken from a copy of th production system, I am going into TX BDLS and getting the following error message Syntax error in program SBDLS21020100127145818 line SELECT SINGLE AWSYS FROM DFKKKO has anyone got any ideas about this issue?
    Thanks
    Jay

    Force manual activation in se11 this tables: (SE11 -> display -> menu 'table' -> actívate)
    DFKKKO
    DFKKCOLFILE_P_W
    DFKKMKO
    DFKKREP06
    DFKKREP06_S
    DFKKREP07
    DFKKREV06
    DFKKREV07
    Try again the BDLS.
    Regards.

  • HT3702 why did i get charged three times for the same purchase? is it because i use my apple id on three devices.. two iphones, and ipad... and and macbook geez apple i support you enough can i just pay for one copy of the audiobook

    why did i get charged three times for the same purchase? is it because i use my apple id on three devices.. two iphones, and ipad... and and macbook geez apple i support you enough can i just pay for one copy of the audiobook

    These are user-to-user forums, you are not talking to Apple here.
    If it was an audiobook then they are one-time only downloads, to get it on your other devices you need to sync it to them and not re-download it oneach. You can try contacting iTunes support and see if they will refund or credit you for the second and third downloads : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to fix Syntax Error: Expected end of line, etc. but found end of script. in applescript?

    I am making an applescript for my modding tool for Minecraft. It used to use multiple apps and I am now trying to make one app for all the tasks.
    Here is the code:
    say "You are running iCraft version one point one for minecraft version 1.2.5"
    display dialog "Which tool do you want to use?" buttons {"Mod Installer", "Backup", "Restore"} default button 3
    set the button_pressed to the button returned of the result
    if the button_pressed is "Mod Installer" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Insert all mod files into the Mods folder."
    display dialog "Have you inserted all Mod files into the Mods folder?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Finished"
    else
    display dialog "Insert mod files into the Mods folder and restart iCraft.app."
    end if
    if the button_pressed is "Backup" then
    display dialog "Are you sure you want to backup your Minecraft.jar in it's current state?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Finished, find it in your Backups directory in the iCraft folder"
    else
    display dialog "Backup aborted"
    end if
    if the button_pressed is "Restore" then
    display dialog "Are you sure you want to restore your Minecraft.jar with your backup?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/resources/s…
    else
    display dialog "Restore aborted"
    end if
    end
    When I try to compile/run it gives me Syntax Error: Expected end of line, etc. but found end of script.

    Your script got mangled when pasting it into your message, but the main problem looks like you are missing a bunch of end if statements.  Unless your if statements are contained on one line, you need to terminate them with a matching end if statement - for example, the following are equivalent:
    if someString is "whatever" then display dialog "foo"
    if someString is "whatever" then
      display dialog "foo"
    end if

  • AppleScript -  Syntax Error: Expected end of line found """.

    The following AppleScript code works on Tiger and Snow Leopard but not on Leopard (10.5 > 10.5.8).
    tell application "FileMaker Pro"
    tell database "SomeDB.fp5"
    -- some code to execute
    end tell
    end tell
    In Leopard, the code won't compile and is complaining of a Syntax Error: Expected end of line found """. I click OK and then the quote symbol ( " ) to the left of SomeDB.fp5 is highlighted.
    Has anyone else experienced this and have resolved this in Leopard?
    Thanks

    If you copy/pasted the script from somewhere, the line endings in the source may not be translating. Try replacing the line endings (the return) on the lines around the one that is being highlighted.

Maybe you are looking for

  • How do i add more widgets to my iphone

    where can i find some widgets for my iphone? how can i download them and are there free

  • Contact card showing differently based on device used

    We are using Lync 2103 full client through O365.  On my desktop computer running Windows 7, the contact card populates all information for the user.  On a Surface Pro running Windows 8, the contact card is missing information like Work phone #, View

  • Stack-A-Matic Broken in CS-4

    Using PhotoShop CS 4 on Windows XP.  Have updated via Adobe for current files.  Running CS 4 Version 11.01 Installed Dr. Brown's Services 2.02 and installer. When selecting Tools > Dr. Brown's Services 2.02 > Stack-A-Matic in bridge, the script will

  • Host command from sqlplus based on a condition

    I am on an Oracle 10.2.0.3.0 database running on sun solaris. Am using my sqlplusw on my windows xp professional to do the below : SQL> select * from v$version; BANNER Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi PL/SQL Release 10

  • After Get pernr

    Hi Sap Gurus, I am new to hr abapcolud clarify my doubts plzzzzzzz. After excuting our program in hr abap start-of-selection. will trigger am i correct in our program which infotype we have diclered those infotypes data comes in pnnnn   this pnnnn is