Hi,<br>
I cheked everything you've said but still don't work.<br>
The map file was created with MapLab 2.2.1 is possible that this is the cause of my problems?<br>
Thanks 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">
<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><div style="direction: ltr;"><span class="sg">
<div><font size="2">Oliver</font></div>
<div><font size="2"></font> </div>
<div><font size="2"></font> </div>
</span></div><div style="direction: ltr;"><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"></blockquote></div><div style="direction: ltr;">
<span class="q">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="davide.albertini@gmail.com" href="mailto:davide.albertini@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Albertini Davide</a> </div></span></div><div style="direction: ltr;">
<span class="e" id="q_10a935e5f4dc7169_4">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="oliver.christen@camptocamp.com" href="mailto:oliver.christen@camptocamp.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
oliver.christen@camptocamp.com</a>
; <a title="cartoweb-users@lists.maptools.org" href="mailto:cartoweb-users@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cartoweb-users@lists.maptools.org</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Thursday, April 13, 2006 2:53
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><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 style="margin: 5pt 0cm;"><span>Failure </span></p>
<p><span style="font-size: 10pt;">Class :
SoapFaultWrapper<br>Message : cannot open mapfile<span> </span>for map
</span></p>
<p><span style="font-size: 10pt;">Backtrace: </span></p>
<p><span style="font-size: 10pt;">file: 90 -
C:\wamp\www\cartoweb3\server\MapInfoHandler.php<br>call:
ServerContext->getMapObj()</span></p>
<p><span style="font-size: 10pt;">file: 162 -
C:\wamp\www\cartoweb3\server\MapInfoHandler.php<br>call:
MapInfoHandler->fillDynamicMap()</span></p>
<p><span style="font-size: 10pt;">file: 49 -
C:\wamp\www\cartoweb3\server\ServerMapInfoCache.php<br>call:
MapInfoHandler->loadMapInfo()</span></p>
<p><span style="font-size: 10pt;">file: 99 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<br>call:
ServerMapInfoCache->computeMapInfo()</span></p>
<p><span style="font-size: 10pt;">file: 169 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<br>call:
MapInfoCache->cacheMapInfo()</span></p>
<p><span style="font-size: 10pt;">file: 177 -
C:\wamp\www\cartoweb3\server\MapInfoHandler.php<br>call:
MapInfoCache->getMapInfo() </span></p>
<p><span style="font-size: 10pt;">file: 375 -
C:\wamp\www\cartoweb3\server\ServerContext.php<br>call:
MapInfoHandler->getMapInfo() </span></p>
<p><span style="font-size: 10pt;">file: 190 -
C:\wamp\www\cartoweb3\server\Cartoserver.php<br>call:
ServerContext->getMapInfo() </span></p>
<p><span style="font-size: 10pt;">file: 337 -
C:\wamp\www\cartoweb3\server\Cartoserver.php<br>call:
Cartoserver->doGetMapInfo("ticino.ticino")</span></p>
<p><span style="font-size: 10pt;">file: 377 -
C:\wamp\www\cartoweb3\server\Cartoserver.php<br>call:
Cartoserver->callWithExceptionCheck("doGetMapInfo",
"ticino.ticino")</span></p>
<p><span style="font-size: 10pt;">file: 104 -
C:\wamp\www\cartoweb3\client\CartoserverService.php<br>call:
Cartoserver->getMapInfo("ticino.ticino")</span></p>
<p><span style="font-size: 10pt;">file: 158 -
C:\wamp\www\cartoweb3\client\CartoserverService.php<br>call:
CartoserverService->callDirect("getMapInfo", "ticino.ticino")</span></p>
<p><span style="font-size: 10pt;">file: 217 -
C:\wamp\www\cartoweb3\client\CartoserverService.php<br>call:
CartoserverService->callFunction("getMapInfo",<br>"ticino.ticino")</span></p>
<p><span style="font-size: 10pt;">file: 60 -
C:\wamp\www\cartoweb3\client\ClientMapInfoCache.php<br>call:
CartoserverService->getMapInfo("ticino.ticino")</span></p>
<p><span style="font-size: 10pt;">file: 99 -
C:\wamp\www\cartoweb3\common\MapInfoCache.php<br>call:
ClientMapInfoCache->computeMapInfo()</span></p>
<p><span style="font-size: 10pt;">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><span style="font-size: 10pt;">file: 380 -
C:\wamp\www\cartoweb3\client\Cartoclient.php<br>call:
Cartoclient->getMapInfo()</span></p>
<p><span style="font-size: 10pt;">file: 36 -
C:\wamp\www\cartoweb3\htdocs\client.php</span><span style="font-size: 10pt;"> 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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">oliver.christen@camptocamp.com</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Cartoweb-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.maptools.org/mailman/listinfo/cartoweb-users
</a><br><br></blockquote></div><br></span></div><div style="direction: ltr;">
</div></blockquote></div><br>