[Cartoweb-users] Confusing errors
Oliver Ishmael
oliver_ishmael at hotmail.com
Fri Jan 6 06:46:53 EST 2006
Hi all,
In repsonse to my last post (Parse error unexpected T STRING), Alexandre
Saunier, suggested that extension=php_soap.dll needed to be added to the
php.ini.
In my WAMP installation there are two php.ini:
C:\wamp\Apache\php.ini
C:\wamp\php\php.ini
1). i would like to know if either takes presedence over the other...or do i
need to make the same edits to both?
2). When i define the 'extension=php_soap.dll' in either: neither of them or
just C:\wamp\php\php.ini, i get the errors listed in my last post! and when
i define the extension in either both php.ini or just
C:\wamp\Apache\php.ini, i get the following errors:
Failure
class: SoapFaultWrapper
message: Could not find msLayer baexec
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: 179 - 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("bap.bap")
file: 377 - c:\wamp\www\cartoweb3\server\Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "bap.bap")
file: 102 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: Cartoserver->getMapInfo("bap.bap")
file: 156 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callDirect("getMapInfo", "bap.bap")
file: 215 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callFunction("getMapInfo", "bap.bap")
file: 60 - c:\wamp\www\cartoweb3\client\ClientMapInfoCache.php
call: CartoserverService->getMapInfo("bap.bap")
file: 99 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
call: ClientMapInfoCache->computeMapInfo()
file: 92 - c:\wamp\www\cartoweb3\client\ClientMapInfoCache.php
call: MapInfoCache->cacheMapInfo()
file: 764 - c:\wamp\www\cartoweb3\client\Cartoclient.php
call: ClientMapInfoCache->checkMapInfoTimestamp(1136515222)
file: 876 - c:\wamp\www\cartoweb3\client\Cartoclient.php
call: Cartoclient->getMapResultFromRequest(Object(MapRequest))
file: 1011 - c:\wamp\www\cartoweb3\client\Cartoclient.php
call: Cartoclient->doMain()
file: 38 - c:\wamp\www\cartoweb3\htdocs\client.php
call: Cartoclient->main()
-----------------------------------------------------------------------------------------------
3). If I remove my layers.ini none of these problems occur...but then i cant
format the legend with layer icons etc.
Is it possible to all this within the mapfile and avoid using the layers.ini
since it creates so many problems?
4). Often I would like to reply to a previous post rather than creating a
new one each time...how is this done?
Thankyou all for your continued support!
Olly
For reference i have included my Layers.ini at the end of this post if
anyone can see an obvious problem!
---------------------------------------------------------------------------------
; whether to generate class icons automatically
autoClassLegend = true
; layers
layers.root.className = LayerGroup
layers.root.children = Administrative, Sensitive
; -----------------------------------------------------------------------
layers.Administrative.className = LayerGroup
layers.Administrative.children = baexec, local_planning_authorities,
norfolk_district_2004, countyboundaries
layers.Administrative.rendering = tree
layers.baexec.className = Layer
layers.baexec.msLayer = baexec
layers.baexec.label = baexec
layers.baexec.icon = baexec.png
layers.local_planning_authorities.className = Layer
layers.local_planning_authorities.msLayer = local_planning_authorities
layers.local_planning_authorities.label = local_planning_authorities
layers.local_planning_authorities.icon = lpa.png
layers.norfolk_district_2004.className = Layer
layers.norfolk_district_2004.msLayer = norfolk_district_2004
layers.norfolk_district_2004.label = norfolk_district_2004
layers.countyboundaries.className = Layer
layers.countyboundaries.msLayer = countyboundaries
layers.countyboundaries.label = countyboundaries
; -------------------------------------------------------------------------
; add the following layers when fixed - listed_buildings, buildingsatrisk
and an_floodzone1_v2_9
layers.Sensitive.className = LayerGroup
layers.Sensitive.children = conservation_areas, sssi_broads,
archaeological_sites_of_regional_importance, an_floodzone2_v2_9,
an_floodzone3_v2_9
layers.Sensitive.rendering = tree
layers.conservation_areas.className = Layer
layers.conservation_areas.msLayer = conservation_areas
layers.conservation_areas.label = conservation_areas
layers.conservation_areas.icon = conservation.png
layers.sssi_broads.className = Layer
layers.sssi_broads.msLayer = sssi_broads
layers.sssi_broads.label = sssi_broads
layers.sssi_broads.icon = sssi.png
layers.archaeological_sites_of_regional_importance.className = Layer
layers.archaeological_sites_of_regional_importance.msLayer =
archaeological_sites_of_regional_importance
layers.archaeological_sites_of_regional_importance.label =
archaeological_sites_of_regional_importance
layers.archaeological_sites_of_regional_importance.icon = archaeology.png
layers.an_floodzone2_v2_9.className = Layer
layers.an_floodzone2_v2_9.msLayer = an_floodzone2_v2_9
layers.an_floodzone2_v2_9.label = an_floodzone2_v2_9
layers.an_floodzone2_v2_9.icon = flood2.png
layers.an_floodzone3_v2_9.className = Layer
layers.an_floodzone3_v2_9.msLayer = an_floodzone3_v2_9
layers.an_floodzone3_v2_9.label = an_floodzone3_v2_9
layers.an_floodzone3_v2_9.icon = flood3.png
; -------------------------------------------------------------------------
; add the following layers when fixed - general_enquiries and enforcement
layers.Planning.className = LayerGroup
layers.Planning.children = potential_ldf_sites, site_boundaries,
section_52_agreements, devboundaries
layers.Planning.rendering = tree
layers.potential_ldf_sites.className = Layer
layers.potential_ldf_sites.msLayer = potential_ldf_sites
layers.potential_ldf_sites.label = potential_ldf_sites
layers.potential_ldf_sites.icon = icons/ldf.png
layers.site_boundaries.className = Layer
layers.site_boundaries.msLayer = site_boundaries
layers.site_boundaries.label = site_boundaries
layers.site_boundaries.icon = icons/site_bound.png
layers.section_52_agreements.className = Layer
layers.section_52_agreements.msLayer = section_52_agreements
layers.section_52_agreements.label = section_52_agreements
layers.section_52_agreements.icon = icons/s52.png
layers.devboundaries.className = Layer
layers.devboundaries.msLayer = devboundaries
layers.devboundaries.label = devboundaries
layers.devboundaries.icon = icons/dev_bound.png
_________________________________________________________________
Are you using the latest version of MSN Messenger? Download MSN Messenger
7.5 today! http://messenger.msn.co.uk
More information about the Cartoweb-users
mailing list