Skip to main content
June 1, 2011
Question

Update record behavior problem for php

  • June 1, 2011
  • 2 replies
  • 1067 views

I am getting an error when I try to ad the Update Record behavior in the server behaviors panel to a php site I'm working on.

It worked previously but I removed my record set and all behaviors to change some things. I was able to add the record set and all the behaviors but when I tried to add the Update Record behavior I got this error in a pop up window:

while executing onLoad in UpdateRecord.htm, the following javascript error(s) occurred:
At  line 687 of file "c:/program files(x86)/Adobe/Dreamweaver/configuration/ServerBehaviors/PHP_MySQL/UpdateRecord.js." name has  no properties

Can anyone help me? I've found no solutions when searching these forums and through google.

This topic has been closed for replies.

2 replies

David_Powers
Inspiring
June 3, 2011

OK, marking this thread as assumed answered.

David_Powers
Inspiring
June 1, 2011

This thread has been moved to the Dreamweaver Application Development forum, which deals with PHP and other server-side issues.

The answer is in the Dreamweaver FAQ. You have a corrupt cache file. See Deleting a corrupt cache file for instructions.

June 2, 2011

I tried deleting just the cache file. That did not fix my problem.

I tried deleting the whole configuration folder. That, also, did not fix my problem.

Any other suggestions? Do I need to reinstall?

After deleting the configuration folder I was asked to install the Dreamweaver HTML extension but it was already installed. I chose to install it again but I am still have the error about line 687 in updaterecord.js.

This is extremely frustrating. This is day two of no productivity due to this error.

edit:

I'm going to try importing an old version of my pages from before the error occured in case for some reason this error is a result of a coding error.

David_Powers
Inspiring
June 2, 2011

Reinstalling should not be necessary. The problem is usually caused by a corrupt cache file or conflicts with extensions. If you deleted the configuration folder, that should have removed any installed extensions and reset Dreamweaver back to the default settings. The advice in the FAQ that I pointed you to contains the answer to most problems of this nature. However, there's an official Knowledge Base article that goes into much more detail: http://kb2.adobe.com/cps/405/kb405604.html.

If you do go down the route of reinstalling, make sure you delete the existing preferences first, either by deleting the configuration folder or by selecting the checkbox in the uninstall screen. Otherwise, Dreamweaver preserves the old, potentially corrupt version.