[Cartoweb-users] Can't load Mapscript Library

Oliver Christen oliver.christen at camptocamp.com
Mon Feb 12 02:07:14 EST 2007


Hi Paul
I would say you need a version of phpmapscript compiled for php5.2 on 
macintosh
The Mapserver website has some guideline on how to compile, and their 
mailinglist may certainly have some answer on the matter too.

regards
Oliver


> Hi Everyone,
>
> This is a common error. Can anyone suggest what to check for. I have
> checked that PHP is working but the php-mapscript does not load. I'm
> using PHP 5.2.0 and Mapserver 4.10 (apache versions) on OS X.
>
> Class : SoapFaultWrapper
> Message : can't load mapscript library
> Backtrace:
>
> file: 90 - 
> /Library/WebServer/Documents/cartoweb3/server/MapInfoHandler.php
> call: ServerContext->getMapObj()
>
> file: 162 - 
> /Library/WebServer/Documents/cartoweb3/server/MapInfoHandler.php
> call: MapInfoHandler->fillDynamicMap()
>
> file: 49 - 
> /Library/WebServer/Documents/cartoweb3/server/ServerMapInfoCache.php
> call: MapInfoHandler->loadMapInfo()
>
> file: 99 - /Library/WebServer/Documents/cartoweb3/common/MapInfoCache.php
> call: ServerMapInfoCache->computeMapInfo()
>
> file: 169 - /Library/WebServer/Documents/cartoweb3/common/MapInfoCache.php
> call: MapInfoCache->cacheMapInfo()
>
> file: 177 - 
> /Library/WebServer/Documents/cartoweb3/server/MapInfoHandler.php
> call: MapInfoCache->getMapInfo()
>
> file: 396 - 
> /Library/WebServer/Documents/cartoweb3/server/ServerContext.php
> call: MapInfoHandler->getMapInfo()
>
> file: 191 - /Library/WebServer/Documents/cartoweb3/server/Cartoserver.php
> call: ServerContext->getMapInfo()
>
> file: 349 - /Library/WebServer/Documents/cartoweb3/server/Cartoserver.php
> call: Cartoserver->doGetMapInfo("paul.Paul")
>
> file: 389 - /Library/WebServer/Documents/cartoweb3/server/Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "paul.Paul")
>
> file: 104 - 
> /Library/WebServer/Documents/cartoweb3/client/CartoserverService.php
> call: Cartoserver->getMapInfo("paul.Paul")
>
> file: 165 - 
> /Library/WebServer/Documents/cartoweb3/client/CartoserverService.php
> call: CartoserverService->callDirect("getMapInfo", "paul.Paul")
>
> file: 224 - 
> /Library/WebServer/Documents/cartoweb3/client/CartoserverService.php
> call: CartoserverService->callFunction("getMapInfo", "paul.Paul")
>
> file: 60 - 
> /Library/WebServer/Documents/cartoweb3/client/ClientMapInfoCache.php
> call: CartoserverService->getMapInfo("paul.Paul")
>
> file: 99 - /Library/WebServer/Documents/cartoweb3/common/MapInfoCache.php
> call: ClientMapInfoCache->computeMapInfo()
>
> file: 169 - /Library/WebServer/Documents/cartoweb3/common/MapInfoCache.php
> call: MapInfoCache->cacheMapInfo()
>
> file: 756 - /Library/WebServer/Documents/cartoweb3/client/Cartoclient.php
> call: MapInfoCache->getMapInfo("paul.Paul")
>
> file: 413 - /Library/WebServer/Documents/cartoweb3/client/Cartoclient.php
> call: Cartoclient->getMapInfo()
>
> file: 36 - /Library/WebServer/Documents/cartoweb3/htdocs/client.php
> call: Cartoclient->__construct()
>
> file: 3 - /Library/WebServer/Documents/cartoweb3/htdocs/paul.php
> call: 
> require_once("/Library/WebServer/Documents/cartoweb3/htdocs/client.php")
>
> -- 
> Paul J. Shapley
> _______________________________________________
> 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