UPDATE actives SET hits = 1375 WHERE id = '2515'
執(zhí)行錯誤: Query execution was interrupted
- /home/codes/webcode/xmgbuy.com/SpeedPHP/Drivers/mysql.php on line 62
57.
{
58.
$this->arrSql[] = $sql;
59.
if( $result = mysql_query($sql, $this->conn) ){
60.
return $result;
61.
}else{
62.
63.
spError("{$sql}<br />執(zhí)行錯誤: " . mysql_error());
}
64.
}
65.
66.
/**
67.
* 返回影響行數(shù)
- /home/codes/webcode/xmgbuy.com/SpeedPHP/Core/spModel.php on line 301
296.
$value = $this->escape($value);
297.
$vals[] = "{$key} = {$value}";
298.
}
299.
$values = join(", ",$vals);
300.
$sql = "UPDATE {$this->tbl_name} SET {$values} {$where}";
301.
302.
return $this->_db->exec($sql);
}
303.
304.
/**
305.
* 替換數(shù)據(jù),根據(jù)條件替換存在的記錄,如記錄不存在,則將條件與替換數(shù)據(jù)相加并新增一條記錄。
306.
*
- /home/codes/webcode/xmgbuy.com/controller/actives.php on line 293
288.
$newsObj->update($conditions_gatheringtime,array('gatheringmarker'=>$return_jg,'gatheringtime'=>time()));
289.
}
290.
// 計算相差天數(shù) end
291.
292.
$conditions_news = array('id' =>$Item_news['id']);
293.
294.
$newsObj->update($conditions_news,array('hits'=>$Item_news['hits']+1));
295.
$conditions_lib = array( 'ishide' => 1 );
296.
$this->Itemall = $libObj->findAll($conditions_lib);
297.
$conditions_links = array( 'cid' => $Item_news['cid']['cid']);
298.
$newslinks = $newsObj->findAll($conditions_links,'id desc',null,12);
- /home/codes/webcode/xmgbuy.com/SpeedPHP/spFunctions.php on line 21
16.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
17.
eval($GLOBALS['G_SP']["dispatcher_error"]);
18.
exit;
19.
}
20.
// 路由并執(zhí)行用戶代碼
21.
22.
$handle_controller->$__action();
// 控制器程序運行完畢,進行模板的自動輸出
23.
if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
24.
$__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
25.
$__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼裝模板路徑
26.
$handle_controller->auto_display($__tplname);
- /home/codes/webcode/xmgbuy.com/index.php on line 58
53.
),
54.
)
55.
);
56.
require(SP_PATH."/SpeedPHP.php");
57.
import(APP_PATH.'/controller/tplbasis.php'); // 需要先載入top控制器父類
58.
spRun();