[mapserver-users] MapScriptException error

ankur chitranshi ankuriimt at gmail.com
Thu Jun 18 22:16:12 PDT 2015


Dear,

 Still facing error....


*Warning*: ms_newMapObj(): [MapServer Error]: loadSymbol(): Parsing error
near (position):(line 29) in *C:\ms4w\Apache\htdocs\bhopalf\index.php* on
line *18*

*Fatal error*: 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
*C:\ms4w\Apache\htdocs\bhopalf\index.php* on line *18*

On Fri, Jun 19, 2015 at 9:45 AM, TDS <tds at tds-net.de> wrote:

>  Hello,
>
> 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.
>
> Bye, TDS
> ------------------------------
>  mailto:tds at tds-net.de <tds at tds-net.de>
>  ------------------------------
>  1+1=10
> You have a question? - 42 or RTFM.
> Am 19.06.2015 um 06:13 schrieb ankur chitranshi:
>
> while updating map server version 5.2.3 to 6.0.3, i am facing bellow
> error,
>
>  *Warning*: ms_newMapObj(): [MapServer Error]: msLoadMap():
> (mapFiles/khasra.map) in *C:\ms4w\Apache\htdocs\bhopalf\index.php* on
> line *26*
>
> *Fatal error*: 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
> *C:\ms4w\Apache\htdocs\bhopalf\index.php* on line *26*
>
>  *kindly help me*
>
>
> *thanking you  *
>
>  --
> thanks & regards
> Ankur Chitranshi
>
>
> _______________________________________________
> mapserver-users mailing listmapserver-users at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>


-- 
thanks & regards
Ankur Chitranshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150619/2be3d353/attachment.html>


More information about the mapserver-users mailing list