File:cn/productview.html
Method:query.scalar(columns,*where,*order)
連接超時時間已到。在嘗試使用預(yù)登錄握手確認(rèn)時超過了此超時時間。這可能是因為預(yù)登錄握手失敗或服務(wù)器未能及時響應(yīng)。 嘗試連接到此服務(wù)器時花費的持續(xù)時間是 - [Pre-Login] initialization=1;handshake=15397;
數(shù)據(jù)庫執(zhí)行錯誤
cn/xmls/product.xmls
...<span><a href="{~productview.html&gId=*Goodshao}"><img src="../files/goods/{*Goodshao}.gif" width="100" height="100" /> </a></span>"];
}
}
$if(@count==0){
@content=['<div style="color:#FF0000;font-size:12px;height:45px;line-height:45px;text-align:center;">對不起,愛瑪特生物暫無你需要的這個產(chǎn)品!</div>'];
@Pager=$empty;
}
$return($empty);
}
//查詢內(nèi)容
$sub GoodsDetails(){
@querygoods=$query(goods,goods);
@queryfile=$query(document,download);
@Goodshao=$http.get(gId);
@queryfile[Goodshao]=@Goodshao;
@FilePath=@queryfile.scalar(['FilePath'],['Goodshao={*Goodshao}']);
$if(@FilePath==$null){
@FilePath=$empty;
}
@querygoods[Goodshao]=@Goodshao;
@rowgoods=@querygoods.map(*,['Goodshao={*Goodshao}']);
@countmn=@querygoods.scalar(['count(*)'],['Goodshao={*Goodshao}']);
@listitemma=ma;
@Modified=$empty;
$if(@countmn==0){
@rowgoods=$map();
$write(['<script>history.back();</script>']);
$end;
}
$else{
@Modified=@rowgoods[Modified];
@Modified=$datetime.format(@Modified,yyyy-MM-dd);
@...