[Cartoweb-users] Error in Publishing My Own Data

mohsen hassan mohsenengineer2005 at gmail.com
Sun Jan 13 13:12:14 EST 2008


Hi,all

I'm new to CartoWeb Software and i completed the reading of the CartoWeb
Documentation.

I installed the CartoWeb Product
Using:
Windows Install with Win32 Installer (MS4W 2.2.6Setup.exe +
Cartoweb-setup-3.4.0-win32.exe)
as describe in that link

http://127.0.0.1/cartoweb3/documentation/user_manual/xhtml/user.install.html#user.install.win32


and all Run well (demos).

when I want to do my own site(with my own data"Shape files") I followed the
steps included in

How to Create a NewProject
<http://www.cartoweb.org/cwiki/HowToCreateANewProject> tutorial
http://www.cartoweb.org/cwiki/HowToCreateANewProject

the tutorial  run well(Using the france Map).

when I customize the project to add my own shape file instead of it and run
the project

the following error  appear,Please any one can help me to solve this error.
            Hint: you should customize this template (failure.tpl) in your
project.

*Failure

CartoWeb version: 3.4.0 [$Revision: 1.7 $]
class:   SoapFaultWrapper
message:   MapServer error: Error in msDrawMap(): Failed to draw layer named
'region'.

Error in msSHPOpenFile():(C:\ms4w\apps\cartoweb3/projects/WebMap/server_conf/WebMap/reg_france)

Error in msSHPOpenFile():
(C:\ms4w\apps\cartoweb3/projects/WebMap/server_conf/WebMap/data/reg_france)


Backtrace:

file: 226 -
C:\ms4w\apps\cartoweb3\coreplugins\images\server\ServerImages.php
call: ServerContext->checkMsErrors()

file: 311 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: ServerImages->drawMainmap(Object(Images))

file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: Cartoserver->doGetMap(Object(MapRequest))

file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))

file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
call: Cartoserver->cacheGetMap(Object(MapRequest))

file: 184 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
call: MapResultCache->getMapResultFromServer(Object(MapRequest))

file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: MapResultCache->getMap(Object(MapRequest))

file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: Cartoserver->getMap(Object(MapRequest))

file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: CartoserverService->callDirect("getMap", Object(MapRequest))

file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: 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.php
call: Cartoclient->getMapResultFromRequest(Object(MapRequest))

file: 1261 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: Cartoclient->doMain()

file: 33 - C:\ms4w\apps\cartoweb3\htdocs\client.php
call: Cartoclient->main()



Back to initial map.

Hint: you should customize this template (failure.tpl) in your project.


Thanks in advance*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080113/e7bd5c48/attachment.html


More information about the Cartoweb-users mailing list