never mind the previous email add "template void" solved the problem
---------- Forwarded message ---------- From: Tuku Man <[EMAIL PROTECTED]> Date: Jan 17, 2007 10:52 AM Subject: question about attribute query with 3.1 beta To: pmapper-users@lists.sourceforge.net Hi, I installed 3.1 beta with ms4w 2.2.1, browsing map is great, however, the query didn't work Here is my search.xml <?xml version='1.0'?> <!-- <?xml-stylesheet href="style.xsl" type="text/xsl" ?> --> <searchlist version="1.0"> <dataroot></dataroot> <searchitem name="metro" description="metro"> <layer type="shape" name="metro"> <field type="s" name="NAME" description="metro" wildcard="0" /> </layer> </searchitem> </searchlist> in Map file, under layer metro METADATA "DESCRIPTION" "metro" "RESULT_FIELDS" "NAME, TOTAL_POP" "RESULT_HEADERS" "name, Total_pop" "RESULT_HYPERLINK" "NAME" END the problem is that it always returns that "no records found", no error message can be found in errorphp.log or pm_debug.log Thanks for help! attached is the result from "visual source" of query information window <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Query Results</title> <script type="text/javascript" src="javascript/common.js"></script> <script type="text/javascript" src="javascript/sorttable.js"></script> <script type="text/javascript" src="javascript/custom.js"></script> <script type="text/javascript" src="javascript/pmjson.js"></script> <script type="text/javascript" src="javascript/tools.js"></script> <script type="text/javascript" src="javascript/xmlhttp.js"></script> <script type="text/javascript" src="javascript/dtree.js"></script> <script type="text/javascript" src="javascript/jquery/jquery-latest.pack.js"></script> <script type="text/javascript" src="javascript/jquery/jqpmapper.js"></script> <script type="text/javascript" src="javascript/jquery/dimensions.js"></script> <script type="text/javascript" src="incphp/js_custom.php?"></script> <script type="text/javascript"> var SID = ''; var resultJSON = 0; </script> <link rel="stylesheet" href="templates/default.css" type="text/css" /> <link rel="stylesheet" href="templates/query.css" type="text/css" /> <link rel="stylesheet" href="templates/dtree.css" type="text/css" /> </head> <body id="infoZone" onload="writeQResult(); window.focus(); ts_alignTables(); "> <div id="dtreequeryresult"></div> <div id="queryresult"></div> </body> </html> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users