[Cartoweb-users] Newbie Problems

Albertini Davide davide.albertini at gmail.com
Thu Apr 13 09:21:54 EDT 2006


Hi,
I cheked everything you've said but still don't work.
The map file was created with MapLab 2.2.1 is possible that this is the
cause of my problems?
Thanks Davide

On 4/13/06, oliver <oliver.christen at camptocamp.com> wrote:
>
> hi Davide
>
> it seems cartobwe still cant find your mapfile.
> please be sure that:
> mapId = ticino in client_conf/client.ini ,
> the server folder is correctly named /server_conf/ticino/
> you have a ticino.ini and ticino.map in /server_conf/ticino/
> eventually, set NAME "ticino" in the mapfile.
>
> if it still doesnt work, check your mapfile for syntax errors
>
> Regards
> Oliver
>
>
>
> ----- Original Message -----
> *From:* Albertini Davide <davide.albertini at gmail.com>
> *To:* oliver.christen at camptocamp.com ; cartoweb-users at lists.maptools.org
> *Sent:* Thursday, April 13, 2006 2:53 PM
> *Subject:* Re: [Cartoweb-users] Newbie Problems
>
> Hi,
> Ithank to reply to me, wath you said was right, then i've removed a line
> in a php file and now I see a page with the camptocamp logo and some buttons
> (better then before) but I still got many failures:
>
> Failure
>
> Class : SoapFaultWrapper
> Message : cannot open mapfile  for map
>
> Backtrace:
>
> file: 90 - C:\wamp\www\cartoweb3\server\MapInfoHandler.php
> call: ServerContext->getMapObj()
>
> file: 162 - C:\wamp\www\cartoweb3\server\MapInfoHandler.php
> call: MapInfoHandler->fillDynamicMap()
>
> 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: 375 - 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("ticino.ticino")
>
> file: 377 - C:\wamp\www\cartoweb3\server\Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "ticino.ticino")
>
> file: 104 - C:\wamp\www\cartoweb3\client\CartoserverService.php
> call: Cartoserver->getMapInfo("ticino.ticino")
>
> file: 158 - C:\wamp\www\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callDirect("getMapInfo", "ticino.ticino")
>
> file: 217 - C:\wamp\www\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callFunction("getMapInfo",
> "ticino.ticino")
>
> file: 60 - C:\wamp\www\cartoweb3\client\ClientMapInfoCache.php
> call: CartoserverService->getMapInfo("ticino.ticino")
>
> 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: 596 - C:\wamp\www\cartoweb3\client\Cartoclient.php
> call: MapInfoCache->getMapInfo("ticino.ticino")
>
> file: 380 - C:\wamp\www\cartoweb3\client\Cartoclient.php
> call: Cartoclient->getMapInfo()
>
> file: 36 - C:\wamp\www\cartoweb3\htdocs\client.php call:
> Cartoclient->__construct()
> Can you tell me something about that? For info ticino is my project name.
> Thank you very much.
> Davide
>
> On 4/13/06, oliver <oliver.christen at camptocamp.com> wrote:
> >
> > hi Davide,
> > the setup script does not create automatically the shortcut to your
> > project
> > in the htdocs folder, you need to make one yourself. Just copy one
> > existing
> > one and modify the content: ( $_ENV['CW3_PROJECT'] = 'yourprojet'; )
> >
> > The error you have comes from the fact that cartoweb tries to load the
> > demoCW3.map file which certainly does not exist in your project.
> >
> > Also, be sure to replace all reference to demoCW3 by yourprojectname in
> > all
> > the configuration files of your project.
> >
> > Regards,
> > Oliver
> >
> >
> >
> > ----- Original Message -----
> > From: Albertini Davide
> > To: cartoweb-users at lists.maptools.org
> > Sent: Wednesday, April 12, 2006 3:22 PM
> > Subject: [Cartoweb-users] Newbie Problems
> >
> >
> > Hi,
> > I'm tring to use Cartoweb 3.2 installed on my Windows Xp with Wamp. I
> > followed the How-to (create new project and create layer tree) but I
> > can't
> > still see my map.
> > My problem is the cw3setup.php setup script: when I execute it I didn't
> > recive any error but in the htdocs folder I can't find the my project
> > and
> > when I try to open my prject in the development interface this is wath i
> >
> > see:
> >
> > Warning:
> > parse_ini_file(C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.ini)
> > [function.parse-ini-file]: failed to open stream: No such file or
> > directory
> > in C:\wamp\www\cartoweb3\server\ServerContext.php on line 468
> >
> > Warning:
> > parse_ini_file(C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.ini)
> > [function.parse-ini-file]: failed to open stream: No such file or
> > directory
> > in C:\wamp\www\cartoweb3\common\StructHandler.php on line 59
> >
> > Warning: Invalid argument supplied for foreach() in
> > C:\wamp\www\cartoweb3\common\MapInfo.php on line 219
> >
> > Warning: [MapServer Error]: msLoadMap():
> > (C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.map) in
> > C:\wamp\www\cartoweb3\server\ServerContext.php on line 333
> >
> > Warning: Failed to open map file
> > C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.map in
> > C:\wamp\www\cartoweb3\server\ServerContext.php on line 333
> >
> > Warning: Cannot modify header information - headers already sent by
> > (output
> > started at C:\wamp\www\cartoweb3\server\ServerContext.php:468) in
> > C:\wamp\www\cartoweb3\client\FormRenderer.php on line 301
> >
> >
> > Failure
> > Class : SoapFaultWrapper
> > Message : Mapserver error: Error in msLoadMap():
> > (C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.map)
> >
> > Backtrace:
> >
> > file: 334 - C:\wamp\www\cartoweb3\server\ServerContext.php
> > call: ServerContext->checkMsErrors()
> >
> > 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: 375 - 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("ticino.demoCW3")
> >
> > file: 377 - C:\wamp\www\cartoweb3\server\Cartoserver.php
> > call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "
> > ticino.demoCW3")
> >
> > file: 104 - C:\wamp\www\cartoweb3\client\CartoserverService.php
> > call: Cartoserver->getMapInfo("ticino.demoCW3")
> >
> > file: 158 - C:\wamp\www\cartoweb3\client\CartoserverService.php
> > call: CartoserverService->callDirect("getMapInfo", "ticino.demoCW3 ")
> >
> > file: 217 - C:\wamp\www\cartoweb3\client\CartoserverService.php
> > call: CartoserverService->callFunction("getMapInfo", "ticino.demoCW3")
> >
> > file: 60 - C:\wamp\www\cartoweb3\client\ClientMapInfoCache.php
> > call: CartoserverService->getMapInfo("ticino.demoCW3")
> >
> > 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: 596 - C:\wamp\www\cartoweb3\client\Cartoclient.php
> > call: MapInfoCache->getMapInfo("ticino.demoCW3")
> >
> > file: 380 - C:\wamp\www\cartoweb3\client\Cartoclient.php
> > call: Cartoclient->getMapInfo()
> >
> > file: 36 - C:\wamp\www\cartoweb3\htdocs\client.php
> > call: Cartoclient->__construct()
> >
> > I hope you can Help me.
> > Greetings, Davide
> >
> >
> >
> >
> >
> > _______________________________________________
> > Cartoweb-users mailing list
> > Cartoweb-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/cartoweb-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060413/d069cea4/attachment-0001.html


More information about the Cartoweb-users mailing list