Hi....<div><br></div><div>I found the problem....</div><div><br></div><div>The qgis-web-client has a URL parameter for SRS=EPSG:900913</div><div><br></div><div>and the URL of the How To install define it like SRS=EPSG:4326</div>

<div><br></div><div>The SRS of my projects is EPSG:22523</div><div><br></div><div>So, i changed this parameter in the URL of the GetMap and I got a Map :D</div><div><br></div><div>My URL now is: 
<a href="http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?map=c:\projetos\censo.qgs&LAYERS=censo_2010&FORMAT=image/png&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG:22523&WIDTH=700&HEIGHT=1000&BBOX=174575.63035781,8246018.1303578,194419.36964219,8265861.8696422">http://localhost/qgis/qgis_mapserv.fcgi.exe?map=c:\projetos\censo.qgs&LAYERS=censo_2010&<b>FORMAT=image/png</b>&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&<b>SRS=EPSG:22523</b>&WIDTH=700&HEIGHT=1000&BBOX=174575.63035781,8246018.1303578,194419.36964219,8265861.8696422</a> <br>

<br><br>So, I have to change FORMAT=image/jpeg to FORMAT=image/png  (to solve the erro 500)</div><div>and SRS=EPSG:4326 to
SRS=EPSG:22523  (to show the map) </div><div><br></div><div><br></div><div>But, the map is shown in a little space. I think that's because the BBOX parameter, that's right?</div><div><br></div><div>Another new problem.... Which js file in the qgis-web-client  must I work to change the 
SRS parameter?</div><div><br></div><div><br></div><div>In the GlobalOptions.js I changed </div><div><br></div><div><i>var overviewLayer = new OpenLayers.Layer.WMS("Pixelkarte","/cgi-bin/mapserv?map=/path-to-map/.map",{layers:"pk_kombiniert",<b><u>format:"image/jpeg</u>"</b>},  {buffer:0,singleTile:true,transitionEffect:"resize"});</i></div>

<div><br></div><div>To <i>var overviewLayer = new OpenLayers.Layer.WMS("Pixelkarte","/cgi-bin/mapserv?map=/path-to-map/.map",{layers:"pk_kombiniert",<b><u>format:"image/png</u></b>"},  {buffer:0,singleTile:true,transitionEffect:"resize"})</i>; </div>

<div><br></div><div>and solve the erro 500 problem... But I didn't find where change the SRS parameter....</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Mon, Jun 25, 2012 at 11:19 AM, Till Adams <span dir="ltr"><<a href="mailto:adams@terrestris.de" target="_blank">adams@terrestris.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
looks like a problem with your qgis-project.<br>
<br>
Did you use relative paths to the data?<br>
<br>
Maybe it's better to start with one layer with a simple symbol for<br>
testing whether any map will come out and then go to your "real"<br>
project's data.<br>
<br>
Also do not use complex classification first - this drives you to a<br>
step-by-step setup of your webmap, where you test every step and as long<br>
as you see the map, everything is all right ...<br>
<br>
!!! And be aware of browser's cache which could be awful if you do not<br>
see any changes in your map.<br>
<br>
In this case vary the request e.g. by varying the bbox-param a little<br>
bit. so that he browser can't just take the same image out of his cache ;-)<br>
<br>
Have fun,<br>
<br>
Till<br>
<div class="im"><br>
<br>
<br>
On 25.06.2012 16:12, Kadu Machado wrote:<br>
> Hi Till,,<br>
><br>
> thanks for your attention...<br>
><br>
> I followed your Windows How To install.. Actually, it oriented me to<br>
> install the Qgis Server.... After I successful got the GetCapabilities,<br>
> I installed the qgis-web-client without try the getMap...<br>
><br>
> After i've seen your mail, i tried do just like you said... I tried the<br>
> getmap before using QGIS-client....<br>
><br>
> So, I tried this<br>
> URL: <a href="http://localhost/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:4326&REQUEST=GetMap&map=c:/projetos/censo.qgs&BBOX=-36.215710,6.817432,-9.700450,58.551008&WIDTH=500&HEIGHT=1000&LAYERS=censo_2010&FORMAT=image/png" target="_blank">http://localhost/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:4326&REQUEST=GetMap&map=c:/projetos/censo.qgs&BBOX=-36.215710,6.817432,-9.700450,58.551008&WIDTH=500&HEIGHT=1000&LAYERS=censo_2010&FORMAT=image/png</a><br>


</div>> <<a href="http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:4326&REQUEST=GetMap&map=c:/projetos/censo.qgs&BBOX=-36.215710,6.817432,-9.700450,58.551008&WIDTH=500&HEIGHT=1000&LAYERS=censo_2010&FORMAT=image/png" target="_blank">http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:4326&REQUEST=GetMap&map=c:/projetos/censo.qgs&BBOX=-36.215710,6.817432,-9.700450,58.551008&WIDTH=500&HEIGHT=1000&LAYERS=censo_2010&FORMAT=image/png</a>><br>


<div class="im">><br>
> I'm sure that the project name and layers are correct.<br>
><br>
> This URL gives me no error in apache log or in Console of the<br>
> Development tools of Google Chrome... However, gives me no maps either...<br>
><br>
><br>
> I've noticed that the qgis-client was calling this<br>
> url: <a href="http://localhost/qgis/qgis_mapserv.fcgi.exe?map=c" target="_blank">http://localhost/qgis/qgis_mapserv.fcgi.exe?map=c</a>:\projetos\redes.qgs&LAYERS=pk_kombiniert&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=174575.63035781,8246018.1303578,194419.36964219,8265861.8696422&WIDTH=300&HEIGHT=300<br>


</div>> <<a href="http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?map=c" target="_blank">http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?map=c</a>:\projetos\redes.qgs&LAYERS=pk_kombiniert&FORMAT=image/png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=174575.63035781,8246018.1303578,194419.36964219,8265861.8696422&WIDTH=300&HEIGHT=300><br>


<div class="im">><br>
> If I change the FORMAT=image/jpeg for FORMAT=image/png the error 500 is<br>
> solved, but the map is not shown....<br>
><br>
><br>
> I'm using the Apache/2.2.14 (Win32) mod_fcgid/2.3.6 configured<br>
> Server built: Sep 28 2009 22:41:08<br>
><br>
> Any other Idea?<br>
><br>
> Regards,<br>
><br>
> Kadu<br>
><br>
> On Mon, Jun 25, 2012 at 9:18 AM, Till Adams <<a href="mailto:adams@terrestris.de">adams@terrestris.de</a><br>
</div><div><div class="h5">> <mailto:<a href="mailto:adams@terrestris.de">adams@terrestris.de</a>>> wrote:<br>
><br>
>     Dear Kadu,<br>
><br>
>     this looks like an installation problem of your qgis-server as it is not<br>
>     able to deliver a map on a getmap-request. The labels and so are drawn<br>
>     by OpenLayers, the core of the QGIS client.<br>
><br>
><br>
>     It's easier to test the pure qgis-server installation first and try via<br>
>     the getmap request, before using QGIS-client as you have less<br>
>     dependencies.<br>
><br>
>     I tried my best for a windows-install howto, look here:<br>
><br>
>     <a href="http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial#Windows" target="_blank">http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial#Windows</a><br>
><br>
>     I would suggest to check this first.<br>
><br>
>     Regards, Till<br>
><br>
><br>
><br>
>     On 25.06.2012 14:12, Kadu Machado wrote:<br>
>     > Hi folks....<br>
>     ><br>
>     > I have a little issue with Qgis WebClient over Windows....<br>
>     ><br>
>     > When I access the qgis web client, the layers and labels are<br>
>     loaded and<br>
>     > are showed normally, but the map dont.... After the message<br>
>     loading map,<br>
>     > the map just dont open. The frame is still blank.<br>
>     ><br>
>     > I notice that a Internal Error 500 occour:<br>
>     ><br>
>     >  1. GET<br>
>     ><br>
>     <a href="http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?map=c" target="_blank">http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?map=c</a>:\projetos\redes.qgs&LAYERS=pk_kombiniert&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=174575.63035781,8246018.1303578,194419.36964219,8265861.8696422&WIDTH=300&HEIGHT=300<br>


>     ><br>
>     <<a href="http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?map=c:%5Cprojetos%5Credes.qgs&LAYERS=pk_kombiniert&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=174575.63035781,8246018.1303578,194419.36964219,8265861.8696422&WIDTH=300&HEIGHT=300" target="_blank">http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?map=c:%5Cprojetos%5Credes.qgs&LAYERS=pk_kombiniert&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=174575.63035781,8246018.1303578,194419.36964219,8265861.8696422&WIDTH=300&HEIGHT=300</a><br>


>     <<a href="http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?map=c:%5Cprojetos%5Credes.qgs&LAYERS=pk_kombiniert&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=174575.63035781,8246018.1303578,194419.36964219,8265861.8696422&WIDTH=300&HEIGHT=300" target="_blank">http://srv-vibgeo01/qgis/qgis_mapserv.fcgi.exe?map=c:%5Cprojetos%5Credes.qgs&LAYERS=pk_kombiniert&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=174575.63035781,8246018.1303578,194419.36964219,8265861.8696422&WIDTH=300&HEIGHT=300</a>>><br>


>     >     500 (Internal Server Error) OpenLayers.js:1000<br>
>     >     <<a href="http://srv-vibgeo01/maps/libs/openlayers/OpenLayers.js" target="_blank">http://srv-vibgeo01/maps/libs/openlayers/OpenLayers.js</a>><br>
>     ><br>
>     ><br>
>     > Anyone has some ideia how to solve this problem???<br>
>     ><br>
>     ><br>
>     > --<br>
>     > "Quem quer fazer alguma coisa, encontra um meio. Quem não quer fazer<br>
>     > nada, encontra uma desculpa."<br>
>     > (Roberto Shinyashiki)<br>
>     ><br>
>     ><br>
>     > _______________________________________________<br>
>     > Qgis-user mailing list<br>
</div></div>>     > <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a> <mailto:<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>><br>
<div class="im">>     > <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
>     --<br>
><br>
><br>
>     --> GO Mobile - jetzt WebGIS auch auf Smartphones <--<br>
>           ! Achtung - terrestris hat eine neue Adresse !<br>
><br>
>     ---------------------------------------------------------<br>
>     terrestris GmbH & Co. KG<br>
>     Puetzchens Chaussee 56<br>
>     53227 Bonn<br>
>     Germany<br>
><br>
>     Till Adams<br>
>     Geschaeftsfuehrung<br>
><br>
>     Tel:            <a href="tel:%2B49%20%280%29228%20%2F%20962%20899-52" value="+4922896289952">+49 (0)228 / 962 899-52</a><br>
</div>>     <tel:%2B49%20%280%29228%20%2F%20962%20899-52><br>
>     Mobile: <a href="tel:%2B49%20%280%29151%20%2F%2025394429" value="+4915125394429">+49 (0)151 / 25394429</a> <tel:%2B49%20%280%29151%20%2F%2025394429><br>
<div class="im">>     Fax:            <a href="tel:%2B49%20%280%29228%20%2F%20962%20899-57" value="+4922896289957">+49 (0)228 / 962 899-57</a><br>
</div>>     <tel:%2B49%20%280%29228%20%2F%20962%20899-57><br>
><br>
>     <a href="mailto:adams@terrestris.de">adams@terrestris.de</a> <mailto:<a href="mailto:adams@terrestris.de">adams@terrestris.de</a>><br>
<div class="im">>     <a href="http://www.terrestris.de" target="_blank">http://www.terrestris.de</a><br>
>     Amtsgericht Bonn, HRA 6835<br>
>     ---------------------------------------------------------<br>
><br>
>     Komplementaerin:<br>
><br>
>     terrestris Verwaltungs GmbH<br>
><br>
>     vertreten durch:<br>
>     Hinrich Paulsen, Till Adams<br>
>     _______________________________________________<br>
>     Qgis-user mailing list<br>
</div>>     <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a> <mailto:<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>><br>
<div class="im HOEnZb">>     <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
><br>
><br>
><br>
> --<br>
> "Quem quer fazer alguma coisa, encontra um meio. Quem não quer fazer<br>
> nada, encontra uma desculpa."<br>
> (Roberto Shinyashiki)<br>
<br>
</div><div class="HOEnZb"><div class="h5">--<br>
<br>
<br>
--> GO Mobile - jetzt WebGIS auch auf Smartphones <--<br>
       ! Achtung - terrestris hat eine neue Adresse !<br>
<br>
---------------------------------------------------------<br>
terrestris GmbH & Co. KG<br>
Puetzchens Chaussee 56<br>
53227 Bonn<br>
Germany<br>
<br>
Till Adams<br>
Geschaeftsfuehrung<br>
<br>
Tel:            <a href="tel:%2B49%20%280%29228%20%2F%20962%20899-52" value="+4922896289952">+49 (0)228 / 962 899-52</a><br>
Mobile: <a href="tel:%2B49%20%280%29151%20%2F%2025394429" value="+4915125394429">+49 (0)151 / 25394429</a><br>
Fax:            <a href="tel:%2B49%20%280%29228%20%2F%20962%20899-57" value="+4922896289957">+49 (0)228 / 962 899-57</a><br>
<br>
<a href="mailto:adams@terrestris.de">adams@terrestris.de</a><br>
<a href="http://www.terrestris.de" target="_blank">http://www.terrestris.de</a><br>
Amtsgericht Bonn, HRA 6835<br>
---------------------------------------------------------<br>
<br>
Komplementaerin:<br>
<br>
terrestris Verwaltungs GmbH<br>
<br>
vertreten durch:<br>
Hinrich Paulsen, Till Adams<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>"Quem quer fazer alguma coisa, encontra um meio. Quem não quer fazer nada, encontra uma desculpa." <br>(Roberto Shinyashiki)<br>
</div>