<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.2491" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>this will sound like a stupid question but do you have a
'<FONT size=3>planning</FONT>' layer in your mapfile ?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=p.shapley@gmail.com href="mailto:p.shapley@gmail.com">Paul
Shapley</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 24, 2006 9:32
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Layer.ini</DIV>
<DIV><BR></DIV>
<DIV>Hi All,</DIV>
<DIV> </DIV>
<DIV>I'm trying to add a second shapefile to Cartoweb3.2 but i think there may
be a problem with the layers.ini file but unable to identify this error:</DIV>
<DIV> </DIV>
<DIV><BR><BR><B>Warning</B>: getLayerByName failed for : planning in
<B>c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.php</B>
on line <B>198</B><BR><BR><B>Warning</B>: Cannot modify header information -
headers already sent by (output started at
c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.php:198) in
<B>c:\wamp\www\cartoweb3\client\FormRenderer.php</B> on line
<B>297</B><BR><LINK title=stylesheet href="Paul/css/cartoweb.css"
type=text/css rel=stylesheet><LINK title=stylesheet
href="Paul/css/failure.css" type=text/css rel=stylesheet>
<DIV id=logo><BR><BR><BR> </DIV>
<TABLE id=user_failure align=center>
<TBODY>
<TR>
<TD id=title colSpan=2>Failure </TD></TR>
<TR>
<TD colSpan=2><PRE style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px">Class : SoapFaultWrapper<BR>Message : Could not find msLayer planning
Backtrace:
file: 289 - c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.php
call: LayersInitProvider->fillDynamicLayer(Object(Layer))
file: 325 - c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.php
call: LayersInitProvider->fillDynamicLayers()
file: 240 - c:\wamp\www\cartoweb3\coreplugins\layers\server\ServerLayers.php
call: LayersInitProvider->getInit()
file: 168 - c:\wamp\www\cartoweb3\server\ServerPluginHelper.php
call: ServerLayers->getInit()
file: UNKNOWN - UNKNOWN
call: InitProviderHelper->getInitHelper(Object(ServerLayers))
file: 267 - c:\wamp\www\cartoweb3\common\PluginManager.php
call: call_user_func_array(Array(2), Array(1))
file: 285 - c:\wamp\www\cartoweb3\common\PluginManager.php
call: PluginManager->callPluginImplementing(Object(ServerLayers), "InitProvider", "getInit", Array(0))
file: 166 - c:\wamp\www\cartoweb3\server\MapInfoHandler.php
call: PluginManager->callPluginsImplementing("InitProvider", "getInit")
file: 49 - c:\wamp\www\cartoweb3\server\ServerMapInfoCache.php
call: MapInfoHandler->loadMapInfo()
file: 99 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
call: ServerMapInfoCache->computeMapInfo()
file: 169 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
call: MapInfoCache->cacheMapInfo()
file: 177 - c:\wamp\www\cartoweb3\server\MapInfoHandler.php
call: MapInfoCache->getMapInfo()
file: 378 - c:\wamp\www\cartoweb3\server\ServerContext.php
call: MapInfoHandler->getMapInfo()
file: 190 - c:\wamp\www\cartoweb3\server\Cartoserver.php
call: ServerContext->getMapInfo()
file: 337 - c:\wamp\www\cartoweb3\server\Cartoserver.php
call: Cartoserver->doGetMapInfo("Paul.Paul")
file: 377 - c:\wamp\www\cartoweb3\server\Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "Paul.Paul")
file: 102 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: Cartoserver->getMapInfo("Paul.Paul")
file: 156 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callDirect("getMapInfo", "Paul.Paul")
file: 215 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callFunction("getMapInfo", "Paul.Paul")
file: 60 - c:\wamp\www\cartoweb3\client\ClientMapInfoCache.php
call: CartoserverService->getMapInfo("Paul.Paul")
file: 99 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
call: ClientMapInfoCache->computeMapInfo()
file: 169 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
call: MapInfoCache->cacheMapInfo()
file: 590 - c:\wamp\www\cartoweb3\client\Cartoclient.php
call: MapInfoCache->getMapInfo("Paul.Paul")
file: 374 - c:\wamp\www\cartoweb3\client\Cartoclient.php
call: Cartoclient->getMapInfo()
file: 36 - c:\wamp\www\cartoweb3\htdocs\client.php
call: Cartoclient->__construct()
file: 3 - c:\wamp\www\cartoweb3\htdocs\Paul.php
call: require_once("c:\wamp\www\cartoweb3\htdocs\client.php")
</PRE></TD></TR></TBODY></TABLE>
<DIV><BR><BR>Could someone have a look at this layers.ini file and tell me
where the problem is?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV> </DIV>
<DIV>Paul Shapley</DIV>
<DIV> </DIV>
<DIV><BR><BR> </DIV><BR><LINK title=stylesheet
href="Paul/css/cartoweb.css" type=text/css rel=stylesheet><LINK
title=stylesheet href="Paul/css/failure.css" type=text/css rel=stylesheet>
<DIV id=logo><BR><BR><BR> </DIV>
<DIV id=close><BR><BR><A
href="http://localhost/cartoweb3/htdocs/paul.php?reset_session"></A><BR><BR> </DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>