[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-dev
Subject:    [mapserver-dev] R:  R: Re:  loadWeb(): Unknown identifier
From:       "francescoboccacci () libero ! it" <francescoboccacci () libero ! it>
Date:       2013-03-13 14:27:56
Message-ID: 19058822.466611363184876439.JavaMail.defaultUser () defaultHost
[Download RAW message or body]

Hi all,
any suggestion about POST problem?
I use Firebug and it seems that post parameters are passed in right way.

Thanks

Francesco


>----Messaggio originale----
>Da: francescoboccacci@libero.it
>Data: 10/03/2013 23.31
>A: <jmckenna@gatewaygeomatics.com>, <mapserver-dev@lists.osgeo.org>
>Ogg: [mapserver-dev] R: Re:  loadWeb(): Unknown identifier
>
>Hi Jeff,
>i tried to remove :
>
>'<input type="hidden"
>>name="map_web_imagepath" value="/var/www/mapserver/tmp/">
>
>
>
> <!-- MapServer Template -->
><html>
><head><title>MapServer Hello World</title></head>
><body>
><form method="GET" action="/cgi-bin/mapserv">
><input type="submit" value="Click Me">
><input type="hidden" name="map" value="/var/www/mapserver/hello.map">
></form>
><IMG SRC="[img]" width=400 height=300 border=0>
></body>
></html>
>
>
>and change method from POST to GET and it  works.
>If i use method POST it seems it doesn't works.
>
>
><!-- MapServer Template -->
><html>
><head><title>MapServer Hello World</title></head>
><body>
><form method="POST" action="/cgi-bin/mapserv">
><input type="submit" value="Click Me">
><input type="hidden" name="map" value="/var/www/mapserver/hello.map">
></form>
><IMG SRC="[img]" width=400 height=300 border=0>
></body>
></html>
>
>
>msOWSPreParseRequest(): OWS error. POST request is empty. 
>
>Any suggestions?
>
>Thanks
>
>Francesco
>
>
>
>>----Messaggio originale----
>>Da: jmckenna@gatewaygeomatics.com
>>Data: 10/03/2013 22.12
>>A: <mapserver-dev@lists.osgeo.org>
>>Ogg: Re: [mapserver-dev] loadWeb(): Unknown identifier
>>
>>On 2013-03-09 11:48 AM, francescoboccacci@libero.it wrote:
>>> during a test i receive the follow error:
>>> 
>>> loadWeb(): Unknown identifier. Parsing error near 
>(/var/www/mapserver/tmp/):
>>> (line 1) 
>>
>>I hit this issue very often.  Error line 1 is a sign that there is a
>>problem with the way the old CGI template is passing parameters to
>>mapserv.  This has to do with changes made to MapServer 5.0 in how to
>>pass parameters (give a good read to:
>>http://www.mapserver.org/cgi/controls.html#using-mapserver-version-5)
>>
>>You might try even removing your whole line '<input type="hidden"
>>name="map_web_imagepath" value="/var/www/mapserver/tmp/">' or changing
>>it to match the correct syntax.
>>
>>Happy sunny Sunday to all.
>>
>>-jeff
>>
>>-- 
>>Jeff McKenna
>>MapServer Consulting and Training Services
>>http://www.gatewaygeomatics.com/
>>
>>
>>
>>
>>_______________________________________________
>>mapserver-dev mailing list
>>mapserver-dev@lists.osgeo.org
>>http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>
>
>
>_______________________________________________
>mapserver-dev mailing list
>mapserver-dev@lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>


_______________________________________________
mapserver-dev mailing list
mapserver-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic