Hello, Are your TownLines and Counties layer exist in layer.ini : layers.TownLines className = Layer layers.TownLines label = Town Lines
layers.Counties className = Layer layers.Counties label = Counties and are they existing as well in your mapfile ? Y. Le Jeudi 20 Avril 2006 17:16, Kenton Williams a écrit : > Hello, > > I have another error that I cannot figure out on my first Cartoweb project. > It is a child layer not found error, here is the output: > > Class : CartoclientException > Message : Child layer boundarylines not found > Backtrace: > > file: 474 - > /home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers. >php call: LayerNode->setChildren(Array(31), Null) > > file: 492 - > /home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers. >php call: ClientLayers->getLayerNode() > > file: 512 - > /home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers. >php call: ClientLayers->getLayersSecurityFiltered() > > file: 525 - > /home/cgdweb/site/cgddemo/cartoweb3/coreplugins/layers/client/ClientLayers. >php call: ClientLayers->getLayers() > > ... > > The child layer boundarylines is defined in my layers.ini file, the > contents of which appear below: > > layers.root.className = LayerGroup > layers.root.children = AllMaine, Urban, Wetlands, boundarylines, water, > roads layers.root.rendering = tree > > layers.AllMaine.className = Layer > layers.AllMaine.label = All of Maine > > layers.Urban.className = Layer > layers.Urban.label = Urban Areas > > layers.Wetlands.className = Layer > layers.Wetlands.label = Wetlands > > layers.boundarylines.className = LayerGroup > layers.boundarylines.label = Boundary Lines > layers.boundarylines.children = TownLines, Counties > layers.boundarylines.rendering = tree > > layers.water.className = LayerGroup > layers.water.label = Water Bodies > layers.water.children = BigWater, MedScaleWater, SmScaleWater > layers.water.aggregate = true > > layers.roads.className = LayerGroup > layers.roads.label = Roads > layers.roads.rendering = tree > layers.roads.children = LocalRds, SecRds, SpecRds, Interstate > > Since this is my first cartoweb project, I am still figuring out the little > details. To me, it appears that the child layer boundarylines IS defined > (in my layers.ini file), and I'm not sure what I did wrong. Any assistance > would be greatly appreciated. Thanks in advance! > > Kenton Williams > > _______________________________________________ > Cartoweb-users mailing list > [email protected] > http://lists.maptools.org/mailman/listinfo/cartoweb-users -- Yves Jacolin http://yjacolin.gloobe.org ---- Stagaire Conservatoire Régional des Espaces Naturels de la région Centre http://cahiersnaturalistes.free.fr/cpnrc/ ---- - Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause puisque je suis de bonne foi? - Et qu'est-ce que ça peut faire que je sois de mauvaise foi puisque c'est pour la bonne cause. (Jacques Prévert) -- Yves Jacolin http://yjacolin.gloobe.org ---- Stagaire Conservatoire Régional des Espaces Naturels de la région Centre http://cahiersnaturalistes.free.fr/cpnrc/ ---- - Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause puisque je suis de bonne foi? - Et qu'est-ce que ça peut faire que je sois de mauvaise foi puisque c'est pour la bonne cause. (Jacques Prévert) _______________________________________________ Cartoweb-users mailing list [email protected] http://lists.maptools.org/mailman/listinfo/cartoweb-users
