<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the problem is the SHAPEPATH "C:/wamp/data" parameter in the
foss4g.map file</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>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.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the SHAPEPATH should point to the folder where you have
uncompressed the content of the data.zip</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I will see to update the tutorial instructions to take into
account the new MS4W installation procedure.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>sorry for the inconvenience</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=eiclkun@gmail.com href="mailto:eiclkun@gmail.com">Chen kuja</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, March 24, 2008 12:11
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users]Problem with
CartoWeb3 for Beginners(at step 1)</DIV>
<DIV><BR></DIV>Hello,<BR><BR>I appreciate your guide "CartoWeb3 for
Beginners", it contains so many useful imformation, especially for novice like
me. <BR><BR>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 <A
href="http://localhost/cartoweb3/htdocs/foss4g.php">http://localhost/cartoweb3/htdocs/foss4g.php</A><BR>but
what came up was a failure page. Detailed information like below<BR><BR>
<H1>Failure</H1><PRE>CartoWeb version: 3.4.0 [$Revision: 1.7 $]<BR>class: SoapFaultWrapper<BR>message: MapServer error: Error in msDrawRaster(): (gtopo30_shade.tif)<BR>
<BR><BR>Backtrace:<BR><BR>file: 226 - C:\ms4w\apps\cartoweb3\coreplugins\images\server\ServerImages.php<BR>call: ServerContext->checkMsErrors()<BR><BR>file: 311 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<BR>call: ServerImages->drawMainmap(Object(Images))<BR>
<BR>file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<BR>call: Cartoserver->doGetMap(Object(MapRequest))<BR><BR>file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<BR>call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))<BR>
<BR>file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<BR>call: Cartoserver->cacheGetMap(Object(MapRequest))<BR><BR>file: 107 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<BR>call: MapResultCache->getMapResultFromServer(Object(MapRequest))<BR>
<BR>file: 190 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<BR>call: MapResultCache->cacheMapResult(Object(MapRequest))<BR><BR>file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<BR>call: MapResultCache->getMap(Object(MapRequest))<BR>
<BR>file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<BR>call: Cartoserver->getMap(Object(MapRequest))<BR><BR>file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<BR>call: CartoserverService->callDirect("getMap", Object(MapRequest))<BR>
<BR>file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<BR>call: CartoserverService->callFunction("getMap", Object(MapRequest))<BR><BR>file: 948 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<BR>
call: CartoserverService->getMap(Object(MapRequest))<BR><BR>file: 1086 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<BR>call: Cartoclient->getMapResultFromRequest(Object(MapRequest))<BR><BR>file: 1261 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<BR>
call: Cartoclient->doMain()<BR><BR>file: 33 - C:\ms4w\apps\cartoweb3\htdocs\client.php<BR>call: Cartoclient->main()<BR><BR><BR><BR>file: 3 - C:\ms4w\apps\cartoweb3\htdocs\foss4g.php<BR>call: require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php")<BR>
<BR></PRE>I just followed the guide step by step, nothing ever changed. And
all other demos work
well.<BR>Thanks<BR>
kun<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>