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

Generic javascript error when trying to add PHP Update behavior

Explorer ,
Oct 05, 2011 Oct 05, 2011

When I try to add an Update behavior (PHP) from DW CS5,  I get this popup error and I have no idea what it means!

While executing applyServerBehavior in UpdateRecord.htm, a JavaScript error occurred.

help??

TOPICS
Server side applications
2.4K
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
Community Expert ,
Oct 06, 2011 Oct 06, 2011

http://kb2.adobe.com/cps/405/kb405604.html

Start with 12 & 4 and then go through the rest if necessary.

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
Explorer ,
Oct 06, 2011 Oct 06, 2011

Yup, I’ve tried everything on that list… still happening

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
Community Expert ,
Oct 07, 2011 Oct 07, 2011

At this point there are only 2 other solutions to try because that is the only KB article related to JS errors and cleaning out those user configs usually does the trick.

1.  Your OS profile has become corrupt somewhere.  Create a new profile on your computer and try running the same operation on DW.  If this works you will need to move over your other user settings from applications, but do not move over all user data as you may bring the corrupted file(s) with you.

2.  Run the Cleaner: Click on Help->De-Activate in any Adobe program to deactivate the software.  Run the Clean Script: http://www.adobe.com/support/contact/cscleanertool.html and then re-install.

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
Explorer ,
Nov 26, 2011 Nov 26, 2011

What I found worked was to be sure to have Apache and Mysql running on my computer, be sure you have the Connection php file set up (connAdmin.php) then I opened Dreamweaver, deleted any previous update or login server behaviors, deleted the cache file mentioned in many posts (on my Mac I went to /user/Library/Application Support/Adobe/DreamweaverCS4/en_US/Configuration/) and removed any additional code I added in code view, then I tried adding the server behavior one again... and everything worked! It's not a big problem. Just do what I did. Don't have to mess with all the reinstalls.

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
New Here ,
Nov 27, 2011 Nov 27, 2011
LATEST

did you make the update form using the update wizard? if not, create a new page with a new record set and attempt to update using the update wizard.  see if that works.

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