UPDATE albums SET hits = 1018 WHERE id = '4953'
執(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/albums.php on line 103
98.
$Item_cate = $libObj->find($conditions);
99.
100.
require("include/init_data.php"); //初始化數(shù)據(jù)
101.
102.
$conditions_news = array('id' =>$Item_appdata['id']);
103.
104.
$albumsObj->update($conditions_news,array('hits'=>$Item_appdata['hits']+1));
105.
/* start_expand */
106.
$expand_name = "照片集內(nèi)容前臺內(nèi)容顯示";
107.
$file = "albums_showdata";
108.
$expand_explain = "暫無";
- /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();