[Cartoweb-users] Unable to find msLayer

Paul Shapley p.shapley at gmail.com
Wed Mar 29 08:30:34 EST 2006


Hi Everyone,

I'm introducing a second shapefile to Cartoweb but keep getting the
following error:-
I've added the layer to the usual 'ini' files and Mapfile but no luck.

*Warning*: getLayerByName failed for : Neath_PortTalbot in *
c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.php* on
line *198*

*Warning*: Cannot modify header information - headers already sent by
(output started at
c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.php:198)
in *c:\wamp\www\cartoweb3\client\FormRenderer.php* on line *297*




  Failure

Class : SoapFaultWrapper
Message : Could not find msLayer Neath_PortTalbot
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")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060329/2b12b8e8/attachment.html


More information about the Cartoweb-users mailing list