[Cartoweb-users] SoapFaultWrapper Error.

Oliver Christen oliver.christen at camptocamp.com
Mon Sep 8 04:30:52 EDT 2008


Hi

you forgot to define layers.xxxxx.class = Layer or LayerGroup for the new 
layers you added in your layers.ini


----- Original Message ----- 
From: "Νίκος Παπαδάκης" <nipapada at gmail.com>
To: "cartoweb" <cartoweb-users at lists.maptools.org>
Sent: Thursday, September 04, 2008 6:27 PM
Subject: [Cartoweb-users] SoapFaultWrapper Error.


> Hello.
>
> I get the following message ....
>
> CartoWeb version: 3.4.0 [$Revision: 1.7 $]
> class:   SoapFaultWrapper
> message:   Object to unserialize has no className attribute, and no class 
> name was given: Backtrace:
>
> file: 215 - C:\ms4w\apps\cartoweb3\common\CwSerializable.php
> call: CwSerializable::guessClassName(Null)
>
> file: 255 - C:\ms4w\apps\cartoweb3\common\CwSerializable.php
> call: CwSerializable::unserializeObject(Object(stdClass), Null, Null)
>
> file: 630 - C:\ms4w\apps\cartoweb3\coreplugins\layers\common\Layers.php
> call: CwSerializable::unserializeObjectMap(Object(stdClass), "layers")
>
> file: 427 - 
> C:\ms4w\apps\cartoweb3\coreplugins\layers\server\LayersInitProvider.php
> call: LayersInit->unserialize(Object(stdClass))
>
> file: 355 - 
> C:\ms4w\apps\cartoweb3\coreplugins\layers\server\ServerLayers.php
> call: LayersInitProvider->getInit()
>
> file: 167 - C:\ms4w\apps\cartoweb3\server\ServerPluginHelper.php
> call: ServerLayers->getInit()
>
> file: UNKNOWN - UNKNOWN
> call: InitProviderHelper->getInitHelper(Object(ServerLayers))
>
> file: 267 - C:\ms4w\apps\cartoweb3\common\PluginManager.php
> call: call_user_func_array(Array(2), Array(1))
>
> file: 285 - C:\ms4w\apps\cartoweb3\common\PluginManager.php
> call: PluginManager->callPluginImplementing(Object(ServerLayers), 
> "InitProvider", "getInit", Array(0))
>
> file: 166 - C:\ms4w\apps\cartoweb3\server\MapInfoHandler.php
> call: PluginManager->callPluginsImplementing("InitProvider", "getInit")
>
> file: 49 - C:\ms4w\apps\cartoweb3\server\ServerMapInfoCache.php
> call: MapInfoHandler->loadMapInfo()
>
> file: 163 - C:\ms4w\apps\cartoweb3\common\MapInfoCache.php
> call: ServerMapInfoCache->computeMapInfo()
>
> file: 177 - C:\ms4w\apps\cartoweb3\server\MapInfoHandler.php
> call: MapInfoCache->getMapInfo()
>
> file: 396 - C:\ms4w\apps\cartoweb3\server\ServerContext.php
> call: MapInfoHandler->getMapInfo()
>
> file: 191 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: ServerContext->getMapInfo()
>
> file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: Cartoserver->doGetMapInfo("mytest.mytest")
>
> file: 389 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "mytest.mytest")
>
> file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
> call: Cartoserver->getMapInfo("mytest.mytest")
>
> file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callDirect("getMapInfo", "mytest.mytest")
>
> file: 224 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callFunction("getMapInfo", "mytest.mytest")
>
> file: 60 - C:\ms4w\apps\cartoweb3\client\ClientMapInfoCache.php
> call: CartoserverService->getMapInfo("mytest.mytest")
>
> file: 163 - C:\ms4w\apps\cartoweb3\common\MapInfoCache.php
> call: ClientMapInfoCache->computeMapInfo()
>
> file: 757 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
> call: MapInfoCache->getMapInfo("mytest.mytest")
>
> file: 413 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
> call: Cartoclient->getMapInfo()
>
> file: 31 - C:\ms4w\apps\cartoweb3\htdocs\client.php
> call: Cartoclient->__construct()
>
> file: 3 - C:\ms4w\apps\cartoweb3\htdocs\mytest.php
> call: require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php")
>
>
>
>
>
>
> I had a working project but when i added more layers i got this message.
> To add new layers i added them in the .map file, then i defined in 
> layers.ini
> Layergroupd and layers and finally in <mymapfile>.ini i defined which of 
> them will be selected (Like this 
> "mapInfo.initialMapStates.default.layers.roads.selected=true").
>
> I have checked many many times the layer's names and relations between 
> them and everything is fine!
> What am i missing?
>
>
>
> Thank you.
> Nikos Papadakis.
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list