<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.2491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>hi Davide</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>it seems cartobwe still cant find your mapfile. </FONT></DIV>
<DIV><FONT size=2>please be sure that:</FONT></DIV>
<DIV><FONT size=3>mapId = ticino </FONT><FONT size=2>in client_conf/client.ini
,</FONT></DIV>
<DIV><FONT size=2>the server folder is correctly named /server_conf/</FONT><FONT
size=3>ticino/</FONT></DIV>
<DIV>you have a ticino.ini and ticino.map in <FONT
size=2>/server_conf/</FONT><FONT size=3>ticino/</FONT></DIV>
<DIV>eventually, set NAME "ticino" in the mapfile.</DIV>
<DIV> </DIV>
<DIV><FONT size=2>if it still doesnt work, check your mapfile for syntax
errors</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></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=davide.albertini@gmail.com
href="mailto:davide.albertini@gmail.com">Albertini Davide</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</A>
; <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> Thursday, April 13, 2006 2:53
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] Newbie
Problems</DIV>
<DIV><BR></DIV>Hi,<BR>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:<BR>
<P class=MsoNormal style="MARGIN: 5pt 0cm"><SPAN
style="FONT-FAMILY: 'Courier New'">Failure </SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Class :
SoapFaultWrapper<BR>Message : cannot open mapfile<SPAN> </SPAN>for map
</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Backtrace: </SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 90 -
C:\wamp\www\cartoweb3\server\MapInfoHandler.php<BR>call:
ServerContext->getMapObj()</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 162 -
C:\wamp\www\cartoweb3\server\MapInfoHandler.php<BR>call:
MapInfoHandler->fillDynamicMap()</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 49 -
C:\wamp\www\cartoweb3\server\ServerMapInfoCache.php<BR>call:
MapInfoHandler->loadMapInfo()</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 99 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<BR>call:
ServerMapInfoCache->computeMapInfo()</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 169 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<BR>call:
MapInfoCache->cacheMapInfo()</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 177 -
C:\wamp\www\cartoweb3\server\MapInfoHandler.php<BR>call:
MapInfoCache->getMapInfo() </SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 375 -
C:\wamp\www\cartoweb3\server\ServerContext.php<BR>call:
MapInfoHandler->getMapInfo() </SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 190 -
C:\wamp\www\cartoweb3\server\Cartoserver.php<BR>call:
ServerContext->getMapInfo() </SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 337 -
C:\wamp\www\cartoweb3\server\Cartoserver.php<BR>call:
Cartoserver->doGetMapInfo("ticino.ticino")</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 377 -
C:\wamp\www\cartoweb3\server\Cartoserver.php<BR>call:
Cartoserver->callWithExceptionCheck("doGetMapInfo",
"ticino.ticino")</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 104 -
C:\wamp\www\cartoweb3\client\CartoserverService.php<BR>call:
Cartoserver->getMapInfo("ticino.ticino")</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 158 -
C:\wamp\www\cartoweb3\client\CartoserverService.php<BR>call:
CartoserverService->callDirect("getMapInfo", "ticino.ticino")</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 217 -
C:\wamp\www\cartoweb3\client\CartoserverService.php<BR>call:
CartoserverService->callFunction("getMapInfo",<BR>"ticino.ticino")</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 60 -
C:\wamp\www\cartoweb3\client\ClientMapInfoCache.php<BR>call:
CartoserverService->getMapInfo("ticino.ticino")</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 99 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<BR>call:
ClientMapInfoCache->computeMapInfo()</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 169 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<BR>call:
MapInfoCache->cacheMapInfo()<BR><BR>file: 596 -
C:\wamp\www\cartoweb3\client\Cartoclient.php<BR>call:
MapInfoCache->getMapInfo("ticino.ticino")</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 380 -
C:\wamp\www\cartoweb3\client\Cartoclient.php<BR>call:
Cartoclient->getMapInfo()</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">file: 36 -
C:\wamp\www\cartoweb3\htdocs\client.php</SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> call:
Cartoclient->__construct()</SPAN><BR></P>Can you tell me something about
that? For info ticino is my project name.<BR>Thank you very
much.<BR>Davide<BR><BR>
<DIV><SPAN class=gmail_quote>On 4/13/06, <B class=gmail_sendername>oliver</B>
<<A
href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">hi
Davide,<BR>the setup script does not create automatically the shortcut to
your project<BR>in the htdocs folder, you need to make one yourself. Just
copy one existing<BR>one and modify the content: ( $_ENV['CW3_PROJECT'] =
'yourprojet'; ) <BR><BR>The error you have comes from the fact that cartoweb
tries to load the<BR>demoCW3.map file which certainly does not exist in your
project.<BR><BR>Also, be sure to replace all reference to demoCW3 by
yourprojectname in all <BR>the configuration files of your
project.<BR><BR>Regards,<BR>Oliver<BR><BR><BR><BR>----- Original Message
-----<BR>From: Albertini Davide<BR>To: <A
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org
</A><BR>Sent: Wednesday, April 12, 2006 3:22 PM<BR>Subject: [Cartoweb-users]
Newbie Problems<BR><BR><BR>Hi,<BR>I'm tring to use Cartoweb 3.2 installed on
my Windows Xp with Wamp. I<BR>followed the How-to (create new project and
create layer tree) but I can't <BR>still see my map.<BR>My problem is the
cw3setup.php setup script: when I execute it I didn't<BR>recive any error
but in the htdocs folder I can't find the my project and<BR>when I try to
open my prject in the development interface this is wath i
<BR>see:<BR><BR>Warning:<BR>parse_ini_file(C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.ini)<BR>[function.parse-ini-file]:
failed to open stream: No such file or directory<BR>in
C:\wamp\www\cartoweb3\server\ServerContext.php on line 468
<BR><BR>Warning:<BR>parse_ini_file(C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.ini)<BR>[function.parse-ini-file]:
failed to open stream: No such file or directory<BR>in
C:\wamp\www\cartoweb3\common\StructHandler.php on line 59 <BR><BR>Warning:
Invalid argument supplied for foreach()
in<BR>C:\wamp\www\cartoweb3\common\MapInfo.php on line 219<BR><BR>Warning:
[MapServer Error]:
msLoadMap():<BR>(C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.map) in
<BR>C:\wamp\www\cartoweb3\server\ServerContext.php on line
333<BR><BR>Warning: Failed to open map
file<BR>C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.map
in<BR>C:\wamp\www\cartoweb3\server\ServerContext.php on line 333
<BR><BR>Warning: Cannot modify header information - headers already sent by
(output<BR>started at C:\wamp\www\cartoweb3\server\ServerContext.php:468)
in<BR>C:\wamp\www\cartoweb3\client\FormRenderer.php on line
301<BR><BR><BR>Failure<BR>Class : SoapFaultWrapper<BR>Message : Mapserver
error: Error in
msLoadMap():<BR>(C:\wamp\www\cartoweb3/server_conf/demoCW3/demoCW3.map)<BR><BR>Backtrace:<BR><BR>file:
334 - C:\wamp\www\cartoweb3\server\ServerContext.php <BR>call:
ServerContext->checkMsErrors()<BR><BR>file: 152 -
C:\wamp\www\cartoweb3\server\MapInfoHandler.php<BR>call:
ServerContext->getMapObj()<BR><BR>file: 49 -
C:\wamp\www\cartoweb3\server\ServerMapInfoCache.php<BR>call:
MapInfoHandler->loadMapInfo()<BR><BR>file: 99 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<BR>call:
ServerMapInfoCache->computeMapInfo()<BR><BR>file: 169 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<BR>call:
MapInfoCache->cacheMapInfo() <BR><BR>file: 177 -
C:\wamp\www\cartoweb3\server\MapInfoHandler.php<BR>call:
MapInfoCache->getMapInfo()<BR><BR>file: 375 -
C:\wamp\www\cartoweb3\server\ServerContext.php<BR>call:
MapInfoHandler->getMapInfo()<BR><BR>file: 190 -
C:\wamp\www\cartoweb3\server\Cartoserver.php<BR>call:
ServerContext->getMapInfo()<BR><BR>file: 337 -
C:\wamp\www\cartoweb3\server\Cartoserver.php<BR>call:
Cartoserver->doGetMapInfo("ticino.demoCW3") <BR><BR>file: 377 -
C:\wamp\www\cartoweb3\server\Cartoserver.php<BR>call:
Cartoserver->callWithExceptionCheck("doGetMapInfo",
"ticino.demoCW3")<BR><BR>file: 104 -
C:\wamp\www\cartoweb3\client\CartoserverService.php <BR>call:
Cartoserver->getMapInfo("ticino.demoCW3")<BR><BR>file: 158 -
C:\wamp\www\cartoweb3\client\CartoserverService.php<BR>call:
CartoserverService->callDirect("getMapInfo", "ticino.demoCW3
")<BR><BR>file: 217 -
C:\wamp\www\cartoweb3\client\CartoserverService.php<BR>call:
CartoserverService->callFunction("getMapInfo",
"ticino.demoCW3")<BR><BR>file: 60 -
C:\wamp\www\cartoweb3\client\ClientMapInfoCache.php <BR>call:
CartoserverService->getMapInfo("ticino.demoCW3")<BR><BR>file: 99 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<BR>call:
ClientMapInfoCache->computeMapInfo()<BR><BR>file: 169 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php <BR>call:
MapInfoCache->cacheMapInfo()<BR><BR>file: 596 -
C:\wamp\www\cartoweb3\client\Cartoclient.php<BR>call:
MapInfoCache->getMapInfo("ticino.demoCW3")<BR><BR>file: 380 -
C:\wamp\www\cartoweb3\client\Cartoclient.php <BR>call:
Cartoclient->getMapInfo()<BR><BR>file: 36 -
C:\wamp\www\cartoweb3\htdocs\client.php<BR>call:
Cartoclient->__construct()<BR><BR>I hope you can Help me.<BR>Greetings,
Davide<BR><BR><BR><BR><BR><BR>_______________________________________________
<BR>Cartoweb-users mailing list<BR><A
href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</A><BR><A
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users
</A><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>