[Cartoweb-users] wmsBrowserLight question/error

Oliver Christen oliver.christen at camptocamp.com
Wed Dec 19 02:31:49 EST 2007


Hi

since your url contain a ? and other special characters, you must enclose it between doublequote

servers.5.url = "http://edacdata2.unm.edu/cgi-bin/mapserv?map=doqq05/doqq05_geogcs_arcgis.map" works fine

regards
Oliver
  ----- Original Message ----- 
  From: Kurt Menke 
  To: cartoweb-users at lists.maptools.org 
  Sent: Tuesday, December 18, 2007 9:43 PM
  Subject: [Cartoweb-users] wmsBrowserLight question/error


  Hello,

  Is there a specific format that the wmsBrowserLight.ini file requires for wms calls?  I notice that the samples, such as http://services.sandre.eaufrance.fr/geo/ouvrage aren't actually wms calls?

   

  I'm using Cartoweb 3.4 on a Debian box.  I'm working on configuring the WMS Browser Light plugin. I have a wms call that I can add to my mapfile and have it show in the cartoweb client just fine.  However, when I add this url to the wmsBrowserLight.ini file:

   

  servers.0.label = RGIS DOQQs

  servers.0.url = http://edacdata2.unm.edu/cgi-bin/mapserv?map=doqq05/doqq05_geogcs_arcgis.map&WMTVER=1.1.1&Service=WMS&request=GetMap

   

  the config.php script has trouble parsing it (below):

  *************************************************************************************************************************************************************************************************************************************

  Warning: Error parsing /var/www/apache2-default/cartoweb3/projects/cwa/client_conf/wmsBrowserLight.ini on line 22 in /var/www/apache2-default/cartoweb3/common/Config.php on line 238

  Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/apache2-default/cartoweb3/common/Config.php:238) in /var/www/apache2-default/cartoweb3/client/Cartoclient.php on line 404

  Warning: Cannot modify header information - headers already sent by (output started at /var/www/apache2-default/cartoweb3/common/Config.php:238) in /var/www/apache2-default/cartoweb3/client/Internationalization.php on line 181

  Warning: Cannot modify header information - headers already sent by (output started at /var/www/apache2-default/cartoweb3/common/Config.php:238) in /var/www/apache2-default/cartoweb3/client/Smarty_Cartoclient.php on line 62

  Fatal error: Uncaught exception 'CartocommonException' with message 'Error [2, Cannot modify header information - headers already sent by (output started at /var/www/apache2-default/cartoweb3/common/Config.php:238), /var/www/apache2-default/cartoweb3/client/FormRenderer.php, 460] Backtrace: file: UNKNOWN - UNKNOWN call: Common::cartowebErrorHandler(2, "Cannot modify header information - headers already sent by (outp...", "/var/www/apache2-default/cartoweb3/client/FormRenderer.php", 460, Array(1)) file: 460 - /var/www/apache2-default/cartoweb3/client/FormRenderer.php call: header("HTTP/1.1 500 Internal Server Error") file: 1267 - /var/www/apache2-default/cartoweb3/client/Cartoclient.php call: FormRenderer->showFailure(Object(CartocommonException)) file: 33 - /var/www/apache2-default/cartoweb3/htdocs/client.php call: Cartoclient->main() file: 3 - /var/www/apache2-default/cartoweb3/htdocs/cwa.php call: require_once("/var/www/apache2-default/cartoweb3/htdocs/client.php") ' in /var/www/apache2-default/cartoweb3/common/Co in /var/www/apache2-default/cartoweb3/common/Common.php on line 301

  **********************************************************************************************************************************************************************************

  Kurt

   

  *************************************

  Kurt A. Menke, GISP

  GIS Analyst/Programmer

  Earth Data Analysis Center

  MSC01 1110

  1 University of New Mexico

  Albuquerque, NM 87131-0001

  Ph: 505-277-3622 x239

  Fax: 505-277-3614

   



------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071219/619ad5eb/attachment-0001.html


More information about the Cartoweb-users mailing list