I downloaded the http://managingnews.com/files/managingnews-1.0-beta5.zip file and installed with no problems, but the base maps are not showing. Apparently they're fetched from c,tile.mapbox.com, and access is denied. The installer didn't ask me for an API key (nor do I know how to get one).

http://c.tile.mapbox.com/1.0.0/world-light/-1/1/2.png

Comments

tmcw’s picture

Hi,

There are no API keys involved with the basemaps. Is yours a fresh install? The code driving the maps looks different from a normal fresh install - note that, currently, Managing News is only compatible with OpenLayers 6.x-0.1-alpha5.

robertgarrigos’s picture

I'm having the same problem, just a fresh beta5 install on my aegir system: http://noticies.consultes.cat

luchandy’s picture

I'm getting the same error/ broken image symptom.
It's strange, because other people with the same code base are not getting it. I wonder if there's something about our installation that's making it unhappy. For example, I don't have a reverse lookup for my server. Matter?

tmcw’s picture

Are all of the affected sites multilingual? Reverse lookup shouldn't be a problem. I'm having a really tough time debugging this because I can't replicate the issue even with changing a bunch of settings. Unusual PHP versions?

luchandy’s picture

My site is not multilingual.

PHP version:
# php -v
PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:18)

Am happy to answer anything about my environment. Thanks so much for looking in to this.

robertgarrigos’s picture

mine is not either. I installed locale, though, to change the base language. In any case, I created a new site (news.consultes.cat) with my aegir with a new, fresh beta5 install of managingnews, only one feed, no other configuration, with no luck. same problem. this is my system: PHP Version 5.2.0-8+etch15

what other system settings might be affecting this issue?

subash_drupal’s picture

I am facing the same problem. Anyone fixed the issue ?

linuxpimp’s picture

Same here,

L

tmcw’s picture

I'll post a patch later today which will temporarily address this issue. Basically, I can't replicate this at all, and neither can any of the people I'm working with, so it's some odd quirk or race condition that we'll make sure to avoid in the next release of mn.

velosol’s picture

I've found this only to be an issue when trying to zoom in on the maps. The 'world' overviews are fine, but if I try to zoom in to, e.g. the state level in the US it seems like MN tries to fetch more map tiles and gets "Access Denied" from the server. If I switch to OpenStreet Map I can zoom in past the state level, but the tiles are being fetched from OSM's servers.

tmcw’s picture

I've committed a fix to my branch of mn_world and it will be pulled into developmentseed/mn_world and rolled out in the next release of managingnews. In the meantime, this is the simple fix.

tmcw’s picture

Status: Active » Fixed

Marking this as fixed; the fix has long been in mn.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.