[Cartoweb-users]Problem with CartoWeb3 for Beginners(at step 1)

Oliver Christen oliver.christen at camptocamp.com
Tue Mar 25 03:57:00 EDT 2008


Hi

the problem is the SHAPEPATH "C:/wamp/data" parameter in the foss4g.map file

the tutorial is a bit old and it was intended to be used with the Cartoweb 3.3 version, which used WAMP and not MS4W, so the path are a little different now.

the SHAPEPATH should point to the folder where you have uncompressed the content of the data.zip

I will see to update the tutorial instructions to take into account the new MS4W installation procedure.

sorry for the inconvenience

regards
Oliver
  ----- Original Message ----- 
  From: Chen kuja 
  To: cartoweb-users at lists.maptools.org 
  Sent: Monday, March 24, 2008 12:11 PM
  Subject: [Cartoweb-users]Problem with CartoWeb3 for Beginners(at step 1)


  Hello,

  I appreciate your guide "CartoWeb3 for Beginners", it contains so many useful imformation, especially for novice like me. 

  But I still face a problem in step 1. I installed ms4w-2.2.7 and cartoweb3.40. After copying floder "foss4g" to "C:\ms4w\apps\cartoweb3\projects", making that foss4g.php and of course those command lines in cmd windows(they all worked well ). I tried http://localhost/cartoweb3/htdocs/foss4g.php
  but what came up was a failure page. Detailed information like below


  Failure
CartoWeb version: 3.4.0 [$Revision: 1.7 $]class:   SoapFaultWrappermessage:   MapServer error: Error in msDrawRaster(): (gtopo30_shade.tif)
Backtrace:file: 226 - C:\ms4w\apps\cartoweb3\coreplugins\images\server\ServerImages.phpcall: ServerContext->checkMsErrors()file: 311 - C:\ms4w\apps\cartoweb3\server\Cartoserver.phpcall: ServerImages->drawMainmap(Object(Images))
file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.phpcall: Cartoserver->doGetMap(Object(MapRequest))file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.phpcall: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))
file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.phpcall: Cartoserver->cacheGetMap(Object(MapRequest))file: 107 - C:\ms4w\apps\cartoweb3\server\MapResultCache.phpcall: MapResultCache->getMapResultFromServer(Object(MapRequest))
file: 190 - C:\ms4w\apps\cartoweb3\server\MapResultCache.phpcall: MapResultCache->cacheMapResult(Object(MapRequest))file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.phpcall: MapResultCache->getMap(Object(MapRequest))
file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.phpcall: Cartoserver->getMap(Object(MapRequest))file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.phpcall: CartoserverService->callDirect("getMap", Object(MapRequest))
file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.phpcall: CartoserverService->callFunction("getMap", Object(MapRequest))file: 948 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: CartoserverService->getMap(Object(MapRequest))file: 1086 - C:\ms4w\apps\cartoweb3\client\Cartoclient.phpcall: Cartoclient->getMapResultFromRequest(Object(MapRequest))file: 1261 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: Cartoclient->doMain()file: 33 - C:\ms4w\apps\cartoweb3\htdocs\client.phpcall: Cartoclient->main()file: 3 - C:\ms4w\apps\cartoweb3\htdocs\foss4g.phpcall: require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php")
I just followed the guide step by step, nothing ever changed. And all other demos work well.
  Thanks
                                                                                                                             kun



------------------------------------------------------------------------------


  _______________________________________________
  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/20080325/a197d605/attachment.html


More information about the Cartoweb-users mailing list