Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
The problem must have been with my pages and the changes I had made. I reverted to previous versions and I am not having a problem now. Thanks for your help.
Copy link to clipboard
Copied
OK, marking this thread as assumed answered.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now