[mapserver-users] cgi-error: End of script output before headers mapserv

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Jan 22 07:55:19 PST 2020


Next I recommend upgrading to the latest stable release: MapServer 
7.4.3, GDAL 2.4.4, PROJ 5.2.0

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/




On 2020-01-22 11:51 a.m., Johannes Paul wrote:
> Yes no warnings in my GetCap...
> 
> Le mer. 22 janv. 2020 à 16:43, Jeff McKenna 
> <jmckenna at gatewaygeomatics.com <mailto:jmckenna at gatewaygeomatics.com>> a 
> écrit :
> 
>     and you removed all "WARNING" messages from your GetCapabilities
>     response?
> 
>     -jeff
> 
> 
>     -- 
>     Jeff McKenna
>     MapServer Consulting and Training Services
>     https://gatewaygeomatics.com/
> 
> 
>     On 2020-01-22 11:28 a.m., Johannes Paul wrote:
>      > Thanks for your help.
>      > 1. the mapserv cgi command line gave me a proper png (./mapserv -nh
>      >
>     "QUERY_STRING=map=/var/www/html/osm-transp-en-default.map&mode=map" >
>      > /tmp/test.png)
>      > 2. i turned on CPL_DEBUG in my mapfile but it doesn't help
>      > 3. i ran : shp2img -m /var/www/html/osm-transp-en-default.map -o
>      > /tmp/test.png -all_debug 5 -e -9.1433 38.7460 -9.1406 38.7487 &>
>      > /tmp/shp2img_log.txt
>      > and it looks fine to me...
>      >
>      >
>      > On Wed, 22 Jan 2020 at 15:28, Jeff McKenna
>      > <jmckenna at gatewaygeomatics.com
>     <mailto:jmckenna at gatewaygeomatics.com>
>     <mailto:jmckenna at gatewaygeomatics.com
>     <mailto:jmckenna at gatewaygeomatics.com>>>
>      > wrote:
>      >
>      >     The more tests the better :)
>      >
>      >     -jeff
>      >
>      >
>      >
>      >     On 2020-01-22 10:21 a.m., Jörg Thomsen (WhereGroup) wrote:
>      >      > Hello Jeff,
>      >      >
>      >      > is shp2img exactly the same as mapserv? (My thought was to use
>      >     the same
>      >      > executable the webserver calls)
>      >      >
>      >      > Jo,
>      >      > did you get a proper result (image) from your command line
>      >     request? the
>      >      > 'error'-messages look quite OK.
>      >      >
>      >      > Jörg
>      >      >
>      >      >
>      >      > Am 22.01.20 um 15:12 schrieb Jeff McKenna:
>      >      >> Hi Jo,
>      >      >>
>      >      >> Are you passing the problem extents to the shp2img utility?
>      >     Such as:
>      >      >>
>      >      >>    shp2img -m osm-transp-en-default.map -e -9.1433
>     38.7460 -9.1406
>      >      >> 38.7487 -o ttt.png -all_debug 5
>      >      >>
>      >      >> If that doesn't help, then I would start from the beginning:
>      >     execute a
>      >      >> GetCapabilities request and make sure you remove all
>     "WARNING"
>      >     messages.
>      >      >>
>      >      >> -jeff
>      >      >>
>      >      >>
>      >      >>
>      >      >
>      >      >
>      >      > Viele Grüße,
>      >      > Jörg Thomsen
>      >      >
>      >
>      >
> 
> 
>     _______________________________________________
>     mapserver-users mailing list
>     mapserver-users at lists.osgeo.org <mailto:mapserver-users at lists.osgeo.org>
>     https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 



More information about the mapserver-users mailing list