Error Loading Macro Browser, Tree View, Insert Image, Page Restrictions and Preview in Confluence 3.2 or Later

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

This problem happens in all themes shipped in Confluence 3.2.

  1. Using the macro browser will result in a pop up box saying:

    1 2 3 There has been an error loading the macro browser. Please try again or see your system administrator.

    Errors in the logs appear as:

    1 2 3 2010-04-05 18:08:31,000 ERROR [http-80-4] [atlassian.confluence.servlet.ConfluenceServletDispatcher] serviceAction There is no Action mapped for namespace /pages/undefined/plugins/macrobrowser and action name browse-macros -- referer: http://localhost/confluence/pages/editpage.action?pageId=27852804 | url: /confluence/pages/undefined/plugins/macrobrowser/browse-macros.action | userName: zed.yap
  2. Clicking on the preview tab causes the preview to spinning indefinitely.

  3. The following warning may also appear when attempting to insert images through the Rich Text editor:

    1 2 Error retrieving attachments from Confluence. The server may be unavailable.
  4. The tree view from Browse >> Pages hangs, spinning indefinitely.

  5. The Page Restriction pop-up window will not allow any users to be selected.

Cause

A custom main layout (main.vmd) or custom theme exists and has this default line of code missing:

1 2 #parse ("/template/includes/global-settings.vm")

Typically, the above line of code should exist in between these lines:

1 2 3 4 5 6 ... #parse ("/template/includes/status-i18n.vm") <CODE SHOULD EXIST HERE> #displayGlobalMessages($spaceKey) ...

Resolution

Apply the default line of code to the custom main layout. The end result should look like:

1 2 3 4 5 6 ... #parse ("/template/includes/status-i18n.vm") #parse ("/template/includes/global-settings.vm") #displayGlobalMessages($spaceKey) ...

Macro browser, Tree View, Insert Image and Preview are broken in Confluence 3.1.1

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.