Hi!
I have just started my exploration in Mapserver on Windows platform with MS4W
package. I am using Bil Kropla's Mapserver book. When I worked out the first
example (of chapter 2), a simple example using mapserver in CGI-BIN mode, I get
the following error
loadWeb(): Unknown identifier. P
Hey Suresh,
Try changing relative path for WEB--END section.
ie ,
WEB
TEMPLATE "/ms4w/apache/htdocs/hello.html"
IMAGEPATH "/ms4w/apache/htdocs/tmp/"
IMAGEURL "/tmp/"
END
Also, I remember there should be something like hello_i.html file too.
Regards,
Ritesh
Suresh Nimbalkar
Well Suresh,
I just saw an error in your code.
Check this in your html code:
[img]
Here, [img] catches the name of generated image file. This image file
resides in tmp directory. So, you will have to give it a path. Something
like /tmp/[img]. Play around this.. you will ge
Well Suresh,
I just saw an error in your code.
Check this in your html code:
[img]
Here, [img] catches the name of generated image file. This image file
resides in tmp directory. So, you will have to give it a path. Something
like /tmp/[img]. Play around this.. you will get your answer.
Well Suresh,
I just saw an error in your code.
Check this in your html code:
[img]
Here, [img] catches the name of generated image file. This image file
resides in tmp directory. So, you will have to give it a path. Something
like /tmp/[img]. Play around this.. you will get your answe
There were changes in MapServer 5.0 that affects the way certain CGI
variables are passed, which must be affecting the example you are trying.
For a working example in MS4W of CGI MapServer, use the "MapServer Itasca
Demo Application" (
http://www.maptools.org/ms4w/index.phtml?page=downloads.html).