[Qgis-user] QGIS Web Client: Search keeps =?ISO-8859-1?B?TG9hZGluZ4o=?=.
Geert Smet
geert.smet at gmail.com
Thu May 23 08:05:12 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/36562fdd/attachment.html>
More information about the Qgis-user
mailing list