<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv1152267089"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div id="yiv1152267089yui_3_7_2_18_1365095422078_39"><div id="yiv1152267089yui_3_7_2_18_1365095422078_39"><font id="yiv1152267089yui_3_7_2_18_1365095422078_67" face="times new roman, new york, times, serif">Hello,</font></div><div id="yiv1152267089yui_3_7_2_18_1365095422078_39" style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" class="yiv1152267089yui_3_7_2_18_1365095422078_70"><font id="yiv1152267089yui_3_7_2_18_1365095422078_108"><br></font></div><div id="yiv1152267089yui_3_7_2_18_1365095422078_39" style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;font-family:'times new roman', 'new york', times, serif;"
 class="yiv1152267089yui_3_7_2_18_1365095422078_70"><font id="yiv1152267089yui_3_7_2_18_1365095422078_69">I'm exibiting a similar problem as <a rel="nofollow" target="_blank" href="http://lists.osgeo.org/pipermail//qgis-user/2012-November/020395.html" id="yiv1152267089yui_3_7_2_18_1365095422078_86">here.</a></font></div><div id="yiv1152267089yui_3_7_2_18_1365095422078_39" style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" class="yiv1152267089yui_3_7_2_18_1365095422078_70">I have installed qgis-server and desktop 1.9 on ubuntu and <span style="background-color:transparent;">WMS output using postgis as data source does not work.</span></div><div id="yiv1152267089yui_3_7_2_18_1365095422078_39" style="color:rgb(0, 0, 0);font-size:16px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal;" class="yiv1152267089yui_3_7_2_18_1365095422078_75">Qgis desktop displays both
 projects just fine (database user & pass included in .qgs file).</div><div id="yiv1152267089yui_3_7_2_18_1365095422078_39" style="color:rgb(0, 0, 0);font-size:16px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal;" class="yiv1152267089yui_3_7_2_18_1365095422078_75">I have struggled all day and I could not find any solution.</div><div id="yiv1152267089yui_3_7_2_18_1365095422078_39" style="color:rgb(0, 0, 0);font-size:16px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal;" class="yiv1152267089yui_3_7_2_18_1365095422078_75">The projection is the same for .shp file and for the db, the layer name is the same, everything the same except data source.<br><br>#shp_test request displays well<br>http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/<span style="font-weight:
 bold;">shp_test</span>/world.qgs&&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=386548,331824,464924,455610&CRS=EPSG:3844&WIDTH=512&HEIGHT=512&LAYERS=aglomerari&STYLES=&FORMAT=image/png&TRANSPARENT=TRUE<br><br>#postgis_test request that <span style="font-weight: bold;">only displays white image</span><br>http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/<span style="font-weight: bold;">postgis_test</span>/world.qgs&&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=386548,331824,464924,455610&CRS=EPSG:3844&WIDTH=512&HEIGHT=512&LAYERS=aglomerari&STYLES=&FORMAT=image/png&TRANSPARENT=TRUE<br><br>#postgis_test getcapabilities <span style="font-weight: bold;">is clearly bad</span><br><br><Layer
 queryable="1"><Name>world</Name><Title>world</Title><CRS>EPSG:3844</CRS><EX_GeographicBoundingBox><westBoundLongitude>19.0326</westBoundLongitude><eastBoundLongitude>19.0326</eastBoundLongitude><southBoundLatitude>41.3392</southBoundLatitude><northBoundLatitude>41.3392</northBoundLatitude></EX_GeographicBoundingBox><BoundingBox CRS="EPSG:3844" maxx="0" minx="0" maxy="0" miny="0"/></Layer></Capability></WMS_Capabilities><Layer
 queryable="1"><Name>world</Name><Title>world</Title><CRS>EPSG:3844</CRS><EX_GeographicBoundingBox><westBoundLongitude>19.0326</westBoundLongitude><eastBoundLongitude>19.0326</eastBoundLongitude><southBoundLatitude>41.3392</southBoundLatitude><northBoundLatitude>41.3392</northBoundLatitude></EX_GeographicBoundingBox><BoundingBox CRS="EPSG:3844" maxx="0" minx="0" maxy="0" miny="0"/></Layer></Capability></WMS_Capabilities><br><br><br>#shp_test getcapabilities is looks good and the wms output is allright<br><br><Layer
 queryable="1"><Name>world</Name><Title>world</Title><CRS>EPSG:3844</CRS><EX_GeographicBoundingBox><westBoundLongitude>23.5737</westBoundLongitude><eastBoundLongitude>24.5504</eastBoundLongitude><southBoundLatitude>44.4856</southBoundLatitude><northBoundLatitude>45.5916</northBoundLatitude></EX_GeographicBoundingBox><BoundingBox CRS="EPSG:3844" maxx="464241" minx="388712" maxy="454717" miny="332694"/><Layer queryable="1"><Name>aglomerari</Name><Title>aglomerari</Title><CRS>EPSG:3844</CRS><EX_GeographicBoundingBox><westBoundLongitude>23.5737</westBoundLongitude><eastBoundLongitude>24.5504</eastBoundLongitude><southBoundLatitude>44.4856</southBoundLatitude><northBoundLatitude>45.5916</northBoundLatitude></EX_GeographicBoundingBox><BoundingBox
 CRS="EPSG:3844" maxx="464241" minx="388712" maxy="454717" miny="332694"/><Style><Name>default</Name><Title>default</Title></Style></Layer></Layer></Capability></WMS_Capabilities><br><br></div><div id="yiv1152267089yui_3_7_2_18_1365095422078_39" style="color:rgb(0, 0, 0);font-size:16px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal;" class="yiv1152267089yui_3_7_2_18_1365095422078_75"><br>What could be the problem?<br>Thanks in advance,<br>Best regards,<br>Tudor<br><br></div><div id="yiv1152267089yui_3_7_2_18_1365095422078_39" style="color:rgb(0, 0, 0);font-size:16px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal;" class="yiv1152267089yui_3_7_2_18_1365095422078_75"><br></div></div></div></div></div></div></body></html>