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

Update record behavior problem for php

Guest
Jun 01, 2011 Jun 01, 2011

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.

TOPICS
Server side applications
1.1K
Translate
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
LEGEND ,
Jun 01, 2011 Jun 01, 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.

Translate
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
Guest
Jun 02, 2011 Jun 02, 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.

Translate
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
LEGEND ,
Jun 02, 2011 Jun 02, 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.

Translate
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
Guest
Jun 03, 2011 Jun 03, 2011

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.

Translate
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
LEGEND ,
Jun 03, 2011 Jun 03, 2011
LATEST

OK, marking this thread as assumed answered.

Translate
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