X
Tap here to go to the mobile version of the site.

Support Forum

bbc weather page trying, but failing, to load map?

Posted

The bbc weather site, http://www.bbc.co.uk/weather/2653261, fails to load the weather map. It just displays three moving squares (showing it's trying, I guess).

The bbc weather site, http://www.bbc.co.uk/weather/2653261, fails to load the weather map. It just displays three moving squares (showing it's trying, I guess).

Additional System Details

Installed Plug-ins

  • DivX Web Player version 1.4.0.233
  • The IcedTea-Web Plugin executes Java applets.
  • The Videos 3.10.1 plugin handles video and audio streams.
  • Shockwave Flash 11.2 r202

Application

  • Firefox 38.0
  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0
  • Support URL: https://support.mozilla.org/1/firefox/38.0/Linux/en-GB/

Extensions

  • Mint Search Enhancer 1.0 (mint-search-enhancer@linuxmint.com)
  • Stylish 1.0.7 ({46551EC9-40F0-4e47-8E18-8E5CF550CFB8})

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ironlake Mobile x86/MMX/SSE2
  • adapterDeviceID: Mesa DRI Intel(R) Ironlake Mobile x86/MMX/SSE2
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: Intel Open Source Technology Center
  • driverDate:
  • driverVersion: 2.1 Mesa 10.1.0
  • info: {u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'cairo', u'AzureSkiaAccelerated': 0}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 1
  • webglRenderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ironlake Mobile x86/MMX/SSE2
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Basic

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
John99 971 solutions 13138 answers

The page works for me. Including the Small flash player video. I am using Ubuntu 14.04 LTS

What about the MetOffice page http://www.metoffice.gov.uk/public/weather/forecast/gcnx28j7k That works for me but the Flash Player video fails saying it needs updating. Obviously not taking into account Linux users

General advice is to clear cache and cookies for the site. Does that help ?

Note using Ctrl F5 should reload the page with a fresh cache. Also see

The page works for me. Including the Small flash player video. I am using Ubuntu 14.04 LTS What about the MetOffice page http://www.metoffice.gov.uk/public/weather/forecast/gcnx28j7k That works for me but the Flash Player video fails saying it needs updating. Obviously not taking into account Linux users General advice is to clear cache and cookies for the site. Does that help ? * [[Delete cookies to remove the information websites have stored on your computer#w_delete-cookies-for-a-single-site]]'''#w_delete-cookies-for-a-single-site''' Note using Ctrl F5 should reload the page with a fresh cache. Also see * [[How to clear the Firefox cache]] * [[Firefox can't load websites but other browsers can]]

Question owner

Hello John99. The MetOffice page works fine. I've already tried, and have retried, clearing cache and cookies to no avail. I'm using Mint 17.1, but get the same problem on my other machine (older and not used much) running Mint 15 with both FireFox and Chrome. On Mint 17.1 I've seen it happen in the past but some days it loaded okay, so I put it down to the BBC site. I played around this afternoon and did this...

Right clicked and hit "Inspect Element (Q)" it shows this line highlighted (only it's bracketed by less than and greater than, but can't post those!)...

div id="primary-map" class = "map-view loading"

...which I guess is what it's trying to do. I then click "console" and see...

TypeError: bbc.mtk is undefined Use of getPreventDefault() is deprecated. Use defaultPrevented instead.

...which makes me think some thing's out of date?

But these are stabs in the dark. Any other advice welcome. Thanks for your help.

Hello John99. The MetOffice page works fine. I've already tried, and have retried, clearing cache and cookies to no avail. I'm using Mint 17.1, but get the same problem on my other machine (older and not used much) running Mint 15 with both FireFox and Chrome. On Mint 17.1 I've seen it happen in the past but some days it loaded okay, so I put it down to the BBC site. I played around this afternoon and did this... Right clicked and hit "Inspect Element (Q)" it shows this line highlighted (only it's bracketed by less than and greater than, but can't post those!)... div id="primary-map" class = "map-view loading" ...which I guess is what it's trying to do. I then click "console" and see... TypeError: bbc.mtk is undefined Use of getPreventDefault() is deprecated. Use defaultPrevented instead. ...which makes me think some thing's out of date? But these are stabs in the dark. Any other advice welcome. Thanks for your help.

Question owner

10 mins after posting the above the map's now loading!

But the message "TypeError: bbc.mtk is undefined" has a triangle to its left, was an "x" when it failed to load. Is that significant?

10 mins after posting the above the map's now loading! But the message "TypeError: bbc.mtk is undefined" has a triangle to its left, was an "x" when it failed to load. Is that significant?
John99 971 solutions 13138 answers

Sorry that page content is way beyond my knowledge level. I will make some general comments, but I am not sure they will help. Maybe someone with more knowledge will chip in over the coming days. If not then try over at mozillazine

The problematic weather map is only a small part of the page but even that has three separate tabs x up to say 20 time interval layers.

The problematic map includes content from

The page also uses

The page apparently works ok for me. With the inspector set to display errors only, I do not see any, but if I allow it to display warnings I get six screenfulls.

I can see there may be lots of things to go wrong. Presumably you don't have script or ad blockers of any type active. (Including Fx built in Tracking Protection )

Mint tends to be used on low spec machines

Sorry that page content is way beyond my knowledge level. I will make some general comments, but I am not sure they will help. Maybe someone with more knowledge will chip in over the coming days. If not then try over at mozillazine * http://forums.mozillazine.org/viewforum.php?f=25 The problematic weather map is only a small part of the page but even that has three separate tabs x up to say 20 time interval layers. The problematic map includes content from * tile''n''bbcimg.co.uk e.g. http://tile4.bbcimg.co.uk/tilechef/21/live/base/1384949083665/0313131.png The page also uses *and http://static.bbci.co.uk/... And is full of css & js The page apparently works ok for me. With the inspector set to display errors only, I do not see any, but if I allow it to display warnings I get six screenfulls. I can see there may be lots of things to go wrong. Presumably you don't have script or ad blockers of any type active. (Including Fx built in [[Tracking Protection on Firefox |Tracking Protection]] ) Mint tends to be used on low spec machines *Hows your machine doing for Memory ? <br />& CPU resources when you try that page ? *It may be worth trying with Hardware Acceleration turned off <br /> [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems#w_turn-off-hardware-acceleration]]'''_turn-off-hardware-acceleration'''
cor-el
  • Top 10 Contributor
  • Moderator
17528 solutions 158478 answers

If images are missing then check that you do not block images from some domains.

  • Tap the Alt key or press F10 to show the Menu Bar

Check the permissions for the domain in the currently selected tab in "Tools > Page Info > Permissions"

Check "Tools > Page Info > Media" for blocked images

  • Select the first image link and use the cursor Down key to scroll through the list.
  • If an image in the list is grayed and "Block Images from..." has a checkmark then remove this checkmark to unblock images from this domain.

Make sure that you do not block (third-party) images, the permissions.default.image pref on the about:config page should be 1.


There are extensions like Adblock Plus (Firefox/Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images and other content.

See also:

If images are missing then check that you do not block images from some domains. *Tap the Alt key or press F10 to show the Menu Bar Check the permissions for the domain in the currently selected tab in "Tools > Page Info > Permissions" Check "Tools > Page Info > Media" for blocked images *Select the first image link and use the cursor Down key to scroll through the list. *If an image in the list is grayed and "<i>Block Images from...</i>" has a checkmark then remove this checkmark to unblock images from this domain. Make sure that you do not block (third-party) images, the <b>permissions.default.image</b> pref on the <b>about:config</b> page should be 1. ---- There are extensions like Adblock Plus (Firefox/Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images and other content. See also: *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes *http://kb.mozillazine.org/Images_or_animations_do_not_load *http://kb.mozillazine.org/Websites_look_wrong

Question owner

The map's loading okay this morning. So it appears to be an intermittent problem, the worst kind of problem! This is the behaviour I've seen in the past, but it used to eventually load the map after a few tries. Anyway, I'm going to have to leave it for now as I have some code that needs finishing for a customer (C++ not java script, but perhaps I ought learn it). Thanks for your help, if I get it sorted, or need help in the near future, I'll post here.

The map's loading okay this morning. So it appears to be an intermittent problem, the worst kind of problem! This is the behaviour I've seen in the past, but it used to eventually load the map after a few tries. Anyway, I'm going to have to leave it for now as I have some code that needs finishing for a customer (C++ not java script, but perhaps I ought learn it). Thanks for your help, if I get it sorted, or need help in the near future, I'll post here.

Question owner

I installed chrome. It acts the same as firefox, that is, if firefox fails to load the map then so does chrome, and if one loads it so does the other. So it looks like it's a bbc weather site problem.


The details. Chrome gives two errors.

1st (well, at the top of the list of two) is "Failed to load resource: net::ERR_CONTENT_DECODING_FAILED" http://cdnedge.bbc.co.uk/mtk/maploader.js :

2nd is: "Uncaught TypeError: Cannot read property 'OpenLayers' of undefined" static.bbci.co.uk/weather/0.5.327/modules/weather-built.js:185

I installed chrome. It acts the same as firefox, that is, if firefox fails to load the map then so does chrome, and if one loads it so does the other. So it looks like it's a bbc weather site problem. ------------------------------------------------------------------------- The details. Chrome gives two errors. 1st (well, at the top of the list of two) is "Failed to load resource: net::ERR_CONTENT_DECODING_FAILED" http://cdnedge.bbc.co.uk/mtk/maploader.js : 2nd is: "Uncaught TypeError: Cannot read property 'OpenLayers' of undefined" static.bbci.co.uk/weather/0.5.327/modules/weather-built.js:185
John99 971 solutions 13138 answers

I guessed you would be using a computer in the UK as you are looking at uk weather. If you are using a computer that the bbc does not recognise as in the uk the service may get ropey.

Whether or not you are in the uk ( or the BBC's odd definition of the UK based on license fees) If you are outside the UK you will see promotions and adverts in the uk it is ad free.

1st (well, at the top of the list of two) is "Failed to load resource: net::ERR_CONTENT_DECODING_FAILED" http://cdnedge.bbc.co.uk/mtk/maploader.js : 

The error you see apparently suggests a problem with a bbc edge server. De facto the problem is not a Firefox one if also seen on Chrome.

Assuming your Internet Service is ok I think you should try to enquire at the BBC but it may not prove too easy to get past the standard replies and contact an engineer.

I guessed you would be using a computer in the UK as you are looking at uk weather. If you are using a computer that the bbc does not recognise as in the uk the service may get ropey. Whether or not you are in the uk ( or the BBC's odd definition of the UK based on license fees) If you are outside the UK you will see promotions and adverts in the uk it is ad free. 1st (well, at the top of the list of two) is "Failed to load resource: net::ERR_CONTENT_DECODING_FAILED" http://cdnedge.bbc.co.uk/mtk/maploader.js : The error you see apparently suggests a problem with a bbc edge server. De facto the problem is not a Firefox one if also seen on Chrome. Assuming your Internet Service is ok I think you should try to enquire at the BBC but it may not prove too easy to get past the standard replies and contact an engineer.

Question owner

Over the past few days I've found that FireFox sometimes loads the map okay but Chrome fails. Other times both fail or both succeed. Not sure what that means, maybe some sort of problem with synchronisation? Anyway, I'll leave it at that. Ought I post it SOLVED?

Over the past few days I've found that FireFox sometimes loads the map okay but Chrome fails. Other times both fail or both succeed. Not sure what that means, maybe some sort of problem with synchronisation? Anyway, I'll leave it at that. Ought I post it SOLVED?
John99 971 solutions 13138 answers

No need to mark as solved, we have not found a solution!

Marking it solved would make it easier to find by those looking up BBC problems, but this would not help them.

Did you manage to fight your way through to anyone at the BBC ? Probably not, unless you emailed using magic words MP & Ombudsman. I used to have some engineering contact details for the BBC but any info I did have is way past its sell by date. If it is an edgeserver problem engineers often fix them in an instant.

No need to mark as solved, we have not found a solution! Marking it solved would make it easier to find by those looking up BBC problems, but this would not help them. Did you manage to fight your way through to anyone at the BBC ? Probably not, unless you emailed using magic words MP & Ombudsman. I used to have some engineering contact details for the BBC but any info I did have is way past its sell by date. If it is an edgeserver problem engineers often fix them in an instant.