<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">Hello everyone,</div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; "><br></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">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…</div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; "><br></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">1) created a VIEW (search_address) and seems to be good ? ( …searchstring_tsvector -> '1700':3 '27':2 'sterrenlan':1 )</div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; ">2) installed modules : <span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">python-wsgi,</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">psycopg2 and </span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">webob</span></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; "><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">3)</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">enable mod_wsgi as root but</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 17px; white-space: pre-wrap; "> </span><span style="font-family: Consolas; ">not with "a2enmod mod_wsgi"-> </span>ERROR: Module mod_wsgi does not exist!</div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; "><span style="font-family: Consolas; "> <span class="Apple-tab-span" style="white-space:pre"> </span> but with</span><span style="font-family: Consolas; ">"a2enmod wsgi" -> Module wsgi enabled</span></div><div><font face="Consolas"> Is there a difference between mod_wsgi and wsgi ?</font></div><div> 4) configure apache (mod_wsgi)</div><div>5) <span style="font-family: Consolas; ">file search.wsgi changed: </span><span style="font-family: Consolas; ">line18 searchtables = ['schemaname.search_address'];</span></div><div style="font-family: Consolas; "> <span class="Apple-tab-span" style="white-space:pre"> </span> line77 conn = psycopg2.connect("host?… My settings?.)</div><div style="font-family: Consolas; "><br></div><div style="font-family: Consolas; ">6) file GetSearchGeom.wsgi changed: Line22 conn = psycopg2.connect("host…? My settings?.)</div><div style="font-family: Consolas; "><br></div><div style="font-family: Consolas; ">7) file GlobalOptions.js changed:</div><div style="font-family: Consolas; "> var useGeoNamesSearchBox = false</div><div style="font-family: Consolas; "> var searchBoxQueryURL = "/path-to-my wsgi-scripts/wsgi/search.wsgi?query=";</div><div style="font-family: Consolas; "> var searchBoxGetGeomURL = "/path-to-my wsgi-scripts/wsgi/getSearchGeom.wsgi";</div><div><br></div><div>Anyone an idea what i am doing wrong ?</div><div><br></div><div>Thanks,</div><div>Geert Smet</div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; "><br></div><div><font face="Consolas"> </font></div></body></html>