<div dir="ltr">Hi. I am newbie with qgis web client.<span style="color:rgb(0,0,0);white-space:pre-wrap">I installed it on Ubuntu. </span><div><span style="color:rgb(0,0,0);white-space:pre-wrap">I am trying to enable php serach. This is steps what I do:</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">*****************************************************************************</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">1. In GlobalOptions.js I put this:</span></div><div><pre style="white-space:pre-wrap;overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;color:rgb(51,51,51)">var project_map = <i>Ext.urlDecode(window.location.search.substring(1)).map;
  var searchBoxQueryURL = '../php/search.php?map=' + project_map;
  var searchBoxGetGeomURL = '../php/search_geom.php?map=' + project_map;</i></pre><pre style="white-space:pre-wrap;overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;color:rgb(51,51,51)"><i><br></i></pre><pre style="white-space:pre-wrap;overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;color:rgb(51,51,51)">2. In /php/config.php file I put this:</pre><pre style="white-space:pre-wrap;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal"><pre style="white-space:pre-wrap;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal">  <i>#define('MAP_PATH_REWRITE', '/var/www/webclient/projects/ProjectParcel');
  // Append .qgs to the map name
  #define('MAP_PATH_APPEND_QGS', true);</i></pre><pre style="white-space:pre-wrap;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal"><br></pre><pre style="white-space:pre-wrap;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal"><pre style="white-space:pre-wrap;overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;margin-top:0px;margin-bottom:0px;font-stretch:normal"><i>  $searchlayers_config = array(
         'Parcel' => array(<br>              'search_column' => 'number'
      )
  );</i>
  
<i>  define('DEFAULT_SEARCH_LAYERS', 'Parcel');
  define('SEARCH_LIMIT', 100);</i></pre></pre><pre style="white-space:pre-wrap;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal"><br></pre><pre style="white-space:pre-wrap;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal">*****************************************************</pre><pre style="white-space:pre-wrap;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal">Now when I try to search I get the following in browser inspect:</pre><pre style="white-space:pre-wrap;font-size:10.4000005722046px;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal"><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:15px">xt-all-debug-w-comments.js:39775 GET <a href="http://localhost/parcels/webclient/php/search.php?map=" target="_blank">http://localhost/parcels/webclient/php/search.php?map=</a></span></font><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px">/var/www/webclient/projects/ProjectParcel</span><span style="font-size:15px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace">.qgs&searchtables=&query=75&cb=stcCallback1001 </span><br></pre><pre style="white-space:pre-wrap;font-size:10.4000005722046px;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal"><span style="font-size:15px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace"><br></span></pre><pre style="white-space:pre-wrap;font-size:10.4000005722046px;overflow:auto;margin-top:0px;margin-bottom:0px;font-stretch:normal">Where I am made mistake?</pre><div><br></div></pre></div></div>