Simple javascript error unterminated string

I am getting error message unterminated string.
document.location.href='getname.cfm?buffer=#buffer#';">
Any idea. thankx

looks like you have a doublequote after your semi-colon?
you might also want to enclose the #buffer# variable in a
URLEncodedFormat() function.
location.href =
'getname.cfm?buffer=#URLEncodedFormat(buffer)#';

Similar Messages

  • Target="_blank  Error unterminated string literal

    Hello,
    I have used a example from Patrick Wolf and it won't work.
    http://www.inside-oracle-apex.com/opening-url-in-new-window/
    I need a pop_up window after pushing the button:
    Target is a: URL
    1- URL Target: http://www.google.nl/" target="_blank -- Don't work (Error unterminated string literal)
    2- URL Target: http://www.google.nl/ -- Works
    What is wrong(see number 1)?
    Thanks at advance.
    Walter

    Jari,
    It didn't work.
    On the rightside from my button I have now the next text : Google')">
    With Error- pointer on ' before <a:
    Fout: unterminated string literal
    Bronbestand: http://apex-o/pls/apex/f?p=160:190:8048856061349970::::FSESSION,FORMID:10752014578,
    Regel: 1, Kolom: 20
    Broncode:
    javascript:redirect('<a href=
    when I change 'Optional URL Redirect' field 'URL Target' to
    <a href=http://www.google.nl/ target=_blank'></a>
    I have the next Error:
    Fout: syntax error
    Bronbestand: http://apex-o/pls/apex/f?p=160:190:8048856061349970::::FSESSION,FORMID:10752014578,
    Regel: 1, Kolom: 66
    Broncode:
    javascript:redirect('<a href=http://www.google.nl/ target=_blank'></a>')
    It still not work. Do you have a solution.
    Walter

  • When you run Muse 2014 get an error unterminated string constant. Reinstalling does not help. System: Win8.1RU. Help!!!

    When you run Muse 2014 get an error unterminated string constant. Reinstalling does not help. System: Win8.1RU. Help!!!

    Is this occurring on launch? Can you post a screenshot? This isn't an error I recall being reported before.

  • Admin: create desktop javascript error we're dead

    Any ideas on the cause/fix for a javascript error in the PortalAdmin when creating a desktop from the .portal template?
    Javascript dialogue box: A runtime error has occured...
    Line: 2653
    Error: Unterminated string constant
    Dirt simple portal but a week passed, some new portlets, some renaming of Definition labels... ??
    No obvious console errors. These messages have started recently:
    Found no context for "/favicon.ico". This request does not match the
    On shutdown this message gets stuck in a loop and WLS won't shut down: Found no context for "/". This request does not match the context path
    Thanks, curt

    Hello, I'm having the same problem.
    Line: 2796
    Char: 326
    Error: Unterminated String Constant
    Code: 0
    URL: http://localhost:7001/publicportalAppAdmin/portal
    My portal file
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:html="http://www.w3.org/1999/xhtml-netuix-modified/1.0.0"
    xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <portal:directive.page contentType="text/html;charset=UTF-8"/>
    <netuix:desktop backingFile="be.mobistar.publicportal.web.desktop.backing.DesktopBacking"
    definitionLabel="reshuffle" markupName="desktop" markupType="Desktop"
    title="New Portal Desktop" treeOptimizationEnabled="true">
    <netuix:lookAndFeel defaultWindowIconPath="/presentation/skins/images/"
    definitionLabel="mobistarDefinitionLabel" description="the Mobistar look and fell"
    markupName="mbsportalLookAndFeel" markupType="LookAndFeel" skeleton="mbsportal"
    skeletonPath="/presentation/skeletons/" skin="mbsportal" skinPath="/presentation/skins/" title="mbsportal"/>
    <netuix:shell description="Shell used in the Reshuffle portal." markupName="mbsportalShell"
    markupType="Shell" title="MBS-Portal-Shell">
    <netuix:head/>
    <netuix:body>
    <netuix:header>
    <netuix:jspContent contentUri="/presentation/otherelements/header.jsp"/>
    </netuix:header>
    <netuix:book defaultPage="home" definitionLabel="reshuffle_book_5" markupName="book"
    markupType="Book" title="Main Page Book">
    <netuix:singleLevelMenu
    description="This menu provides menu to navigate across pages for the MBS Portal."
    markupName="mbsportalmenu" markupType="Menu"
    skeletonUri="/presentation/skeletons/mbsportal/mbsportalmenu.jsp" title="MBS Portal Menu"/>
    <netuix:content>
    <netuix:page definitionLabel="home" markupName="page" markupType="Page" title="Home">
    <netuix:content>
    <netuix:layout
    description="This layout is used for pages containing five cells"
    htmlLayoutUri="/framework/markup/layout/mbsportalfiveCellslayout.html.txt"
    markupName="mbsportalfivecells" markupType="Layout"
    skeletonUri="mbsportalfiveCellslayout.jsp"
    title="MBS Portal five cells Layout" type="full">
    <netuix:placeholder
    description="The first placeholder in this layout."
    markupName="mbsportalfivecells1" markupType="Placeholder"
    title="1" usingFlow="true">
    <netuix:portletInstance
    contentUri="/be/mobistar/publicportal/web/portlets/login/LoginController.portlet"
    instanceLabel="portlet_5_1" markupType="Portlet" title="LoginController"/>
    </netuix:placeholder>
    <netuix:placeholder
    description="The second placeholder in this layout."
    markupName="mbsportalfivecells2" markupType="Placeholder" title="2"/>
    <netuix:placeholder
    description="The third placeholder in this layout."
    markupName="mbsportalfivecells3" markupType="Placeholder" title="3"/>
    <netuix:placeholder
    description="The fourth placeholder in this layout."
    markupName="mbsportalfivecells4" markupType="Placeholder" title="4"/>
    <netuix:placeholder
    description="The fifth placeholder in this layout."
    markupName="mbsportalfivecells5" markupType="Placeholder" title="5"/>
    </netuix:layout>
    </netuix:content>
    </netuix:page>
    <netuix:book defaultPage="moof_index" definitionLabel="moof"
    markupName="book" markupType="Book" title="Mobistar Offer">
    <netuix:singleLevelMenu
    description="This menu provides menu to navigate across pages for the MBS Portal."
    markupName="mbsportalmenu" markupType="Menu"
    skeletonUri="/presentation/skeletons/mbsportal/mbsportalmenu.jsp" title="MBS Portal Menu"/>
    <netuix:content>
    <netuix:page definitionLabel="moof_index" hidden="true"
    markupName="page" markupType="Page" title="Index">
    <netuix:content>
    <netuix:layout
    description="This third layout is used for pages containing five cells"
    htmlLayoutUri="/framework/markup/layout/mbsportalsixCellslayoutc.html.txt"
    markupName="mbsportalsixCellslayoutc"
    markupType="Layout"
    skeletonUri="mbsportalsixCellslayoutc.jsp"
    title="MBS Portal six cells Layout C" type="full">
    <netuix:placeholder
    description="The first placeholder in this layout."
    markupName="mbsportalsixCellslayoutc1"
    markupType="Placeholder" title="1">
    <netuix:portletInstance
    contentUri="/be/mobistar/publicportal/web/portlets/login/LoginController.portlet"
    instanceLabel="portlet_5_2" markupType="Portlet" title="LoginController"/>
    </netuix:placeholder>
    <netuix:placeholder
    description="The second placeholder in this layout."
    markupName="mbsportalsixCellslayoutc2"
    markupType="Placeholder" title="2"/>
    <netuix:placeholder
    description="The third placeholder in this layout."
    markupName="mbsportalsixCellslayoutc3"
    markupType="Placeholder" title="3"/>
    <netuix:placeholder
    description="The fourth placeholder in this layout."
    markupName="mbsportalsixCellslayoutc4"
    markupType="Placeholder" title="4"/>
    <netuix:placeholder
    description="The fifth placeholder in this layout."
    markupName="mbsportalsixCellslayoutc5"
    markupType="Placeholder" title="5"/>
    <netuix:placeholder
    description="The sixth placeholder in this layout."
    markupName="mbsportalsixCellslayoutc6"
    markupType="Placeholder" title="6"/>
    </netuix:layout>
    </netuix:content>
    </netuix:page>
    <netuix:book defaultPage="moof_whchmo_index"
    definitionLabel="reshuffle_book_7" markupName="book"
    markupType="Book" title="Why choosing Mobistar">
    <netuix:content>
    <netuix:page definitionLabel="moof_whchmo_index"
    markupName="page" markupType="Page" title="Index">
    <netuix:content>
    <netuix:layout
    description="This layout is used for pages containing five cells"
    htmlLayoutUri="/framework/markup/layout/mbsportalfiveCellslayout.html.txt"
    markupName="mbsportalfivecells"
    markupType="Layout"
    skeletonUri="mbsportalfiveCellslayout.jsp"
    title="MBS Portal five cells Layout" type="full">
    <netuix:placeholder
    description="The first placeholder in this layout."
    markupName="mbsportalfivecells1"
    markupType="Placeholder" title="1" usingFlow="true"/>
    <netuix:placeholder
    description="The second placeholder in this layout."
    markupName="mbsportalfivecells2"
    markupType="Placeholder" title="2"/>
    <netuix:placeholder
    description="The third placeholder in this layout."
    markupName="mbsportalfivecells3"
    markupType="Placeholder" title="3">
    <netuix:portletInstance
    contentUri="/be/mobistar/publicportal/web/portlets/menu/menuwchmo.portlet"
    instanceLabel="menuwchmo_1"
    markupType="Portlet" title="MenuController"/>
    </netuix:placeholder>
    <netuix:placeholder
    description="The fourth placeholder in this layout."
    markupName="mbsportalfivecells4"
    markupType="Placeholder" title="4"/>
    <netuix:placeholder
    description="The fifth placeholder in this layout."
    markupName="mbsportalfivecells5"
    markupType="Placeholder" title="5"/>
    </netuix:layout>
    </netuix:content>
    </netuix:page>
    <netuix:page definitionLabel="moof_whchmo_tegein"
    markupName="page" markupType="Page" title="Template Generic Info">
    <netuix:content>
    <netuix:layout
    description="This layout is used for pages containing five cells"
    htmlLayoutUri="/framework/markup/layout/mbsportalfiveCellslayout.html.txt"
    markupName="mbsportalfivecells"
    markupType="Layout"
    skeletonUri="mbsportalfiveCellslayout.jsp"
    title="MBS Portal five cells Layout" type="full">
    <netuix:placeholder
    description="The first placeholder in this layout."
    markupName="mbsportalfivecells1"
    markupType="Placeholder" title="1" usingFlow="true"/>
    <netuix:placeholder
    description="The second placeholder in this layout."
    markupName="mbsportalfivecells2"
    markupType="Placeholder" title="2"/>
    <netuix:placeholder
    description="The third placeholder in this layout."
    markupName="mbsportalfivecells3"
    markupType="Placeholder" title="3">
    <netuix:portletInstance
    contentUri="/be/mobistar/publicportal/web/portlets/menu/menuwchmo.portlet"
    instanceLabel="menuwchmo_2"
    markupType="Portlet" title="MenuController"/>
    </netuix:placeholder>
    <netuix:placeholder
    description="The fourth placeholder in this layout."
    markupName="mbsportalfivecells4"
    markupType="Placeholder" title="4"/>
    <netuix:placeholder
    description="The fifth placeholder in this layout."
    markupName="mbsportalfivecells5"
    markupType="Placeholder" title="5"/>
    </netuix:layout>
    </netuix:content>
    </netuix:page>
    </netuix:content>
    </netuix:book>
    <netuix:book defaultPage="moof_mo_index" definitionLabel="moof_mo"
    markupName="book" markupType="Book" title="Mobile">
    <netuix:content>
    <netuix:page definitionLabel="moof_mo_index" hidden="true"
    markupName="page" markupType="Page" title="Index">
    <netuix:content>
    <netuix:layout
    description="This layout is used for pages containing seven cells"
    htmlLayoutUri="/framework/markup/layout/mbsportalsevenCellslayout.html.txt"
    markupName="mbsportalsevencells"
    markupType="Layout"
    skeletonUri="mbsportalsevenCellslayout.jsp"
    title="MBS Portal seven cells Layout" type="full">
    <netuix:placeholder
    description="The first placeholder in this layout."
    markupName="mbsportalsevencells1"
    markupType="Placeholder" title="1" usingFlow="true"/>
    <netuix:placeholder
    description="The second placeholder in this layout."
    markupName="mbsportalsevencells2"
    markupType="Placeholder" title="2"/>
    <netuix:placeholder
    description="The third placeholder in this layout."
    markupName="mbsportalsevencells3"
    markupType="Placeholder" title="3">
    <netuix:portletInstance
    contentUri="/be/mobistar/publicportal/web/portlets/menu/menumobile.portlet"
    instanceLabel="portlet_7_3"
    markupType="Portlet" title="MenuController"/>
    <netuix:portletInstance
    contentUri="/be/mobistar/publicPortal/web/portlets/promoabstract/PromoAbstractContentController.portlet"
    instanceLabel="portlet_promoabstract_1"
    markupType="Portlet" title="PromoAbstractContentController"/>
    </netuix:placeholder>
    <netuix:placeholder
    description="The fourth placeholder in this layout."
    markupName="mbsportalsevencells4"
    markupType="Placeholder" title="4">
    <netuix:portletInstance
    contentUri="/be/mobistar/publicPortal/web/portlets/UniverseOffers/UniverseOffersContentController.portlet"
    instanceLabel="portlet_universeoffers_2"
    markupType="Portlet" title="UniverseOffersContentController"/>
    <netuix:portletInstance
    contentUri="/be/mobistar/publicPortal/web/portlets/offerlinemobile/OfferlineMobileContentController.portlet"
    instanceLabel="portlet_offerlinemobile_1"
    markupType="Portlet" title="OfferLineMobileContentController"/>
    </netuix:placeholder>
    <netuix:placeholder
    description="The fifth placeholder in this layout."
    markupName="mbsportalsevencells5"
    markupType="Placeholder" title="5"/>
    <netuix:placeholder
    description="The sixth placeholder in this layout."
    markupName="mbsportalsevencells6"
    markupType="Placeholder" title="6"/>
    <netuix:placeholder
    description="The seventh placeholder in this layout."
    markupName="mbsportalsevencells7"
    markupType="Placeholder" title="7"/>
    </netuix:layout>
    </netuix:content>
    </netuix:page>
    <netuix:page definitionLabel="moof_mo_teofli" hidden="true"
    markupName="page" markupType="Page" title="Template Offer Line">
    <netuix:content>
    <netuix:layout
    description="This layout is used for pages containing seven cells"
    htmlLayoutUri="/framework/markup/layout/mbsportalsevenCellslayout.html.txt"
    markupName="mbsportalsevencells"
    markupType="Layout"
    skeletonUri="mbsportalsevenCellslayout.jsp"
    title="MBS Portal seven cells Layout" type="full">
    <netuix:placeholder
    description="The first placeholder in this layout."
    markupName="mbsportalsevencells1"
    markupType="Placeholder" title="1" usingFlow="true"/>
    <netuix:placeholder
    description="The second placeholder in this layout."
    markupName="mbsportalsevencells2"
    markupType="Placeholder" title="2"/>
    <netuix:placeholder
    description="The third placeholder in this layout."
    markupName="mbsportalsevencells3"
    markupType="Placeholder" title="3">
    <netuix:portletInstance
    contentUri="/be/mobistar/publicportal/web/portlets/menu/menumobile.portlet"
    instanceLabel="menumobile_2"
    markupType="Portlet" title="MenuController"/>
    </netuix:placeholder>
    <netuix:placeholder
    description="The fourth placeholder in this layout."
    markupName="mbsportalsevencells4"
    markupType="Placeholder" title="4"/>
    <netuix:placeholder
    description="The fifth placeholder in this layout."
    markupName="mbsportalsevencells5"
    markupType="Placeholder" title="5"/>
    <netuix:placeholder
    description="The sixth placeholder in this layout."
    markupName="mbsportalsevencells6"
    markupType="Placeholder" title="6"/>
    <netuix:placeholder
    description="The seventh placeholder in this layout."
    markupName="mbsportalsevencells7"
    markupType="Placeholder" title="7"/>
    </netuix:layout>
    </netuix:content>
    </netuix:page>
    <netuix:page definitionLabel="moof_mo_teun" hidden="true"
    markupName="page" markupType="Page" title="Template Universe">
    <netuix:content>
    <netuix:layout
    description="This layout is used for pages containing six cells"
    htmlLayoutUri="/framework/markup/layout/mbsportalsixCellslayout.html.txt"
    markupName="mbsportalsixcells"
    markupType="Layout"
    skeletonUri="mbsportalsixCellslayout.jsp"
    title="MBS Portal six cells Layout" type="full">
    <netuix:placeholder
    description="The first placeholder in this layout."
    markupName="mbsportalsixcells1"
    markupType="Placeholder" title="1"/>
    <netuix:placeholder
    description="The second placeholder in this layout."
    markupName="mbsportalsixcells2"
    markupType="Placeholder" title="2"/>
    <netuix:placeholder
    description="The third placeholder in this layout."
    markupName="mbsportalsixcells3"
    markupType="Placeholder" title="3">
    <netuix:portletInstance
    contentUri="/be/mobistar/publicportal/web/portlets/menu/menumobile.portlet"
    instanceLabel="menumobile_1"
    markupType="Portlet" title="MenuController"/>
    </netuix:placeholder>
    <netuix:placeholder
    description="The fourth placeholder in this layout."
    markupName="mbsportalsixcells4"
    markupType="Placeholder" title="4">
    <netuix:portletInstance
    contentUri="/be/mobistar/publicportal/web/portlets/universe/universe.portlet"
    instanceLabel="unve_2"
    markupType="Portlet" title="Universe"/>
    </netuix:placeholder>
    <netuix:placeholder
    description="The fifth placeholder in this layout."
    markupName="mbsportalsixcells5"
    markupType="Placeholder" title="5"/>
    <netuix:placeholder
    description="The sixth placeholder in this layout."
    markupName="mbsportalsixcells6"
    markupType="Placeholder" title="6"/>
    </netuix:layout>
    </netuix:content>
    </netuix:page>
    <netuix:page definitionLabel="moof_mo_teof" hidden="true"
    markupName="page" markupType="Page" title="Template Offer">
    <netuix:content>
    <netuix:layout
    description="This layout is used for pages containing six cells"
    htmlLayoutUri="/framework/markup/layout/mbsportalsixCellslayout.html.txt"
    markupName="mbsportalsixcells"
    markupType="Layout"
    skeletonUri="

  • Desktop create fails with javascript error (unable to proceed)

    When creating a new desktop from a portal template the action fails and the only error I can find is a javascript error.
    The error in the browser when trying to create a new desktop from the portal.
    <b>Error: unterminated string literal</b>
    Source File: http://localhost:7001/FoundationAppAdmin/portal.portal
    Line: 2710, Column: 28
    Source Code:
    ror(s) occurred during XmlDisassemblerContext parsing: Parser Error...
    That corresponds to this code in the web page source in the portal admin tool.
    function showUserErrorMessages() {
    alert(unEscapeChars("- Error: The desktop could not be disassembled. [com.bea.netuix.application.transform.disassembler.XmlDisassemblerException: com.bea.netuix.application.transform.disassembler.XmlDisassemblerException: One or more validation error(s) occurred during XmlDisassemblerContext parsing: Parser Error...
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
    Parser Error...
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
    Parser Error...
    org.xml.sax.SAXParseException: Duplicate unique value [ID Value:  bEarn] declared for identity constraint of element "desktop".
    Parser Error...
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
    Parser Error...
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
    Message was edited by:
    dallastx

    When creating the desktop from a .portal file in the admin tools, the .portal file is parsed and validated before persisting to the database. It looks like this is failing and you are getting some fairly straight-forward messages. Check the format of the contents in the .portal file and make the necessary corrections.

  • Javascript errors with IE6 - Goods receipt

    User have problems and receive javascript errors all the time, he is running IE6 which is a very old version, but according to PAM it should be supported. Java-version is not up-to-date on end user either. Unfortunately we can´t force an update on this.
    error message:
    Line 2647
    Char 9
    Error: unterminated string constant
    Code 0
    URL from eprocurement, including session ID and bc/gui/sap/its/bbpcf03/~session ID
    transaction template is bbpcf03
    Any ideas?

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • Javascript error under IE 6 on System Messenger Express 6.1

    Hi ,
    I am using messaging server System Messenger Express 6.1 (2005Q1) for providing webmail service. It support en and zh-TW language.
    There are no problem on the webmail under english language version. However when user change his preferred language to zh-TW, after he login to the webmail and click the address book link, it has no problem on the first time access.
    However when user visit other link such as Inbox and then go back to the Address book page, it encounter the following error and no display on the screen.
    Line: 10
    Char: 35
    Error: Unterminated string constant
    Code: 0
    URL: http://hostname /zh-TW/pab_fs.html?&security=false&lang=zh-TW&charset=escaped_unicode
    Line: 16
    Char: 3
    Error: 'main' is not an object
    Code: 0
    URL: http://hostname/zh-TW/pab_fs.html?&security=false&lang=zh-TW&charset=escaped_unicode
    I have tried the same scenario in firefox and IE 5, it does not have the error above. I think user mostly will use the IE6 for browsing. Anyone has idea on it?
    Thanks

    One of many bugs in 6.1. Suggest upgrading to at least 6.2. Please note, 6.3 was released last week.
    6.1 to 6.2 is as easy as applying several patches:
    You will need to patch any JES componants that are on the same box, and the "shared componants". See the 6.2 documentation for how to upgrade.

  • Unterminated String constant javascript error while handling textarea in ja

    hi,
    my code is -->
    <textarea class = "ipfield" rows="2" cols="80" name = "ruleDesc" id = "ruleDesc" onchange="setIsEdited()"><c:out value="${ruleDesc}" escapeXml="false"/></textarea>
    on click of cancel it should be reseated to previously present in ModelAnd View(MAV) object
    code is document.getElementById('ruleDesc').value = '<c:out value="${ruleDesc}" escapeXml="false"/>';
    but m getting javascript error while setting tht one
    i view tht source in IE.
    that is because of
    it looks like ->
    document.getElementById('ruleDesc').value = 'this is the data from database
    ok ?'
    if there is \n in database it will go to next line because of that *'* after document.getElementById('ruleDesc').value is not completed
    can u please help me about that problem.
    thanx in advance.

    Actually seeing as we are talking javascript at this point, the correct escape would be to escape the \n character. ie produce it as the characters \ and n.
    I would recommend using [StringUtils.escapeJavascriptString|http://commons.apache.org/lang/api-release/org/apache/commons/lang/StringEscapeUtils.html#escapeJavaScript(java.lang.String)] from the [apache commons|http://commons.apache.org/lang/]
    Cheers,
    evnafets

  • Unterminated string literal error every time firefox opens a page.

    Every time firefox opens a new page, the error pops up. It says Javascript error at the top of the error window - and the error is "unterminated string literal. It very annoying, some pages have multiple instances of the error window popping up on top of each other. I reloaded the program, no changes. I am ready to give up and go to Chrome (which does not have the error)

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    If it works in Safe Mode and in normal mode with all extensions (Firefox/Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit)
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Htmlconvertor gives "unterminated string" in generated Javascript?

    The code generated by the htmlconvertor.exe program gives the following:
    however, IE says "unterminated string or constant on this line, particularly the NAME="VirtualVisIR" [the culprit]. Has anyone else had this problem - what is the solution?
    Thanks
    <SCRIPT LANGUAGE="JavaScript"><!--
        if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 976 HEIGHT = 520 NAME="VirtualVisIR"           codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0"><NOEMBED><XMP>');
        else if (_ns == true && _ns6 == false) document.writeln('<EMBED
             type="application/x-java-applet;version=1.4"
                CODE = "VirtualVisIR_Main.class"
                ARCHIVE = "virtualvisir.jar"
                NAME = "VirtualVisIR"
                WIDTH = 976
                HEIGHT = 520
                scriptable ="true"
             scriptable=false
             pluginspage="http://java.sun.com/products/plugin/index.html#download"><NOEMBED><XMP>');
    //--></SCRIPT>

    you need to remove all the line breaks after the EMBED tag... in other words it needs to be one long line like the document.writeln is for the OBJECT tag... i guess it's a bug in the htmlconverter...
    cheers!

  • Generating javascript from method ...getting unterminated string literal er

    Hello all,
    I am attempting to generate several links on a jsp that are generated by a method in my class file. Each link has an onmouseover event that will display a popup box that I got from dynamicdrive.com.
                    sb.append("<a href='#' onclick=openChatWindow('");
                    sb.append(roomName.getName()+"')  onMouseover=showmenu(event,"+getRoomOccupants(connx,roomName.getName())+") onMouseout=delayhidemenu()>");
                    sb.append(roomName.getName());
                    sb.append("</a><br><br>");The above code generates an "invalid xml syntax" error, the resultant html code viewed in firefox's js dubug window is:
    <p align="left">
    69 <h5>Available Chat Rooms</h5><br><a href='#' onclick=openChatWindow('aroom') onMouseover=showmenu(event,<p align=left><b>Empty</b></p>) onMouseout=delayhidemenu()>aroom</a><br><br><a href='#' onclick=openChatWindow('room2') onMouseover=showmenu(event,<p align=left><b>Empty</b></p>) onMouseout=delayhidemenu()>room2</a><br><br>
    70 </p>I also tried to add apostrophes within the mouseover event like so:
                    sb.append("<a href='#' onclick=openChatWindow('");
                    sb.append(roomName.getName()+"') onMouseover=showmenu(event,'"+getRoomOccupants(connx,roomName.getName())+"') onMouseout=delayhidemenu()>");
                    sb.append(roomName.getName());
                    sb.append("</a><br><br>");Now I get an "unterminated string literal" error and the resultant html code is:
    <p align="left">
    69 <h5>Available Chat Rooms</h5><br><a href='#' onclick=openChatWindow('aroom') onMouseover=showmenu(event,'<p align=left><b>Empty</b></p>') onMouseout=delayhidemenu()>aroom</a><br><br><a href='#' onclick=openChatWindow('room2') onMouseover=showmenu(event,'<p align=left><b>Empty</b></p>') onMouseout=delayhidemenu()>room2</a><br><br>
    70 </p>I know this is a syntax error but I cant figure it out.
    TIA!

    Try adding double quotes around the handler bodies. Example
    onMouseOver="showmenu(event, '....');"The forum syntax highlighter does not show any single quote mismatches.

  • Javascript Error! Error number: 45 error string: Objects is invalid line: 387, Line 428

    I am running Indesign CS3 on an XP computer. I installed a plugin for barcodes from teacup Software, Barcodemaker for Indesign CS3 win and this has crashed my Indesign CS3.
    Everytime I startup I get this Javascript error! Error number: 45 Error string: objects is invalid line: 387 I hit enter and iget the same message line: 428.
    The adobe knowledge base has a message http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402389&sliceId=2
    I can't find the file Pluginconfig.txt on my computer to delte as suggested in this article. Can anyone help with this issue.
    I have uninstalled the plugin and I have try to repair/reinstall my copy of Indesigh CS3 version 5.0.4 but it still is not possible to use Indesign.
    Has anyone encoutered this problem? Can you tell me where to find this file Pluginconfig.txt.

    C:\Documents and Settings\[username]\Local Settings\Application Data\Adobe\InDesign\Version 5.0\Caches\InDesign Recovery
    This is a hidden folder, so you'll need to set Explorer to show hidden files if you haven't already. Start by just renaming the folder to _InDesign Recovery and it should rebuild on the next launch if this is going to work. If it doesn't work, you won't have lost anything.
    Might work even better if you were to try a system restore, however. Do you have a restore point from before the plugin was installed?
    Peter

  • SIT (nidll) Unterminated String Error

    Good day,
    I'm trying to build a model DLL in Simulink using NI SIT 4.0. The model builds using GRT and ERT (no auto config) fine (warnings galore but they are expected - unconnected inputs/outputs).
    When trying to build using nidll.tlc (either just autocoding or autocoding and linking to a DLL) I get an error which stops the build process:
    ### TLC code generation complete.
    ### Generating TLC interface API.
    ## SIT 4.0 Modifying PMS.c file
    Error: Inside: EXPRESSION Line: 8 Column: 76
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    Unterminated string
    Error: Inside: EXPRESSION Line: 8 Column: 105
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    Unterminated string
    Error: Inside: EXPRESSION Line: 8 Column: 77
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    syntax error
    Error: Inside: EXPRESSION Line: 8 Column: 76
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    Unterminated string
    ### Real-Time Workshop build procedure for model: 'PMS' aborted due to an error.
    I am confused as to which file it is referring to when it has the error.
    nidll_codegen.tlc - At the locations given is either the middle of text or nothing after a comment.
    PMS.c - looks incomplete (as expected) with a lot of whitespace and the locations reference nothing or a valid line of code (nothing to do with a string). All strings in this file are terminated. As this is the file being generated I doubt it is this file causing issues
    For reference all other C files and headers are created fine (sub units). We are using:
    MATLAB 7.4.0 (R2007a)
    NI SIT 4.0
    MS VC++ 6.0
    Any ideas most welcome and received with thanks!
    Regards,
    Rich

    Hi Richard,
    I know you have already verified you can built a Generic Real-Time model, however did you run the model without creating a make-file?
    In the log, an error message that results is a problem with the simulink model first and fore most. Have you determined what all the warnings are related to?
    Are you sure there is not a problem in the Simulink model?
    Please can you answer these questions and I will see what I can do for you.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • Unterminated  string error

    I get unterminated string error and not ideal how to fix it <p><form>
                            <c:forEach var="year" items="${sessionScope.studentUpdate}">
    <input type="button" value="show information" onclick="openNewInsert('PaymentInfor?search=<c:out value="${year.student_id}"/>')">
                      </c:forEach></p></form>

    if I only have <input type="button" value="show information" onClick="openNewInsert('')"> it did not show the Unterminate error , even I just use
    <input type="button" value="show information" onClick="openNewInsert('Hello.jsp')">, but when I add PaymentInfor?search=<c:out value="${year.student_id}"/> it get error
    ...I still don't get it

  • Build a querystring within class file throws js unterminated string literal

    Hello all,
    I have a page that is partially built from within a method.
    String theLink ="FeedFilePusher";//My servlet
                        itemGeoLink = "<a href='#' onclick=top.alertMe('"+theLink+"')>CLICK</a>";The above works fine.
    The problem is that I need to pass a querystring to this servlet.
                        String theLink ="FeedFilePusher?title=" + itemTitle + "&summary=" + itemDesc + "&link=" + entry.getLink() + "&updated=" + itemDate;
                        itemGeoLink = "<a href='#' onclick=top.alertMe('"+theLink+"')>CLICK</a>";When I add the querystring values it throws a unterminated string literal error from within firefox.
    I tried to encode the ? and the & but that didnt work.
    Any ideas on how to do this?
    Here is the simple javascript function called alertMe.
    function alertMe(url)
        document.getElementById('mapframe').src = url;
        closeBubble();
    }TIA!

    Check if the resulting link has any ' or accented letters (����). That sometimes causes that error (at least i've seen it like.. 1000000 times writing spanish applications lol)
    Also, the URL.encode() method might help.

Maybe you are looking for