[Cartoweb-users] creating new projects
Alexandre Saunier
alexandre.saunier at camptocamp.com
Thu Jan 18 03:38:51 EST 2007
Anyway the Trumpet.ini path is weird!
It should be something like
C:\wamp\www\cartoweb3/projects/Trumpet/server_conf/Trumpet/Trumpet.ini
rather than
C:\wamp\www\cartoweb3/server_conf/Trumpet/Trumpet.ini
What version of CartoWeb do you use?
Oliver Christen wrote:
> Hi Andre
>
> for the moment one have to do the layers.ini file by hand, I dont know
> any tool to generate that automatically
>
> about your error message, the *"*Warning: filemtime() " part let me
> think that maybe the file can not be read or accessed. Check the access
> right on that file or the directory and also see if another program is
> not using the file and prevening other to read it.
> thats only a supposition as I have never encoutered such error before.
>
> regards
> Oliver
>
> ----- Original Message -----
> *From:* Andre Schoonbee <mailto:andresch at iway.na>
> *To:* cartoweb-users at lists.maptools.org
> <mailto:cartoweb-users at lists.maptools.org>
> *Sent:* Thursday, January 18, 2007 7:35 AM
> *Subject:* [Cartoweb-users] creating new projects
>
> I have a few questions in creating a new project:
>
>
>
> a) If I have a complex mapserver map file (or any mapfile) is
> there a standard application or utility that can help in generating
> the layers.ini, or is all manual editing??
>
> b) What cause the following error:
>
>
>
> *Warning*:
> parse_ini_file(C:\wamp\www\cartoweb3/server_conf/Trumpet/Trumpet.ini)
> [function.parse-ini-file
> <http://localhost/cartoweb3/htdocs/function.parse-ini-file>]: failed
> to open stream: No such file or directory in
> *C:\wamp\www\cartoweb3\server\ServerContext.php* on line *487*
>
> *Warning*:
> parse_ini_file(C:\wamp\www\cartoweb3/server_conf/Trumpet/Trumpet.ini)
> [function.parse-ini-file
> <http://localhost/cartoweb3/htdocs/function.parse-ini-file>]: failed
> to open stream: No such file or directory in
> *C:\wamp\www\cartoweb3\common\StructHandler.php* on line *59*
>
> *Warning*: Invalid argument supplied for foreach() in
> *C:\wamp\www\cartoweb3\common\MapInfo.php* on line *219*
>
> *Warning*: filemtime() [function.filemtime
> <http://localhost/cartoweb3/htdocs/function.filemtime>]: stat failed
> for C:\wamp\www\cartoweb3/server_conf/Trumpet/Trumpet.ini in
> *C:\wamp\www\cartoweb3\server\ServerContext.php* on line *297*
>
> *Fatal error*: Uncaught exception 'CartocommonException' with
> message 'Error [2, Cannot modify header information - headers
> already sent by (output started at
> C:\wamp\www\cartoweb3\server\ServerContext.php:487),
> C:\wamp\www\cartoweb3\client\FormRenderer.php, 447] Backtrace: file:
> UNKNOWN - UNKNOWN call: Common::cartowebErrorHandler(2, "Cannot
> modify header information - headers already sent by (outp...",
> "C:\wamp\www\cartoweb3\client\FormRenderer.php", 447, Array(1))
> file: 447 - C:\wamp\www\cartoweb3\client\FormRenderer.php call:
> header("HTTP/1.1 500 Internal Server Error") file: 1226 -
> C:\wamp\www\cartoweb3\client\Cartoclient.php call:
> FormRenderer->showFailure(Object(SoapFaultWrapper)) file: 38 -
> C:\wamp\www\cartoweb3\htdocs\client.php call: Cartoclient->main()
> file: 3 - C:\wamp\www\cartoweb3\htdocs\Trumpet.php call:
> require_once("C:\wamp\www\cartoweb3\htdocs\client.php") ' in
> C:\wamp\www\cartoweb3\common\Common.php:290 Stack trace: #0
> [internal function]: Common::cartowebErrorHandler(2, 'Cannot modify
> h...', 'C:\wa in *C:\wamp\www\cartoweb3\common\Common.php* on line *290*
>
> * *
>
> *Thanks*
More information about the Cartoweb-users
mailing list