<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR><o:SmartTagType name="City"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:551573360;
        mso-list-type:hybrid;
        mso-list-template-ids:-1968557016 -139420826 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%1\)";
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT size=2>Hi Andre</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>for the moment one have to do the layers.ini file by hand, I
dont know any tool to generate that automatically</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>about your error message, the <FONT
size=3><STRONG>"</STRONG><SPAN style="FONT-WEIGHT: bold">Warning</SPAN>:
filemtime() </FONT>" 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.</FONT></DIV>
<DIV><FONT size=2>thats only a supposition as I have never encoutered such error
before.</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=andresch@iway.na href="mailto:andresch@iway.na">Andre Schoonbee</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> Thursday, January 18, 2007 7:35
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] creating new
projects</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a few questions in creating
a new project:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><![if !supportLists]><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
style="mso-list: Ignore">a)<FONT face="Times New Roman" size=1><SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></FONT></SPAN></SPAN></FONT><![endif]><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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??<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><![if !supportLists]><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
style="mso-list: Ignore">b)<FONT face="Times New Roman" size=1><SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></FONT></SPAN></SPAN></FONT><![endif]><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">What cause the following
error:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.25in"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.25in"><B><FONT face="Times New Roman"
size=3><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt">Warning</SPAN></FONT></B>:
parse_ini_file(C:\wamp\www\cartoweb3/server_conf/Trumpet/Trumpet.ini) [<A
href="http://localhost/cartoweb3/htdocs/function.parse-ini-file">function.parse-ini-file</A>]:
failed to open stream: No such file or directory in <B><SPAN
style="FONT-WEIGHT: bold">C:\wamp\www\cartoweb3\server\ServerContext.php</SPAN></B>
on line <B><SPAN style="FONT-WEIGHT: bold">487</SPAN></B><BR><BR><B><SPAN
style="FONT-WEIGHT: bold">Warning</SPAN></B>:
parse_ini_file(C:\wamp\www\cartoweb3/server_conf/Trumpet/Trumpet.ini) [<A
href="http://localhost/cartoweb3/htdocs/function.parse-ini-file">function.parse-ini-file</A>]:
failed to open stream: No such file or directory in <B><SPAN
style="FONT-WEIGHT: bold">C:\wamp\www\cartoweb3\common\StructHandler.php</SPAN></B>
on line <B><SPAN style="FONT-WEIGHT: bold">59</SPAN></B><BR><BR><B><SPAN
style="FONT-WEIGHT: bold">Warning</SPAN></B>: Invalid argument supplied for
foreach() in <B><SPAN
style="FONT-WEIGHT: bold">C:\wamp\www\cartoweb3\common\MapInfo.php</SPAN></B>
on line <B><SPAN style="FONT-WEIGHT: bold">219</SPAN></B><BR><BR><B><SPAN
style="FONT-WEIGHT: bold">Warning</SPAN></B>: filemtime() [<A
href="http://localhost/cartoweb3/htdocs/function.filemtime">function.filemtime</A>]:
stat failed for C:\wamp\www\cartoweb3/server_conf/Trumpet/Trumpet.ini in
<B><SPAN
style="FONT-WEIGHT: bold">C:\wamp\www\cartoweb3\server\ServerContext.php</SPAN></B>
on line <B><SPAN style="FONT-WEIGHT: bold">297</SPAN></B><BR><BR><B><SPAN
style="FONT-WEIGHT: bold">Fatal error</SPAN></B>: 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
<B><SPAN
style="FONT-WEIGHT: bold">C:\wamp\www\cartoweb3\common\Common.php</SPAN></B>
on line <B><SPAN style="FONT-WEIGHT: bold">290<o:p></o:p></SPAN></B></P>
<P class=MsoNormal><B><FONT face="Times New Roman" size=3><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></B></P>
<P class=MsoNormal><B><FONT face="Times New Roman" size=3><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt">Thanks</SPAN></FONT></B><FONT
face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Andre
</SPAN></FONT></B></STRONG><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Office: +264 61 209
2844</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><st1:City w:st="on"><st1:place w:st="on"><FONT face=Arial
color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Mobile</SPAN></FONT></st1:place></st1:City><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">: +264 81 278
5800</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> </SPAN><o:p></o:p></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV>
<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>