Skip navigation
Currently Being Moderated

"beforeSave is not defined" message in CS5

Aug 7, 2012 7:34 AM

Our organization recently upgraded from older versions of Contribute to Contribute CS5.  One user who was upgraded is now getting errors when she tries to edit web pages.  The errors are:

In file "Date_beforeSave": ReferenceError: beforeSave is not defined


In file "_afterSave": ReferenceError: afterSave is not defined


These errors appear multiple times when opening or closing any web page.  She can click "OK" until they disappear, but as you can imagine, it slows her down a lot.


She is using Contribute CS5 on Windows XP.


I have renamed the translators file (which cleared up another error, but not these) and all of the references that I could find to the older version of Contribute.  I also deleted her connection to the website and then re-created it.


What do you think I should try next?

  • Currently Being Moderated
    Aug 7, 2012 7:43 AM   in reply to Kathy_OCNC

    I would try to clear her Contribute preferences:


    1. Quit Contribute if open.
    2. In windows, do the following:
      • Locate Contribute Preferences folder and delete it.

        Navigate to C:\Documents and Settings\<user>\Local Settings\Application Data\Adobe and delete “Contribute CS5” folder.

      • Clear the registry preferences.

        In the command prompt, run the following command - "reg delete "HKCU\Software\Adobe\Contribute 6" /f ".

    3. In Mac, do the following:
      • Locate the Contribute Preferences folder and delete it.

        Navigate to <User>\Library\Application Support\Adobe\ and delete “Contribute CS5” folder.

      • Locate the user preferences folder and delete it.

        Navigate to <user>\Library\Preferences\ and delete “Adobe Contribute 6” folder.

    4. Restart Contribute.

      When launched, new preferences folder is created based on the site connections that you create.

    Mark as:
  • Currently Being Moderated
    Aug 8, 2012 12:49 PM   in reply to Kathy_OCNC

    Glad that worked for  you. Those are some good steps to write down and hide away somewhere for future use.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points