Error Url:
file:///D:/www.dowexpo.com/dowexpo.com/shell/expo/product_view.xmls.config

Error Code:(8)
参数不匹配!

Error Description:
var:$get.productid#num:0

<function name="main" var="$get.productid#num:0" duration="0"><db name="row" method="row" sql="select * from cnproduct where productid=@productid;" /><db method="row" name="rowType" sql="select * from cnProductType where ProductType=@row.ProductType" /><if method="empty" value="@row"><response method="write">产品不存在!</response><end /></if><row method="out" key="*" ref="row" /><call name="Path" method="getPath" var="@row.CatalogID" /><response method="write" src="web/product_view.html" /></function>
<!--品牌显示-->
<function name="showBrand"><out method="map" sql="select BrandName from cnBrand where brandid=@row.BrandID" /></function>
<!--用户提问-->
<function name="showFaq" var="n,format,none"><db name="table" method="table" sql="select top @n * from vFaq where productid=@productid order by faqid desc" /><table name="out" method="foreach" format="format" ref="table" /><response method="write" value="@out" /><if method="equal" value="$var.table.rowsCount" compare="0"><response method="write" value="@none" /></if></function>
<!--热卖商品-->
<function name="tophot" var="n,format"><out method="list" sql="select top @n ProductName,ProductID,CurrentPrice,MarketPrice,CostPrice,Pic from cnProduct where TopHot&gt;0 and status&gt;0 order by TopHot desc,productid desc;" format="format" /></function>
<!--用户评论-->
<function name="showRate" var="n,format,none"><db name="table" method="table" sql="select top @n * from vrate order by rateid desc" /><table name="out" method="foreach" format="format" ref="table" /><response method="write" value="@out" /><if method="equal" value="$var.table.rowsCount" compare="0"><response method="write" value="@none" /></if></function>
<!--用户评分-->
<function name="showRateStar"><db name="rate_count" method="count" table="cnrate" where="productid=@productid" /><db name="rate_total" method="scalar" sql="select sum(ratestar) from cnrate where productid=@productid;" /><db name="rate_user" method="scalar" sql="select isnull(count(userid),0) from cnrate where productid=@productid;" /><if method="equal" value="@rate_count" compare="0"><then><var name="rate">0</var></then><else><math name="rate" method="eval" value="@rate_total \ @rate_count" /></else></if><response method="out" key="rate_star" value="@rate" /><response method="out" key="rate_user" value="@rate_user" /></function>
<!--用户评分-->
<function name="showFaqCount"><out method="scalar" sql="select count(*) from cnFaq where productid=@productid" /></function>
<!--显示规格-->
<function name="showSpec"><var name="index">-1</var><var name="format" type="format"><![CDATA[ <div class="spec"> <div class="spec_title">{#SpecName#}:<span class="spec_sel" id="spec_{#index#}">未选择</span></div> <div class="spec_list{#SpecType#}" id="speclist_{#index#}"> <script>showSpec('{#SpecName#}','{#Body#}','{#SpecType#}','{#grouplist#}','{#SpecValue#}','{#SpecKey#}')</script> </div></div>]]></var><if method="notEqual" value="@row.GroupID" compare="0"><db name="ProductGroup" method="table" sql="select * from cnGroupSpec where groupid=@row.GroupID" /></if><out method="list" format="format" sql="select * from vGroupSpec where ProductID=@row.ProductID" var="rowSpec"><if method="notEqual" value="@row.GroupID" compare="0"><table name="grouplist" method="format" ref="ProductGroup" select="SpecID=@rowSpec.SpecID">{#SpecValue#}|{#ProductID#},</table></if><math method="eval" value="@index+1" name="index" /></out></function>
<!--显示图片-->
<function name="listPic" var="picID,listID"><response method="write"><![CDATA[ <script>listPic('{#row.Pic2#}','{#picID#}','{#listID#}')</script> ]]></response></function>
<!--显示图片-->
<!--捆绑商品-->
<function name="showBundle" var="format"><db name="rowBundle" method="row" sql="select ProductName,Relation,MarketPrice,CurrentPrice from cnProduct where productid=@row.BundleID;" /><if method="notEmpty" value="@rowBundle"><out name="table" method="list" sql="select ProductName,CurrentPrice from cnProduct where productid in(@rowBundle.Relation);" key="bundle_list" /><response method="out" key="bundle_price" value="@rowBundle.CurrentPrice" /><response method="out" key="bundle_title" value="@rowBundle.ProductName" /><response method="out" key="bundle_market" value="@rowBundle.CurrentPrice" /></if></function>
<!--商品扩展-->
<function name="showAttr" var="format"><if method="notEmpty" value="@rowType"><string name="attr" method="append" /><row method="foreach" ref="rowType" key="Attr1,Attr2,Attr3,Attr4,Attr5,Attr6,Attr7,Attr8,Attr9" varKey="key" varValue="title"><if method="notEmpty" value="@title"><row name="value" method="get" key="@key" ref="row" /><string method="append" ref="attr" format="format" /></if></row><response method="write" value="@attr" /></if></function>
<!--商品提问-->
<function name="listfaq" var="n,format"><out method="list" sql="select top @n * from vFaq where status&gt;0 and ProductID=@row.ProductID order by FaqID desc" format="format" /></function>
<!--商品评论-->
<function name="listrate" var="n,format"><out method="list" sql="select top @n * from vRate where ProductID=@row.ProductID order by RateID desc" format="format" /></function>
<function name="getPath" var="catalogid"><db name="catalog" method="row" sql="select CatalogName,CatalogID,ParentID,Path from cnproductcls where catalogid=@catalogid" /><var name="CatalogName" ref="catalog.CatalogName" /><var name="catalogID" ref="catalog.ParentID" /><call method="catalogList" /><response method="out" key="path_link"><![CDATA[{#path_link#} <a href="{#~?xmls=product_list.xmls&catalogid={\#catalogid#\}#}">{#CatalogName#}</a> ]]></response><response method="out" key="path_text"><![CDATA[{#path_text#}{#CatalogName#}]]></response></function>
<sub name="catalogList"><db name="catalog" method="row" sql="select CatalogName,CatalogID,ParentID from cnproductcls where catalogid=@catalogID" /><if method="notEmpty" value="@catalog"><string method="format" name="path_link"><![CDATA[<a href="{#~?xmls=product_list.xmls&catalogid={\#catalog.CatalogID#\}#}">{#catalog.CatalogName#}</a> > {#path_link#}]]></string><string method="format" name="path_text"><![CDATA[{#catalog.CatalogName#}-{#path_text#}]]></string><var name="catalogID" ref="catalog.ParentID" /><call method="catalogList" /></if></sub>