[Cartoweb-users] wmsBrowserLight question/error

Kurt Menke kmenke at edac.unm.edu
Tue Dec 18 15:43:10 EST 2007


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
<http://edacdata2.unm.edu/cgi-bin/mapserv?map=doqq05/doqq05_geogcs_arcgis.ma
p&WMTVER=1.1.1&Service=WMS&request=GetMap>
&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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071218/fa4b956d/attachment.html


More information about the Cartoweb-users mailing list