[Cartoweb-users] dropdown missing,
client.php empty. Failure: no className
Oliver Christen
oliver.christen at camptocamp.com
Mon Oct 22 03:03:13 EDT 2007
Hi
you commented the line ;layers.root.className = LayerGroup, this caused the
error.
objects defined in the layers.ini file must ALWAYS be either
layers.xxxx.className = LayerGroup or layers.xxxx.className = Layer
have a look at the layers.ini howto
http://www.cartoweb.org/cwiki/HowToCreateALayerTree
as for the project selection, you *shouldnt* have a white page when
accessing. I suspect soap is failing silently.
simply create a shortcut file
(http://www.cartoweb.org/cwiki/HowToCreateANewProject#head-a8984da68c74273b7e44412a547cb9f6b8146c01)
or set the parameter
--default-project MexMapServer
when doing the cw3setup --install command
regards
Oliver
> Hello,
>
> it's me again. I'm stuck following the howto page on
> http://www.cartoweb.org/cwiki/HowToCreateANewProject
>
> After setting up the project, I'm supposed to enter
> http://mapserver.geoinf.fu-berlin.de/cartoweb3/htdocs/client.php for
> getting a dropdown list to choose my project. But everything I get is an
> empty (white) page. If I call the project with
> http://mapserver.geoinf.fu-berlin.de/cartoweb3/htdocs/client.php?project=MexMapServer
>
> the project is loaded, but after adding the demo data "reg_france", a
> Failure is thrown:
>
> CartoWeb version: 3.4.0 [$Revision: 1.7 $]
> class: SoapFaultWrapper
> message: Object to unserialize has no className attribute, and no
> class name was given
>
> This is my layers.ini:
>
> ; whether to generate class icons automatically
> autoClassLegend = true
>
> ; layers
> ;layers.root.className = LayerGroup
> ;layers.root.children =
> layers.root.children = region
> layers.root.rendering = block
>
> layers.regions.className = Layer
> layers.region.label = Regions
> layers.region.msLayer = region
>
>
> Any help? Thanks in advance!
>
> Regards,
> Sebastian
> _______________________________________________
> 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