• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Date_beforeSave.htm error

Explorer ,
Jan 24, 2022 Jan 24, 2022

Copy link to clipboard

Copied

Hi all,

When I open an html file in Dreamweaver and do a Save As to a different folder, such as copying index.html in one folder to another folder using File>Save As, I get the following error: 

 

While executing onLoad, the following JavaScript error(s) occured:

At line 75 of file "C:\Program Files\Adobe\Dreamewaver 2021\Configuration\Commands\Date_beforeSave.htm": docElements has no properties

 

If I save as in the same folder, I do not get the error.

 

When I open Date_beforeSave.htm, I grabbed this screen shot of the code before and after Line 75, as shown here:Screenshot 2022-01-24.jpg

I have tried recreating site cache following a reference here in Adobe from 2012 but couldn't find mention of this more recently.

 

I'm not fluent in Java, so have no idea what it wrong with this code.  Creatibe Cloud says my installation is up to date.  I'm currently using DW 21.2 with Windows 11.  This happens in all of my sites in Dreamweaver and has beenhappening for a long time (prior to current version). 

 

Each of my site uses templates.  The date code is in my template in a non-editable footer, and thus is in all my files.  The code Dreamweaver inserted into my templates for the revision date is:

 

<!-- #BeginDate format:Am1a -->January 24, 2022 12:03 PM<!-- #EndDate -->

 

This code is what Dreamweaver creates when you use Insert>Date.  The purpose is to update and display the date when I revise a file and upload it to my web server.

 

This issue doesn't affect my files inadversley, but it is annoying enough that I can't ignore it any longer.  Any ideas how to fix this will be appreciated.

 

 

TOPICS
Error

Views

217

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 24, 2022 Jan 24, 2022

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 24, 2022 Jan 24, 2022

Copy link to clipboard

Copied

Ben M, thank you for your question.  Yes, I have.  Followed each step, including renaming the Configurartion folder to old.  The issue did not get fixed.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 24, 2022 Jan 24, 2022

Copy link to clipboard

Copied

Did you re-install and if so, did you use the CC Cleaner tool ( https://helpx.adobe.com/creative-cloud/kb/cc-cleaner-tool-installation-problems.html ).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 24, 2022 Jan 24, 2022

Copy link to clipboard

Copied

LATEST

Ben M,  

No.  Never heard of the CC Cleaner Tool.  It looks very time consuming to be certain I don't loose files, etc.  Will tackle this plan when I have time to devote to it.  Fos such a minor toothache, not sure I want to go this extent to see if it gets fixed.

Thanks,

Jamie

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines