[Cartoweb-users] Confusing errors
Oliver Ishmael
oliver_ishmael at hotmail.com
Fri Jan 6 07:16:08 EST 2006
Hi all,
I have noticed something else which seems particularly strange:
NB. bap = name of my mapfile
The bap.ini in C:\wamp\www\cartoweb3\projects\bap\server_conf\bap looks like
this:
; plugin configuration and loading
mapInfo.loadPlugins = outline, hilight
; initial map states
;mapInfo.initialMapStates.default.location.bbox = "559125.27 276020.89
655989 348668.69"
;mapInfo.initialMapStates.default.layers.raster.selected = true
mapInfo.initialMapStates.default.layers.baexec.selected = true
mapInfo.initialMapStates.default.layers.Waveney_district_2004.selected =
true
mapInfo.initialMapStates.default.layers.Norfolk_district_2004.selected =
true
mapInfo.initialMapStates.default.layers.countyboundaries.selected = true
; Charset encoder class
EncoderClass.config = EncoderISO
1). With the bbox commented out, it still zooms to the location specified
and when it is commented in i get this error:
Failure
class: CartocommonException
message: Error [8, Undefined property: SoapFault::$faultcode,
c:\wamp\www\cartoweb3\client\CartoserverService.php, 40]
Backtrace:
file: 40 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: Common->cartowebErrorHandler(8, "Undefined property:
SoapFault::$faultcode",
"c:\wamp\www\cartoweb3\client\CartoserverService.php", 40, Array(1))
file: 105 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: SoapFaultWrapper->__construct(Object(SoapFault))
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(1136548653)
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()
----------------------------------------------------------------------
2). At no time, whether commented in or out, do the layers set to
selected=true ever appear when the map is opened?!
Sorry to keep posting but i'm very confused!
Olly
_________________________________________________________________
The new MSN Search Toolbar now includes Desktop search!
http://toolbar.msn.co.uk/
More information about the Cartoweb-users
mailing list