<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
can you post the lines in that file around line 18?<br>
Has the file correct permissions and can Apache access that file -
e.g. no restrictions like open_basedir?<br>
<br>
<div class="moz-signature">Bye, Mathias
<hr>
<font size="-1">
<a class="moz-txt-link-freetext" href="mailto:tds@tds-net.de">mailto:tds@tds-net.de</a><br>
</font>
<hr>
<font size="-1">
1+1=10<br>
You have a question? - 42 or RTFM.
</font>
</div>
<div class="moz-cite-prefix">Am 19.06.2015 um 07:16 schrieb ankur
chitranshi:<br>
</div>
<blockquote
cite="mid:CA+Pqw-4NcU=OuqyCMXaqYQE45jxAN1Ub5Vus9U_A-D+Oj7_6zw@mail.gmail.com"
type="cite">
<div dir="ltr">Dear,
<div><br>
</div>
<div> Still facing error....</div>
<div><br>
</div>
<div><br>
<b>Warning</b>: ms_newMapObj(): [MapServer Error]:
loadSymbol(): Parsing error near (position):(line 29) in <b>C:\ms4w\Apache\htdocs\bhopalf\index.php</b>
on line <b>18</b><br>
<br>
<b>Fatal error</b>: Uncaught exception 'MapScriptException'
with message 'Failed to open map file
"C:\ms4w\Apache\htdocs\bhopalf\mapFiles\khasra.map"' in
C:\ms4w\Apache\htdocs\bhopalf\index.php:18
Stack trace:
#0 C:\ms4w\Apache\htdocs\bhopalf\index.php(18):
ms_newMapObj('C:\ms4w\Apache\...')
#1 {main} thrown in <b>C:\ms4w\Apache\htdocs\bhopalf\index.php</b>
on line <b>18</b><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jun 19, 2015 at 9:45 AM, TDS <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:tds@tds-net.de" target="_blank">tds@tds-net.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
<br>
MapScript can't find the file. Try to use absolute path
instead of relative path, e.g.
/MyWorkingDir/mapFiles/khasra.map instead of
mapFiles/khasra.map. Check also that on linux/posix system
all is case sensitive.<br>
<br>
<div>Bye, TDS
<hr> <font size="-1"> <a moz-do-not-send="true"
href="mailto:tds@tds-net.de" target="_blank">mailto:tds@tds-net.de</a><br>
</font>
<hr> <font size="-1"> 1+1=10<br>
You have a question? - 42 or RTFM. </font> </div>
<div>
<div class="h5">
<div>Am 19.06.2015 um 06:13 schrieb ankur chitranshi:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">while updating map server version
5.2.3 to 6.0.3, i am facing bellow error,
<div><br>
</div>
<div><b>Warning</b>: ms_newMapObj(): [MapServer
Error]: msLoadMap(): (mapFiles/khasra.map) in <b>C:\ms4w\Apache\htdocs\bhopalf\index.php</b>
on line <b>26</b><br>
<br>
<b>Fatal error</b>: Uncaught exception
'MapScriptException' with message 'Failed to
open map file "mapFiles/khasra.map"' in
C:\ms4w\Apache\htdocs\bhopalf\index.php:26 Stack
trace: #0
C:\ms4w\Apache\htdocs\bhopalf\index.php(26):
ms_newMapObj('mapFiles/khasra...') #1 {main}
thrown in <b>C:\ms4w\Apache\htdocs\bhopalf\index.php</b>
on line <b>26</b></div>
<div><b><br>
</b></div>
<div><b>kindly help me</b></div>
<div><b><br>
</b></div>
<div><b>thanking you <br clear="all">
</b>
<div><br>
</div>
-- <br>
<div>thanks & regards<br>
Ankur Chitranshi<br>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
mapserver-users mailing list
<a moz-do-not-send="true" href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">thanks & regards<br>
Ankur Chitranshi<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>