Closed Bug 911817 Opened 12 years ago Closed 12 years ago

error on localized geo-location info pages

Categories

(www.mozilla.org :: Pages & Content, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: philipp, Unassigned)

Details

(Whiteboard: r=119981)

Attachments

(2 files)

Attached image screenshot
when a user visits a non en-US version of https://www.mozilla.org/firefox/geolocation/, like for example https://www.mozilla.org/de/firefox/geolocation/ the following error message will show up after a short amount of time with no particular action required by the user: "Google has disabled use of the Maps API for this application. The provided key is not a valid Google API Key, or it is not authorized for the Google Maps Javascript API v2 on this site. If you are the owner of this application, you can learn about obtaining a valid key here: http://code.google.com/apis/maps/documentation/javascript/v2/introduction.html#Obtaining_Key"
The English page is now powered by Bedrock and the Google maps API key was recently updated there. Our localized pages are still sent from our older framework and the Google Maps key wasn't updated there. The right fix is to port these pages to bedrock buyt I don't have time for that for now. The short term fix would proibably be that an admin updates the API key on the server on the php side.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Cmore: thoughts?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Attached patch PatchSplinter Review
This is the same patch as https://github.com/mozilla/bedrock/commit/c17f9c8e, just for the php site, which is used by localized (legacy) /firefox/geolocation.
Attachment #805747 - Flags: review?(agibson)
Comment on attachment 805747 [details] [diff] [review] Patch Review of attachment 805747 [details] [diff] [review]: ----------------------------------------------------------------- The JS here works as intended and has in large, already been reviewed when updated on bedrock - so r+ there. I did have some trouble applying this patch however (not quite sure why, perhaps a line ending thing - but I get errors?). In the end I had to copy/paste in the new code to test it. Maybe someone with more svn know-how can take a look at applying the patch to push it?
Attachment #805747 - Flags: review?(agibson) → review-
Attachment #805747 - Flags: review- → review+
Committed to trunk in r119981.
Whiteboard: r=119981
Merged to prod in r119992.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: