Dear all,
I'm trying to use this wonderful module with drupal 6.9.
I have downloaded nicemap-6.x-1.x-dev.tar.gz, extracted and installed it.
When I click on admin/settings/nicemap I have this error:

Fatal error: Uncaught exception 'Exception' with message ' Check that the server URL does not include a WMS query already.' in W:\www\drupal\sites\all\modules\nicemap\wms_client.inc:90 Stack trace: #0 W:\www\drupal\sites\all\modules\nicemap\wms_client.inc(45): nicemap_map->load_spec('http://osm.wher...') #1 W:\www\drupal\sites\all\modules\nicemap\nicemap.module(93): nicemap_map->__construct('http://osm.wher...') #2 W:\www\drupal\sites\all\modules\nicemap\nicemap_admin.inc(52): nicemap_cache('http://osm.wher...') #3 [internal function]: nicemap_settings(Array) #4 W:\www\drupal\includes\form.inc(366): call_user_func_array('nicemap_setting...', Array) #5 [internal function]: drupal_retrieve_form('nicemap_setting...', Array) #6 W:\www\drupal\includes\form.inc(102): call_user_func_array('drupal_retrieve...', Array) #7 [internal function]: drupal_get_form('nicemap_setting...') #8 W:\www\drupal\includes\menu.inc(348): call_user_func_array('drupal_get_form', Array) #9 W:\www\drupal\index.php(18): menu_execute_active_handler() #10 in W:\www\drupal\sites\all\modules\nicemap\wms_client.inc on line 90

What's wrong in my procedure?

Thank you,

Andrea

Comments

rsoden’s picture

Hi Andrea - It looks like you're using a Windows box to host your drupal site. Can you confirm?

aborruso’s picture

Hi rsoden,
I use a windows box, I confirm it.

Thank you,

Andrea

aborruso’s picture

Hi rsoden,
any news for me?

Thank you,

a

rsoden’s picture

Andrea,

Before we mark this issue as Windows server-related (which I don't have the means to troubleshoot), can you try two things for me?

First, download the latest version of nicemap. There have been several changes over the past weeks that may resolve this issue.
Second, at admin/settings/nicemap, use the folowing wms address: http://wms.jpl.nasa.gov/wms.cgi

If you continue to have the same problem, we can change the issue title to 'Provide Support for Windows Server.'

Cheers,
Robert

jmiccolis’s picture

Status: Active » Postponed (maintainer needs more info)

Setting to 'needs more info'

aborruso’s picture

Hi jmiccolis,
sorry for delay in reply you.

I have downloaded and installed nicemap-6.x-1.0-beta1 and I have this error:

"Fatal error: Uncaught exception 'Exception' with message ' Check that the server URL does not include a WMS query already.' in W:\www\drupal\sites\all\modules\nicemap\wms_client.inc:90 Stack trace: #0 W:\www\drupal\sites\all\modules\nicemap\wms_client.inc(45): nicemap_map->load_spec('http://osm.wher...') #1 W:\www\drupal\sites\all\modules\nicemap\nicemap.module(93): nicemap_map->__construct('http://osm.wher...') #2 W:\www\drupal\sites\all\modules\nicemap\nicemap_admin.inc(52): nicemap_cache('http://osm.wher...') #3 [internal function]: nicemap_settings(Array) #4 W:\www\drupal\includes\form.inc(366): call_user_func_array('nicemap_setting...', Array) #5 [internal function]: drupal_retrieve_form('nicemap_setting...', Array) #6 W:\www\drupal\includes\form.inc(102): call_user_func_array('drupal_retrieve...', Array) #7 [internal function]: drupal_get_form('nicemap_setting...') #8 W:\www\drupal\includes\menu.inc(348): call_user_func_array('drupal_get_form', Array) #9 W:\www\drupal\index.php(18): menu_execute_active_handler() #10 in W:\www\drupal\sites\all\modules\nicemap\wms_client.inc on line 90"

This is my config:
- PHP Version 5.2.3
- Mysql 5.0.41
- Apache/2.0.59 (Win32)
- drupal 6.12

Tahnk you,

a

P.S. is there a way to be alert when it there will be to this issue??

tmcw’s picture

What's the URL that you're trying to use?