Hello:

This is an awesome module (feel like I just need to say that).

I followed the basic instructions from the readme file (using the default wms source and integer fields for long and lat) and get the following error when I create a page view:

Fatal error: Call to a member function getmap() on a non-object in C:\wamp\www\maptest\sites\all\modules\nicemap\wms_client.inc on line 139

Which is the $this->bounds = $this->projection->getmap($this->bounds, $target);

I am using a WAMP stack with php 5.26 and mysql 5.05. I had the same error on a non-local server (not sure what LAMP versions).

In views I also get this error 'An error occurred at /maptest/admin/build/views/ajax/preview/map_test.' when trying to preview. The preview fails.

As a basic test I tried removing the line above in the client.inc file. The views preview and page now work though of course the map is off b/c the bounding box is not working.

I saw as a note that nice_map_getprojection function is to be removed. Maybe this won't be a problem once that has been done?

Again awesome module. Let me know how I can help.

Comments

midvalleycs’s picture

im having the same issue. anyone know how to fix it?

nicolaik’s picture

I am also having the same problem

midvalleycs’s picture

i really want to us this module. will someone please help?

smartRUBY’s picture

Have any of you been able to successfully connect to a WMS Server? I cannot, as described in http://drupal.org/node/353501.

tmcw’s picture

Hey, thanks for the bug report, there'll be a fix by tonight.

tmcw’s picture

Please try it again with the latest nightly, and let me know how it goes. Thanks!

tmcw’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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