Hi Try to delete line <dataroot>$</dataroot> from you xml
-----Messaggio originale----- Da: Fco. Javier García Ricca [mailto:fjri...@gmail.com] Inviato: mercoledì 15 settembre 2010 9.16 A: pmapper-users@lists.sourceforge.net Oggetto: Re: [pmapper-users] problem with search tool Hello, I have managed to solve the problem by changing the location of the file php_errors.log and now everithing works correctly, even on file php_errors.log and pm_debug.log appear the following messages: [15-Sep-2010 08:47:51] P.MAPPER debug info Validation of search.xml file FAILED: <br /> <b>Warning</b>: DOMDocument::schemaValidate() [<a href='domdocument.schemavalidate'>domdocument.schemavalidate</a>]: Element 'dataroot': This element is not expected. Expected is ( searchitem ). in <b>/usr/local/apache/gis/pmapper-4.0.0/incphp/query/search.php</b> on line <b>69</b><br /> [15-Sep-2010 08:54:28] PHP Warning: DOMDocument::schemaValidate() [<a href='domdocument.schemavalidate'>domdocument.schemavalidate</a>]: Element 'dataroot': This element is not expected. Expected is ( searchitem ). in /usr/local/apache/gis/pmapper-4.0.0/incphp/query/search.php on line 69 [15-Sep-2010 08:54:28] Validation of search.xml file FAILED: <br /> <b>Warning</b>: DOMDocument::schemaValidate() [<a href='domdocument.schemavalidate'>domdocument.schemavalidate</a>]: Element 'dataroot': This element is not expected. Expected is ( searchitem ). in <b>/usr/local/apache/gis/pmapper-4.0.0/incphp/query/search.php</b> on line <b>69</b><br /> Someone might tell me that this error means. Thanks 2010/9/13 Fco. Javier García Ricca <fjri...@gmail.com> > Hello, > > I am working with pmapper 4.0.0 in Centos 5.5 and all tools work well > except teh search tool. > > I have defined three search options but when I select one of then fon't see > the combobox and the search button. In windows XP I have not this problem. > > I have included the search options in the config.xml > > <searchlist version="1.0"> > <dataroot>$</dataroot> > <searchitem name="tumbas1" description="Identificador"> > <layer type="shape" name="tumbas"> > <field type="s" name="IDENTIFICA" > description="Identificador" wildcard="2"> > <definition type="suggest" connectiontype="ms" > sort="asc" firstoption="-"> > <mslayer encoding="ISO-8859-1" > keyfield="IDENTIFICA" showfield="Identificador" /> > </definition> > </field> > </layer> > </searchitem> > <dataroot>$</dataroot> > <searchitem name="tumbas2" description="Nombre"> > <layer type="shape" name="tumbas"> > <field type="s" name="DENOMINACI" description="Nombre" > wildcard="2"> > <definition type="options" connectiontype="ms" > sort="asc" firstoption="Seleccionar...."> > <mslayer encoding="ISO-8859-1" > keyfield="DENOMINACI" showfield="DENOMINACI" /> > </definition> > </field> > </layer> > </searchitem> > <dataroot>$</dataroot> > <searchitem name="tumbas3" description="Tipologia"> > <layer type="shape" name="tumbas"> > <field type="s" name="TIPOLOGIA" description="Tipologia" > wildcard="1"> > <definition type="options" connectiontype="ms" > sort="asc" firstoption="Seleccionar...."> > <mslayer encoding="ISO-8859-1" keyfield="TIPOLOGIA" > showfield="TIPOLOGIA" /> > </definition> > </field> > </layer> > </searchitem> > </searchlist> > > > Any suggestions? > > > > > -- > FJRicca > <http://picasaweb.google.es/fjricca> > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users