[Qgis-user] QGIS Web Client: search keeps loading...

Geert Smet geert.smet at gmail.com
Thu May 23 08:08:49 PDT 2013


Hello everyone,

I'm trying to set up QGIS Web Client on Ubuntu 12.04 but i have a problem
with the search bar on the upper right corner it keeps LOADINGŠ

1) created a VIEW (search_address) and  seems to be good  ? (
Šsearchstring_tsvector -> '1700':3 '27':2 'sterrenlan':1 )
2)  installed modules : python-wsgi,psycopg2 and webob
3)enable mod_wsgi as root but not with "a2enmod mod_wsgi"-> ERROR: Module
mod_wsgi does not exist!
   but with"a2enmod wsgi" -> Module wsgi enabled
  Is there a difference between mod_wsgi and wsgi ?
 4) configure apache (mod_wsgi)
5) file search.wsgi  changed: line18  searchtables =
['schemaname.search_address'];
        line77 conn = psycopg2.connect("host?Š My settings?.)

6) file GetSearchGeom.wsgi changed: Line22 conn = psycopg2.connect("hostŠ?
My settings?.)

7) file GlobalOptions.js changed:
  var useGeoNamesSearchBox = false
  var searchBoxQueryURL = "/path-to-my
wsgi-scripts/wsgi/search.wsgi?query=";
  var searchBoxGetGeomURL = "/path-to-my
wsgi-scripts/wsgi/getSearchGeom.wsgi";

Anyone an idea what i am doing wrong ?

Thanks,
Geert Smet


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130523/3305f4d4/attachment.html>


More information about the Qgis-user mailing list