GoLive® Actions Frequently Asked Questions

Having trouble getting your GoLive actions to work? See the frequently asked questions below. If the solution to your problem isn't mentioned, please check our support forum and post a new topic if your question hasn't already been covered by an existing topic.

  1. Why do my actions work on my computer, but not after I upload to the server?
  2. Why are the actions I just installed either not showing up in the actions list, or they look "grayed out" and can't be selected?
  3. Why don't my third-party actions work in GoLive CS2?

1. Why do my actions work on my computer, but not after I upload to the server?

GoLive handles action code in 2 different ways...

  • write all the code into your page
  • import an external script library

The default behavior in GoLive 4 and 5 was to write the code into you page. In GoLive 6, the default was changed to use the external script library, because that method works better with components and templates, and is generally more efficient.

If your page is working locally, but not online, then there is probably a problem with the path to your external script library. By default, at the root level of your site, there should be a folder named 'GeneratedItems' and inside this is the 'CSScriptLib.js' file. That is your external script library. Follow these steps to troubleshoot...

  1. First, make sure you've uploaded the GeneratedItems/CSScriptLib.js to the server. If it's not on the server, the browsers won't know what to do since they can't find the code. Before uploading, it's also a good idea to 'flatten' the file. This will optimize the file making it much smaller, and as a result your pages should load faster. To 'flatten' the script library, right click (control+click, Mac) on the GeneratedItems folder and choose 'Flatten Script Library' from the contextual menu. If this doesn't fix it for you, then...
  2. The path may be pointing to an absolute location on your hard drive instead of the GeneratedItems folder in your site root folder. This can happen as a result of working on a page using actions while not having your site window opened. It can also happen if you just aren't using a site window/file. The problem can also be caused by a special character in one of your directory names that's confusing GoLive's internal database. This could be a problem even if the directory is above the level of your root folder ? even the name of your hard drive. Look for problem characters like #, $, ?, ? (option+f, Mac), /, \, etc.
  3. To fix this problem, try opening your page, making sure that your site window is opened and your page is located within the Files tab on the left side of the site window. Select the page icon at the top left corner of your document window and go the the HTML tab of the Inspector. Try selecting the option to 'write code into page'. Now try uploading the file to your server. If it works now, then we've identified the problem. You can now either leave it set to write the code into your page, or change it back in the Inspector to 'import script library'. If you files are set up correctly, the link should be written back into your page to point to your GeneratedItems/CSScriptLib.js file.

If you've done all this and are still having problems, try posting a link to your page in the support forum so others can see if they can find what is causing the error.

[ back to top ]

2. Why are the actions I just installed either not showing up in the actions list, or they look "grayed out" and can't be selected?

If you're using Mac OSX and your actions were either ZIP compressed, or created in Mac OS9 or Windows, the files may be lacking the "creator" info that GoLive needs to recognize it as an action file.

The easiest way to fix this problem is to open up the .action file into GoLive, and re-save it (with the same name, no changes are needed) replacing the old .action file. This restores its identity as a "GoLive file", and should usually solve the problem. You will also need to re-start GoLive to see the change.

[ back to top ]

3. Why don't my third-party actions work in GoLive CS2?

Because of a bug in GoLive CS2, the JavaScript code from some third-party actions is not automatically added to GoLive's external script library when first used (usually GeneratedItems/CSScriptLib.js at the top level of your GoLive site). To fix, open your GoLive site window and right click on the GeneratedItems/CSScriptLib.js file and choose Update > Flatten Script Library from the contextual menu.

This will force GoLive to update the script library to include all used action code. Re-upload the file to your server and the action should be working again. You may need to clear your browser cache to force the new file to load if you've recently visited the page.

If you're interested, the bug affects any GoLive action that uses internal JavaScript code instead of a separate script file (includes all MindPalette actions).

[ back to top ]