DESCRIBE yt_qssz
执行错误: Table 'qdm204983195_db.yt_qssz' doesn't exist
- /usr/home/qxu1099130194/htdocs/include/mysqli.php on line 39
34.
$this->arrSql[] = $sql;
35.
if( $result = mysqli_query($this->conn,$sql) ){
36.
return $result;
37.
}else{
38.
if(mysqli_error($this->conn)!=''){
39.
40.
syError("{$sql}<br />执行错误: " . mysqli_error($this->conn));
}else{
41.
return TRUE;
42.
}
43.
}
44.
}
- /usr/home/qxu1099130194/htdocs/include/mysqli.php on line 8
3.
class db_mysqli {
4.
public $conn;
5.
public $arrSql;
6.
public function getArray($sql)
7.
{
8.
9.
if( ! $result = $this->exec($sql) )return array();
if( ! mysqli_num_rows($result) )return array();
10.
$rows = array();
11.
while($rows[] = mysqli_fetch_array($result,MYSQLI_ASSOC)){}
12.
mysqli_free_result($result);
13.
array_pop($rows);
- /usr/home/qxu1099130194/htdocs/include/mysqli.php on line 53
48.
return mysqli_affected_rows($this->conn);
49.
}
50.
51.
public function getTable($tbl_name)
52.
{
53.
54.
return $this->getArray("DESCRIBE {$tbl_name}");
}
55.
56.
public function __construct($dbConfig)
57.
{
58.
$this->conn = mysqli_connect($dbConfig['host'].":".$dbConfig['port'], $dbConfig['login'], $dbConfig['password']);
- /usr/home/qxu1099130194/htdocs/include/Functions.php on line 213
208.
209.
function syDB($tbl_name, $pk = null){
210.
$modelObj = syClass("syModel");
211.
$modelObj->tbl_name = (TRUE == $GLOBALS['G_DY']["db_spdb_full_tblname"]) ? $tbl_name : $GLOBALS['G_DY']['db']['prefix'] . $tbl_name;
212.
if( !$pk ){
213.
214.
@list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk = $pk['Field'];
}
215.
$modelObj->pk = $pk;
216.
return $modelObj;
217.
}
218.
- /usr/home/qxu1099130194/htdocs/source/article.php on line 74
69.
$this->positions.=' > <a href="'.html_url('classtype',$d_pos).'">'.$v['classname'].'</a>';
70.
}
71.
72.
//签收初始化
73.
$qssz_sql = "SELECT * from `yt_qssz` where `tid`=".$this->article['tid']." order by id asc";
74.
75.
$qssz_list=syDB("qssz")->findSql($qssz_sql);
//去除已签收项
76.
$i=0;
77.
foreach($qssz_list as $v){
78.
$result=syDB('qianshou')->find('qsid='.$v['id'].' and aid='.$this->article['id']);
79.
if($result){
- /usr/home/qxu1099130194/htdocs/include/Functions.php on line 16
11.
$handle_controller = syClass($__controller, null, $GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
12.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
13.
syError('route Error');
14.
exit;
15.
}
16.
17.
$handle_controller->$__action();
if(FALSE != $GLOBALS['G_DY']['view']['auto_display']){
18.
$__tplname = $__controller.$GLOBALS['G_DY']['view']['auto_display_sep'].
19.
$__action.$GLOBALS['G_DY']['view']['auto_display_suffix'];
20.
$handle_controller->auto_display($__tplname);
21.
}
- /usr/home/qxu1099130194/htdocs/index.php on line 6
1.
<?php
2.
3.
require("config.php");
4.
$yitongConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$yitongConfig['ext']['view_themes'];
5.
require(YITONG_PATH."/sys.php");
6.
spRun();