This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

OSM TileServer broken?

0

Hi, Seems that the OSM tileservers are broken for me. Can't see anything untoward here:
https://wiki.openstreetmap.org/wiki/Servers but am not sure which server(s) are relevant.

Several of my pages, and others, using OSM tiles are not displaying anything but were OK yesterday. e.g.
http://tinyurl.com/oj5d3rt
http://openlayers.org/dev/examples/osm.html
http://pgg123.co.uk/openlayers_simplest_example.html

Anybody any ideas why I'm not seeing any OSM tiles?

Cheers, Peter

asked 18 Sep '13, 18:42

geep999's gravatar image

geep999
31115
accept rate: 0%

1

Seems to be a problem with OpenLayers and not with the OSM tiles. But I can't tell you what's wrong though.

(18 Sep '13, 20:20) scai ♦
1

Yes, OpenLayers is reporting JavaScript errors on those pages:

Uncaught TypeError: Cannot read property 'prototype' of undefined - OpenLayers.js:1169 Uncaught TypeError: undefined is not a function - openlayers_simplest_example.html:7

(19 Sep '13, 00:26) Richard ♦

Thanks for the answers - but Hmm.
It's still not working for me.
As some of my pages haven't changed since I know they were working I guess that openlayers must have been changed and broken, as I do point to http://www.openlayers.org/dev/OpenLayers.js
Seems that I need to install a working copy of openlayers locally.
Cheers,
Peter

(19 Sep '13, 08:00) geep999
3

Installing a local copy is always recommended. Otherwise your website will fail if the OpenLayers website is down or if there is a major version upgrade / API change.

(19 Sep '13, 08:21) scai ♦

2 Answers:

2

You want to look here where it sais everything is OK.
Since osm.org (and some other maps based on the OSM tiles I checked) seems fine for the most people the problem is probably at your end?

answered 18 Sep '13, 20:20

malenki's gravatar image

malenki
4.7k24683
accept rate: 6%

2

It seems that indeed openlayers dev is broken.
Now I found their demo using openlayers 2.13.1 and it's fine - so I'll go off and install 2.13.1 on my server. http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/osm.html
Cheers,
Peter

answered 19 Sep '13, 08:29

geep999's gravatar image

geep999
31115
accept rate: 0%

edited 19 Sep '13, 08:31

Source code available on GitHub .