While executing onLoad in Date_beforeSave.htm, a javascript error occurred.

I have set up some pages to have an automatically updating
"Last Modified On" date. However, I have been getting 2 error
dialog boxes every time I save a file, both with the same message:
"While executing onLoad in Date_beforeSave.htm, a javascript error
occurred." In looking at some other threads on this forum, I have
tried deleting the Application Data files
"Configuration\SiteCache\SEL Web Site.dws" and
"Configuration\WinFileCache-####.dat". I have also tried several
different date formats, but that didn't seem to change anything.
I have not been able to find any threads specific to this
exact error, though.
Any help would be highly appreciated! The site is at
http://picea.sel.uaf.edu/index.html,
if that helps.
Thanks for your help,
Jock

Troubleshooting JavaScript errors in Dreamweaver
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
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
==================
"jockamo" <[email protected]> wrote in
message
news:etpo3o$54c$[email protected]..
>I have set up some pages to have an automatically
updating "Last Modified
>On"
> date. However, I have been getting 2 error dialog boxes
every time I save
> a
> file, both with the same message: "While executing
onLoad in
> Date_beforeSave.htm, a javascript error occurred." In
looking at some
> other
> threads on this forum, I have tried deleting the
Application Data files
> "Configuration\SiteCache\SEL Web Site.dws" and
> "Configuration\WinFileCache-####.dat". I have also tried
several
> different
> date formats, but that didn't seem to change anything.
>
> I have not been able to find any threads specific to
this exact error,
> though.
>
> Any help would be highly appreciated! The site is at
>
http://picea.sel.uaf.edu/index.html,
if that helps.
>
> Thanks for your help,
> Jock
>

Similar Messages

  • "When I try to create a new file I am getting this message:  "While executing getDynamicContent in AddressURL.htm, a JavaScript error occured".... what should I do?  Thank you, Lisa

    "When I try to create a new file I am getting this message:  "While executing getDynamicContent in AddressURL.htm, a JavaScript error occured".... what should I do?  Thank you, Lisa

    Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
    Start with steps #4, #12 and #10.
    Nancy O.

  • While executing inspectSelection in cf_select.htm, a Javascript error occurred.

    I keep getting this retarded error 3 times in a row when I put in a cfselect box.
    While executing inspectSelection in cf_select.htm, a Javascript error occurred.
    it makes me click "OK" 3x before continuing then it pops up every time i make a change to the page.
    What is going on?

    This is what fixed it for me.
    c:\program files\adobe\dreamweaver CS5\configurations\inspectors\cf_select.js
    Went to line 231  canInspectSelection() function.  Changed it to return (false);  instead of true. 
    Something to do with the property inspectors.
    http://help.adobe.com/en_US/dreamweaver/cs/extend/WS5b3ccc516d4fbf351e63e3d117f508c8de-7ff b.html

  • While executing inpectSelection in asp_command.htm, a JavaScript error occurred.

    While executing inpectSelection in asp_command.htm, a JavaScript error occurred.
    Error pops up In Dreamweaver CS6. I'm in code view when this happens.
    Seems to happen only when I try to scroll up or down using scroll bar or keyboard arrow keys.
    Any help is appreciated.

    Just tried #12 and #4.... .. no solution, yet.
    Tried #6 -- recreate site cache...  not a solution.
    Now I'm getting multiple types of similar errors on a few pages...  I'm going to have to make a list of error issues so I can be more precise about what's happening.
    I may be back within a day or two after some data collection.

  • While executing applyServerBehaviour in ShowifRSNotEmpty.htm, a JavaScript error occurred?

    Hi forum,
    Long time no post!
    Well, I've been trying out mySQL and Dreamweaver. I've found a book called Dreamweaver MX 2004 Design Projects and I am trying to write and get working Allan Kent's News Portal site as it seems to have all the things I want to learn in it.
    However, my question is this:
    When I have put in this code:
    <p>
      <span class="Headline"><?php echo $row_rstLatestNews['news_headline']; ?></span><br />
      <img src="showimage.php?show=icon&story=1" class="imgLeft" width="60" height="60" />
      <?php echo
    $row_rstLatestNews['news_pk']; ?>"    <?php echo
    $row_rstLatestNews['news_icon_meta']; ?>  /><?php echo
    $row_rstLatestNews['news_precis']; ?><br />
    <a href="news.php?story=<?php echo
    $row_rstLatestNews['news_pk']; ?>" class="More">Read More</a>
    </p>
    and then highlight all of the <p> to </p> (i.e. everything above) and apply show region if recordset Not Empty Server Behaviour
    it says:
    "While executing applyServerBehaviour in ShowifRSNotEmpty.htm, a JavaScript error occurred."
    what does this mean?
    why is it doing this?
    Please help!
    T.

    tomcausland wrote:
    I did this and it didn't work, I deleted the file and then it generated a new one.
    Yes, it will generate a new one. That's the idea of deleting the one that has become corrupted. However, if it didn't fix the problem, it could mean that an extension is causing problems. The next stage is to delete or rename your personal configuration folder. Doing so reverts Dreamweaver back to all its default settings, and should clear any problem. However, your later comments suggest the problem might lie elsewhere.
    May I ask, what is SQL injection and what is insecure code?
    Sure, you can ask, but a quick Google search would bring you the answer much quicker than waiting for me to have time to reply. Read the following page, and you'll understand what SQL injection is and why code vulnerable to is is insecure: http://en.wikipedia.org/wiki/Sql_injection.
    The exercise to create a news website uses server behaviours. I have gone through the exercise and it didn't seem to work properly. So I went through and tried reapplying server behaviours and this is when I get the error message opening and closing the server behaviours. When it happens once it happens to all of them so I have to reboot DW.
    I have read that server behaviours have a logical order on a web page and changing one effects the operation of others.
    Server behaviors are simply PHP code that has been generated automatically by Dreamweaver. When applied correctly, they should work without problem. However, a lot of people use them without understanding any of the code generated by Dreamweaver. That's when problems arise. If you make a mistake, you can't just select things in Design view and press Delete. To remove a server behavior cleanly, you need to select its name in the Server Behaviors panel, and click the minus button.
    Also, I know that Allan's instructions involve editing server behavior code. Once you do so, Dreamweaver usually no longer recognizes it as a server behavior, so you need to edit the code entirely in Code view. If you're not sure what you're doing, problems can again arise. I would suggest wiping the page clean, and starting again.
    Allan is an experienced author and PHP developer, so I assume that his instructions are correct. However, mistakes do occur in books. I see there is no errata page for that book, but that doesn't mean it's free of mistakes. I submitted corrections to a couple of my books several months ago, but friends of ED hasn't bothered to put them on its website. You can download the example files for that book. If there's a set of complete files, test them in a browser. Then compare your files with the author's.

  • While executing ObjectTag in flash.htm, a javascript error occurred

    I'm attempting to place a SWF file in an editable region on a page created from a template.  I get the error: While executing ObjectTag in flash.htm, a javascript error occurred.  I saw on another sight that someone found the problem which was editable regions remove the head tag information.  But I do not know how to enter this info.  I tried just putting  a </head> and a head and body tag in code view inside the name region but this did not work. Any help would be appreciated.

    Main.dwt
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    background-color: #00C;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    #container {
    background-color: #FFF;
    width: 900px;
    margin-right: auto;
    margin-left: auto;
    #flashbanner {
    background-color: #FFF;
    height: 350px;
    width: 900px;
    #title {
    background-color: #FFF;
    height: 35px;
    width: 900px;
    #navtop {
    background-color: #FFF;
    height: 100px;
    width: 900px;
    #spacer1 {
    background-color: #00C;
    height: 20px;
    width: 900px;
    #navleft {
    background-color: #FFF;
    float: left;
    height: 1200px;
    width: 250px;
    border-right-width: medium;
    border-right-style: solid;
    border-right-color: #00C;
    #mainbody {
    background-color: #FFF;
    height: 1200px;
    width: 646px;
    float: left;
    #spacer2 {
    background-color: #00C;
    height: 20px;
    width: 900px;
    clear: both;
    #navbottom {
    background-color: #FFF;
    height: 100px;
    width: 900px;
    #spacer3 {
    background-color: #00C;
    height: 20px;
    width: 900px;
    -->
    </style></head>
    <body>
    <div id="container"><!-- TemplateBeginEditable name="flashbanner" -->
      <div id="flashbanner">flashbanner</div>
    <!-- TemplateEndEditable --><!-- TemplateBeginEditable name="title" -->
    <div id="title">title</div>
    <!-- TemplateEndEditable -->
    <div id="navtop">nav top</div>
      <div id="spacer1"></div>
      <div id="navleft">nav left</div>
      <!-- TemplateBeginEditable name="mainbody" -->
      <div id="mainbody">mainbody</div>
      <!-- TemplateEndEditable -->
      <div id="spacer2"></div>
      <div id="navbottom">nav bottom</div>
      <div id="spacer3"></div>
    container</div>
    </body>
    </html>
    Index.htm
    <!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"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    background-color: #00C;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    #container {
    background-color: #FFF;
    width: 900px;
    margin-right: auto;
    margin-left: auto;
    #flashbanner {
    background-color: #FFF;
    height: 350px;
    width: 900px;
    #title {
    background-color: #FFF;
    height: 35px;
    width: 900px;
    #navtop {
    background-color: #FFF;
    height: 100px;
    width: 900px;
    #spacer1 {
    background-color: #00C;
    height: 20px;
    width: 900px;
    #navleft {
    background-color: #FFF;
    float: left;
    height: 1200px;
    width: 250px;
    border-right-width: medium;
    border-right-style: solid;
    border-right-color: #00C;
    #mainbody {
    background-color: #FFF;
    height: 1200px;
    width: 646px;
    float: left;
    #spacer2 {
    background-color: #00C;
    height: 20px;
    width: 900px;
    clear: both;
    #navbottom {
    background-color: #FFF;
    height: 100px;
    width: 900px;
    #spacer3 {
    background-color: #00C;
    height: 20px;
    width: 900px;
    -->
    </style></head>
    <body>
    <div id="container"><!-- InstanceBeginEditable name="flashbanner" -->
      <div id="flashbanner">flashbanner</div>
    <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="title" -->
    <div id="title">title</div>
    <!-- InstanceEndEditable -->
    <div id="navtop">nav top</div>
      <div id="spacer1"></div>
      <div id="navleft">nav left</div>
      <!-- InstanceBeginEditable name="mainbody" -->
      <div id="mainbody">mainbody</div>
      <!-- InstanceEndEditable -->
      <div id="spacer2"></div>
      <div id="navbottom">nav bottom</div>
      <div id="spacer3"></div>
    container</div>
    </body>
    <!-- InstanceEnd --></html>

  • While executing getDynamicContent in AdressURL.htm, a JavaScript error occurred"

    I am using a 4 weeks trail Dreamweaver cc. I am getting this error: "While executing getDynamicContent in AdressURL.htm, a JavaScript error occurred"
    I am getting this with every single site of folder I am opening..
    What can /must I do?
    Thanks for your response

    Below is the whole enchilada on JS Errors.  Start with #4, 6, 10, 12.
    Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6...
    Nancy O.

  • While executing findDynamicSources in SpryDataSet.htm, a JavaScript error occurred.

    I'm working with Spry datasets for some time now. But now I have a very annoying problem.
    When I use  the character '{' in any part of the HTML-sourcecode (HTML or JS) my Dreamweaver CS5 (11.0 build 4964)  freezes and crashes.
    When I try to examine the reason (by re-bulding part by part the code), I've got the message "While executing findDynamicSources in SpryDataSet.htm, a JavaScript error occurred." . Any ideas what is happening here?
    I know, DW wants to analyze the inside of XML dataset, but it's not there. It will be generated online. So while editing the source code it's not available.
    var dsLog = new Spry.Data.XMLDataSet("xml_log.php", "LOGS/ITEM", {filterFunc: MyPagingFunc, useCache:false, entityEncodeStrings:false});
    Any clues how to solve this?
    Thanks, Pieter

    Two possible solutions
    create a local file for a design time feed
    use SpryDataYQLDataSet which allows cross domain access
    Gramps

  • While executing applyserverbehavior in repeatedregion.htm a javascript error occurred

    "While executing applyserverbehavior in repeatedregion.htm a
    javascript error occurred". Can't find anything at all relevant to
    CS3 after googling this. What I did find seems to indicate a
    problem with DW. But where??? Heeeeeeeeeelp please. Thanks!

    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "SailorBr549" <[email protected]> wrote in
    message
    news:fvoquk$cpu$[email protected]..
    > "While executing applyserverbehavior in
    repeatedregion.htm a javascript
    > error
    > occurred". Can't find anything at all relevant to CS3
    after googling this.
    > What
    > I did find seems to indicate a problem with DW. But
    where??? Heeeeeeeeeelp
    > please. Thanks!
    >

  • While executing objecttag in table.htm a javascript error occurred

    When I'm trying to insert a table I get the following error: while executing objecttag in table.htm a javascript error occurred

    You need to turn on your hidden files/folders to see them...
    Windows 8 How To: 19. Show Hidden Files, Folders and Drives - Dr. Z's Blog - Site Home - MSDN Blogs

  • While executing applyServerBehavior in kd_RestrictAccessPage.htm, a javascript error occurred

    .. Getting random javascript errors and pages that were working fine, in which i have done no manual editing get a red exclamation mark by themselves.
    especially the list recordset.. get a red "!"
    The loop parameters bla bla bla..
    Exact Error message below.
    "Error processing insertText tag: 'loop' parameter arrays must be the same length. The 'loop' parameter 'tableCSSWidth' does not have the same length as the previous 'loop' parameter(s)."
    and so on.. I simply cannot apply any server behaviors or edit them.
    mohnkhan
    http://www.mohitech.com

    Hi,
    Reinstalling helped me with that issue ..
    to avoid such issues whenever i used dreamweaver i do it in a vmware box...
    regards
    mohnkhan
    http://www.mohtiech.com

  • DW CS5.5: Javascript error while executing onLoad in Date_beforeSave.htm Not resolved for me!!!

    Hello,
    I'm having trouble when moving or renaming files. Linked files are automatically updated, but the following error message appears for each file: "While executing onLoad in Date_beforeSave.htm, a Javascript error occurred".
    I tried the solution found in a previous discussion (http://forums.adobe.com/message/757114#757114), that is to say: deleting the .dat file located in the "Applicaion dataAdobe\Dreamweaver CS5.1\Configuration" folder. But it doesn't work.
    I also tried by reinstalling the whole CS5.5 pack, but no result.
    I also had trouble while installing the CS5.5 Web Premium pack (on Windows XP Pro). Maybe the 2 problems are related?... As the installation was done, an error message appeared saying that some errors occured. Here is part of the error status:
    "- 0 fatal error(s), 14 error(s), 11 warning(s)
    WARNING: DW024: The payload: Adobe Photoshop CS5.1 Core {08EF22BC-43B2-4B4E-BA12-52B18F418F38} requires a UI parent with following specification:
                Family: Photoshop
                ProductName: Adobe Photoshop CS5.1 Core_x64
                This parent relationship is not satisfied, because this payload is not present in this session.
    WARNING: DW025: The payload with AdobeCode: {D8CCCF4C-C227-427C-B4BE-736657D2AB7E} has recommended dependency on:
                Family: Adobe Web Suite CS5.5
                ProductName: Adobe Media Encoder CS5.5 X64
                MinVersion: 0.0.0.0
                This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                Removing this payload from the dependency list.
    ERROR: DW025: The payload with AdobeCode: {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
                Family: CoreTech
                ProductName: Adobe Player for Embedding x64 3.1
                MinVersion: 0.0.0.0
                This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                Removing this dependency from list. Product may function improperly."
    Please, can anyone help?

    OK, I'll try to explain more clearly (excuse me if my English is imperfect, because I'm French).
    In fact, I'm facing 2 problems, which could be related or not.
    First, when I installed Creative Suite 5.5 some months ago, I received an error  at the end of the installation. You can download a copy of the report here: https://www.box.com/s/5m4k6xv68h00cpumwil9
    However, I could use the Adobe softwares without observable problem... until those last days...
    So, second and really annoying problem that I only detected those last days (maybe I didn't use the implied function before, but I'm not sure). When using DW, if I want to rename or to move some HTML files in a defined website, all the linked files will be automatically updated. As the automatic update is proceeding, I receive, for each updated file, the following error warning: "While executing onLoad in Date_beforeSave.htm, a Javascript error occurred". And I have to click "OK" to each warning in order the processus to go on. The result of the automatic update is uncertain: some files have been properly updated, some other not.
    As I already explained in my first post, I tried (unsuccessfully) to resolve by those two means:
    deleting ".dat" file in the "config" folder
    reinstalling CS5.5 (same error report received as when I first installed).
    I hope that I've been more clear that time and that you'll be able to help me! Thanks!

  • Trying to insert a table and getting a "While executing objectTag in Table.htm, a JavaScript error o

    trying to insert a table and getting a "While executing objectTag in Table.htm, a JavaScript error occurred." message appears.  how do I fix this?

    Try this Technote
    http://kb2.adobe.com/cps/405/kb405604.html
    Try step 4 here
    http://kb2.adobe.com/cps/405/kb405604.html#main_dat

  • While executing onLoad in Date_before Save.htm, a JavaScript error occurred

    While executing onLoad in Date_before Save.htm, a JavaScript error occurred, I have looked af the Forum and it tells me to delete Program Files\Macromedia\Dreamweaver CS3\Configuration\Commands and I cannot find these files despite searching.
    I had a text conversation with support at Adobe and they no longe support Dreamweaver CS3!  Has anyone else had a similar problem and if so how was it fixed.
    Regards

    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    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
    ==================
    "jockamo" <[email protected]> wrote in
    message
    news:etpo3o$54c$[email protected]..
    >I have set up some pages to have an automatically
    updating "Last Modified
    >On"
    > date. However, I have been getting 2 error dialog boxes
    every time I save
    > a
    > file, both with the same message: "While executing
    onLoad in
    > Date_beforeSave.htm, a javascript error occurred." In
    looking at some
    > other
    > threads on this forum, I have tried deleting the
    Application Data files
    > "Configuration\SiteCache\SEL Web Site.dws" and
    > "Configuration\WinFileCache-####.dat". I have also tried
    several
    > different
    > date formats, but that didn't seem to change anything.
    >
    > I have not been able to find any threads specific to
    this exact error,
    > though.
    >
    > Any help would be highly appreciated! The site is at
    >
    http://picea.sel.uaf.edu/index.html,
    if that helps.
    >
    > Thanks for your help,
    > Jock
    >

  • "While executing applyBehavior in Swap image.htm, a JavaScript error occurred."

    What should be a simple web update is turning into a nightmare. I can't select any of my images to apply onMouseOver Swap Image behaviors, and I keep getting the message above.
    Can I just say right now that I hate Dreamweaver CS6 and what it's doing to this project?
    Ugh!

    Is this a plea for help or a rant?
    Javascript Errors in CS4, CS5, CS6 (the whole enchilada of trouble shooting)
    http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html
    Start with #4, #10 and #12
    Nancy O.

Maybe you are looking for