Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver 4 Save Error

Status
Not open for further replies.

tamsinhep

Programmer
Jul 24, 2001
1
GB
Hello,

I'm not a programmer, I'm a web designer.
For no reason that I can see, DW4 has started giving me error messages when I save pages:

Code:
While executing onLoad, the following JavaScript error(s) occurred:
At line 67 of file "Date_beforeSave.htm": currLock has no properties

I'm using templates, in which one of the non-editable regions contains an automatically updated date stamp. The error occurs whether I save the template, its dependent documents or even completely non-related documents (all have the date stamp).

This is line 67 of the file:
Code:
 currLock = locks.item(LOCK_IND++);

in a section of code covered by the comments:

//function: updateDWDates
//description: updates all of the last modified dates in the document

It does actually seem to save OK, but I'm worried that something serious is lurking underneath. Has anyone had this problem or know how I can resolve it?


 
i'm not familliar with the problem, but i can give one tip though...
reinstall the program, then try to rebuild the page. If there's still an error it would be a fault in the script.
 
Hello tamsinhep!

I join ænema opinion about reinstalling DW. I've had this problem before, but I don't remember what I did. But what I would do now - reinstall DW. It really should help.

It's DW's internal error.

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top