Web Presence Builder Maps module error: This page didn't load Google Maps correctly. See the JavaScript console for technical details

Created:

2016-11-16 12:47:52 UTC

Modified:

2017-05-16 19:49:19 UTC

2

Was this article helpful?


Have more questions?

Submit a request

Web Presence Builder Maps module error: This page didn't load Google Maps correctly. See the JavaScript console for technical details

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Sitebuilder 4.5 for Linux
  • Web Presence Builder 12.0 for Linux
  • Web Presence Builder for Linux
  • Web Presence Builder
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Symptoms

  • After publishing of site created in Web Presence Builder, the following error is displayed for Maps module:

    Oops! Something went wrong.
    This page didn't load Google Maps correctly. See the JavaScript console for technical details.
  • When adding a Map module in Web Presence Builder there is no filed for entering Google Maps API key.

Cause

Google announced some changes to the Google Maps APIs authentication and usage limits in Updates to Google Maps APIs Standard Plan

Usage of the Google Maps APIs now requires a key.

The internal issue ID #PPB-4463 that has been fixed in Plesk 12.0.18 MU#90 and Plesk 12.5.30 MU#46 .

Resolution

For Web Presence Builder installed with Plesk:

  1. Install the latest microupdates.
  2. Get API Key

  3. Add widget in Web Presence Builder

    • In a website editor, put Map module into the required place

    • Click Show Settings of the Map module. Insert the key into the field for Google Maps API key. If you do not see Show Settings button, the field for Google Maps API key is already opened, so insert the key in it:

      alttext

  4. Publish the website

    Note that it is free up to 25,000 map loads per day only. For more information about pricing you can find here

    INFORMATION If previously active domain getting the MissingKeyMapError error it may be a bug: Issue 9975- Bug: Suddenly error occur for "Missing Key Map Error"

For Web Presence Builder Standalone 12.0.7:

  1. Download the patch for Web Presence Builder Standalone.

  2. Create a backup of /usr/local/sb directory.

  3. Extract the archive to /usr/local/sb directory:

    # cd /usr/local/sb
    # unzip -o ppb-12.0-std-patch-ppb-4464.zip
  4. Execute the following:

    # sw-engine /usr/local/sb/utils/updateResources.php locale
  5. Ensure that debug mode is enabled:

    # vi /usr/local/sb/config
    [debug]
    debug = on
  6. Follow the instructions for Web Presence Builder installed with Plesk from step # 2

In case there is Web Presence Builder Standalone version 12.0.6 or older, it should be upgraded previously. More information is available in our documentation .

In case debug mode should be disabled use the following instruction:

  1. Create a backup of the WPB configuration file:

    # cp /usr/local/sb/config /usr/local/sb/config.bkp

  2. Modify general section in /usr/local/sb/config file as follows:

    [general]
    db_sessions = 1
    use_rewrite = 1
    fallback_locale = en_US
    extension = PP
    google_map_api_key = "%API_key%"


    Where %API_key% is the Google API key.

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.