Technote Details :: When working with various server behaviors I get random JavaScript errors.

Issue

When working with Dreamweaver and extensions I sometime encounter JavaScript errors. Sometimes the errors do not reproduce after I restart Dreamweaver, sometimes they persist.

Reason

Dreamweaver caches some of the most used JavaScript code and data and stores it in its cache files. The entire cache system is coordinated by a single file (***filecache***.dat) which acts as an index of the cache files. Sometimes, the cache index file gets corrupted, which results in random JavaScript errors.

Solution

Dreamweaver recreates the cache index file if it is not found in the default location. Therefore, one solution to these problems is to manually delete the cache index file:

  1. Close Dreamweaver.
  2. Browse to the cache index file and delete it. The file is located:
    1. For Dreamweaver 8 on Windows, it is stored in <system_drive>:\Documents and Settings\[username]\Application Data\Macromedia\Dreamweaver 8\Configuration\WinFileCache-xxxxxxxx.dat.
    2. For Dreamweaver MX 2004 on Windows, it is stored in <system_drive>:\Documents and Settings\[username]\Application Data\Macromedia\Dreamweaver MX 2004\Configuration\FileCache.dat
    3. On Mac OS: Macintosh HD:Users:MAC_User:Library:Application Support:Macromedia:Dreamweaver MX 2004:Configuration:MacFileCache-xxxxxx.dat
  3. The file name varies based on the Dreamweaver version and installation. The xxxxxx section marked in the file names above represent a random number that is generated by Dreamweaver during install, and which is particular for each system.
  4. Restart Dreamweaver. The cache index will be recreated, and the JavaScript errors should disappear.

The Application Folder is by default marked as Hidden and will not be visible. To display it on Windows you must folow these steps:

  1. Open a folder of choice with the Windows Explorer.
  2. Go to Tools > Folder Options.
  3. Switch to the View tab.
  4. Check the Show hidden files and folders radio button. Click OK to apply the changes.

See Also

1. I cannot upgrade my extensions

I cannot install a new version of my extensions. Every time I attempt to install a newer version, [...]


Raymond Rwehumbiza - 11-03-2006 08:20:00 GMT +2

when am trying to create insert form the error message appear and says no head element found, this happen after clicking finish button.

Also am getting errors on the form validation and this is after removing the cache index file.

 

Home > Support > Knowledge Base > Technote Details
Search the Knowledge Base
© Adobe Systems Romania. All rights reserved.