more on "premature end of script header" error
Jeff Portwine
jdport at VERITIME.COM
Tue Jan 4 07:59:30 PST 2005
I've been working through the tutorial files that I downloaded from http://terrasip.gis.umn.edu/projects/tutorial. I was able to work with all of the first examples, but I started getting the "premature script header: mapserv" errors when I got to example 2-1.
If I use the shp2img program to try to create a map from the .map files, I find that it also works up through example 1-8, but if I try it on example 2-1 it crashes (I get a windows pop up box saying that the program has encountered a problem and needs to close whether I run the mapserv cgi or I run shp2img on the mapfile). Running the mapserv CGI leaves the "premature script header" error in my web logs, running shp2img gives me no further error message.
I'm posting the two map files, one working, one not working... maybe somebody has an idea of what is causing the crash and how I might fix it...
The map files are exactly out of the tutorials with the exception of changing some pathnames to match my system's web root, etc.
Thanks so much for any suggestions, and thanks for the suggetions you've all already offered.
Regards,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050104/3553c15c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example1-8.map
Type: application/octet-stream
Size: 3613 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050104/3553c15c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example2-1.map
Type: application/octet-stream
Size: 6539 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050104/3553c15c/attachment-0001.obj>
More information about the MapServer-users
mailing list