Symptoms

  1. The website design appears to be broken in the editor interface, although the site displays properly at the published location. Example:

  2. One of the following errors is displayed in the browser's JavaScript console:

    • TypeError: Cannot call method 'bringToFront' of undefined [http://presence-builder-server.test/js/minimized/Editor.js?1374831834:1]

    • Uncaught TypeError: Cannot read property 'uh' of undefined

    • Error: TypeError: b is undefined
  3. The Search module does not work on the published website; no results are returned and the errors above appear in the browser's JavaScript console.

Cause

Google updated the Google Search JavaScript libraries used by Parallels Presence Builder. These changes are incompatible with released versions of the Presence Builder and cause display problems in the site editor interface:

http://productforums.google.com/forum/#!category-topic/customsearch/troubleshooting-and-bugs/BNTF-rzknFU

All pages on which the Search module was placed will be affected by the issue.

IMPORTANT! The issue only affects how the site is displayed in the editor interface. The actual website layout, both on the Presence Builder side and at the published location, is not affected.

Resolution

NOTE: The Parallels Product Maintenance Team is working on the solution for other versions at the moment.

Subscribe to updates to this article to stay informed on the status of the issue:

Download the patch for your version of Presence Builder from the following list:

To apply the patch, follow these steps:

  1. Download and unpack the archive.

  2. Replace the following files in the Presence Builder directory (%plesk_dir%\sb on Windows and /usr/local/sb on Linux) with the fixed files from the archive:

    • htdocs/js/minimized/Editor.js
    • htdocs/js/Sb/widget/Search.js
    • htdocs/templates/facebook/search-google.tpl
    • htdocs/templates/generic/search-google.tpl
  3. Check the website in the editor interface. If it is displayed properly, re-publish the site.

Workarounds

The Internet Explorer browser displays the editor interface properly. Use these steps to remove the Search module from the pages:

  1. Open the website in the editor in Internet Explorer (version 9 or newer).

  2. Remove Search modules from all pages.

The following workaround can be applied on Presence Builder 11.5 only.

Make the Search module unavailable to users and prevent more sites from being affected by the issue. Follow these steps:

  1. On the Presence Builder server, open the configuration file /usr/local/sb/config.

  2. In the [general] section of the file, add the following line:

    google_search_enabled = false
    
  3. Save the file.

Internal content

Bug: https://support.parallels.com/TargetProcess/ShowBug.html?BugId=143146

TP: https://support.parallels.com/TargetProcess/ShowRequest.html?TPRequestID=143148