Hello,
Mapserver is moaning about line 29, so does your symbol "foo" exists?
STYLE
SYMBOL "foo"
COLOR 255 0 0
END
e.g.:
SYMBOL
NAME "foo"
TYPE ellipse
FILLED true
POINTS
10 10
END
END
Bye, TDS
mailto:t.
hi
make changes, after your , suggestion ,still m facing bellow error
*Warning*: mapObj::draw(): [MapServer Error]: msDrawMap(): Failed to
draw layer named 'BASE'.
in *C:\ms4w\Apache\htdocs\bhopalf\index.php* on line *77*
*Warning*: mapObj::draw(): [MapServer Error]:
msPostGISLayerWhichShapes
yes sure,
in line 18 my code is
$map=ms_newMapObj('C:\ms4w\Apache\htdocs\bhopalf\mapFiles\khasra.map');
and my 'khasra.map ' file code follows
MAP
NAME "bhopal Map"
IMAGECOLOR 255 255 255
SIZE 1050 637
IMAGETYPE PNG
WEB
TEMPLATE "index.php"
IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp"
Hi,
can you post the lines in that file around line 18?
Has the file correct permissions and can Apache access that file - e.g.
no restrictions like open_basedir?
Bye, Mathias
mailto:t...@tds-net.de
--
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\Apach
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
--
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 ope