TR: [Cartoweb-users] cartoweb client.php failure

giambrone yves yves.giambrone at cg84.fr
Wed Nov 23 03:58:36 EST 2005


Thanks for taking care.

Wamp is c:\wamp, but I didn't use the windows installer for cartoweb.

I installed Apache/PHP5 from wampserver, (appendix B.1 from cartoweb
documentation)
Then I installed Mapserver/mapscript from maptools (appendix B.2 from
cartoweb documentation)
At the end, I have copied the cartoweb unzipped directory to
c:\wamp\www\cartoweb3, because mapserver was already installed.

I'm going to retry installation from cartoweb installation documentation
1.1.4, on page 21.


-----Message d'origine-----
De : Claude Philipona [mailto:claude.philipona at camptocamp.com] 
Envoyé : mardi 22 novembre 2005 23:16
À : giambrone yves
Cc : 'cartoweb-users at lists.maptools.org'
Objet : Re: TR: [Cartoweb-users] cartoweb client.php failure

Did you use the windows installer for Wamp AND Cartoweb. In case you 
followed exactly the instructions written on this page, it should be ok:
http://www.cartoweb.org/doc_head/docbook/xhtml/user.install.html#user.instal
l.win32


Please take care of these two remarks:
1) don't forget to restart Apache after installation.
2) youmay encoutner problem if you didn't install Wamp at the default 
path (C:\wamp), but it seems to be the case.

Claude

giambrone yves wrote:
> Hi,
> I got now the following message.
> Does anybody know ?
> All thanks for help.
> 
> 
> 
> Warning: dl() [function.dl]: Not supported in multithreaded Web servers -
> use extension=php_mapscript.dll in your php.ini in
> c:\wamp\www\cartoweb3\server\ServerContext.php on line 316
> 
> Warning: Cannot modify header information - headers already sent by
(output
> started at c:\wamp\www\cartoweb3\server\ServerContext.php:316) in
> c:\wamp\www\cartoweb3\client\FormRenderer.php on line 297
> 
> Failure
> class:   SoapFaultWrapper
> message:   can't load mapscript library
> Backtrace:
> 
> file: 152 - c:\wamp\www\cartoweb3\server\MapInfoHandler.php
> call: ServerContext->getMapObj()
> 
> 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: 169 - 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("test_main.test")
> 
> file: 377 - c:\wamp\www\cartoweb3\server\Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMapInfo",
"test_main.test")
> 
> file: 102 - c:\wamp\www\cartoweb3\client\CartoserverService.php
> call: Cartoserver->getMapInfo("test_main.test")
> 
> file: 156 - c:\wamp\www\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callDirect("getMapInfo", "test_main.test")
> 
> file: 215 - c:\wamp\www\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callFunction("getMapInfo", "test_main.test")
> 
> file: 60 - c:\wamp\www\cartoweb3\client\ClientMapInfoCache.php
> call: CartoserverService->getMapInfo("test_main.test")
> 
> file: 99 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
> call: ClientMapInfoCache->computeMapInfo()
> 
> file: 169 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
> call: MapInfoCache->cacheMapInfo()
> 
> file: 590 - c:\wamp\www\cartoweb3\client\Cartoclient.php
> call: MapInfoCache->getMapInfo("test_main.test")
> 
> file: 374 - c:\wamp\www\cartoweb3\client\Cartoclient.php
> call: Cartoclient->getMapInfo()
> 
> file: 36 - c:\wamp\www\cartoweb3\htdocs\client.php
> call: Cartoclient->__construct()
> 
> 
> 
> -----Message d'origine-----
> De : Pierre GIRAUD [mailto:pierre.giraud at camptocamp.com] 
> Envoyé : mardi 22 novembre 2005 10:50
> À : giambrone yves; cartoweb-users at lists.maptools.org
> Objet : Re: [Cartoweb-users] cartoweb client.php failure
> 
> Hello,
> 
> This warning messsage seems to be clear.
> Somewhere in your php.ini, there is one line looking like : 
> extension=php_mascript.dll
> You might just need to remove or comment it.
> 
> Regards.
> 
> Pierre GIRAUD
> 
> giambrone yves a écrit :
> 
> 
>>Hello,
>>
>> 
>>
>>Would you glance at the message below ? I got it when accessing 
>>http://localhost/cartoweb3/htdocs/client.php
>>
>>I last installed Cartoweb using cw3setup.php (client.ini and 
>>server.ini had not been copied from .dist because they were existing) 
>>and I got Mapscript from mapserver-4.6.1-win32-php5.0.5.zip.
>>
>> 
>>
>>All thanks for help.
>>
>>
>>  */Failure/*
>>
>>/class:   SoapFaultWrapper/
>>
>>/message:   You are not using PHP as a cgi and PHP Mapscript extension is
> 
> loaded in your php.ini./
> 
>>/ As this will cause stability problems, CartoWeb stopped./
>>
>>/ You need to remove the php_mapscript extension loading of your php.ini
> 
> file. /
> 
>>/ If you want to remove this message, edit server/ServerContext.php and
set
> 
> the PHP_DSO_WARNING constant to false at the top of the file./
> 
>>/Backtrace:/
>>
>>/ /
>>
>>/file: 152 - c:\wamp\www\cartoweb3\server\MapInfoHandler.php/
>>
>>/call: ServerContext->getMapObj()/
>>
>>/ /
>>
>>/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: 169 - 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("test_main.test")/
>>
>>/ /
>>
>>/file: 377 - c:\wamp\www\cartoweb3\server\Cartoserver.php/
>>
>>/call: Cartoserver->callWithExceptionCheck("doGetMapInfo",
> 
> "test_main.test")/
> 
>>/ /
>>
>>/file: 102 - c:\wamp\www\cartoweb3\client\CartoserverService.php/
>>
>>/call: Cartoserver->getMapInfo("test_main.test")/
>>
>>/ /
>>
>>/file: 156 - c:\wamp\www\cartoweb3\client\CartoserverService.php/
>>
>>/call: CartoserverService->callDirect("getMapInfo", "test_main.test")/
>>
>>/ /
>>
>>/file: 215 - c:\wamp\www\cartoweb3\client\CartoserverService.php/
>>
>>/call: CartoserverService->callFunction("getMapInfo", "test_main.test")/
>>
>>/ /
>>
>>/file: 60 - c:\wamp\www\cartoweb3\client\ClientMapInfoCache.php/
>>
>>/call: CartoserverService->getMapInfo("test_main.test")/
>>
>>/ /
>>
>>/file: 99 - c:\wamp\www\cartoweb3\common\MapInfoCache.php/
>>
>>/call: ClientMapInfoCache->computeMapInfo()/
>>
>>/ /
>>
>>/file: 169 - c:\wamp\www\cartoweb3\common\MapInfoCache.php/
>>
>>/call: MapInfoCache->cacheMapInfo()/
>>
>>/ /
>>
>>/file: 590 - c:\wamp\www\cartoweb3\client\Cartoclient.php/
>>
>>/call: MapInfoCache->getMapInfo("test_main.test")/
>>
>>/ /
>>
>>/file: 374 - c:\wamp\www\cartoweb3\client\Cartoclient.php/
>>
>>/call: Cartoclient->getMapInfo()/
>>
>>/ /
>>
>>/file: 36 - c:\wamp\www\cartoweb3\htdocs\client.php/
>>
>>/call: Cartoclient->__construct()/
>>
>>/ /
>>
>>/ /
>>
>> 
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>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