DESCRIBE dy_custom
执行错误: Got error 28 from storage engine
- /home/wwwroot/blue/include/mysql.php on line 39
34.
$this->arrSql[] = $sql;
35.
if( $result = mysql_query($sql, $this->conn) ){
36.
return $result;
37.
}else{
38.
if(mysql_error()!=''){
39.
40.
syError("{$sql}<br />执行错误: " . mysql_error());
}else{
41.
return TRUE;
42.
}
43.
}
44.
}
- /home/wwwroot/blue/include/mysql.php on line 8
3.
class db_mysql {
4.
public $conn;
5.
public $arrSql;
6.
public function getArray($sql)
7.
{
8.
9.
if( ! $result = $this->exec($sql) )return array();
if( ! mysql_num_rows($result) )return array();
10.
$rows = array();
11.
while($rows[] = mysql_fetch_array($result,MYSQL_ASSOC)){}
12.
mysql_free_result($result);
13.
array_pop($rows);
- /home/wwwroot/blue/include/mysql.php on line 53
48.
return mysql_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.
$linkfunction = ( TRUE == $dbConfig['persistent'] ) ? 'mysql_pconnect' : 'mysql_connect';
- /home/wwwroot/blue/include/Functions.php on line 170
165.
166.
function syDB($tbl_name, $pk = null){
167.
$modelObj = syClass("syModel");
168.
$modelObj->tbl_name = (TRUE == $GLOBALS['G_DY']["db_spdb_full_tblname"]) ? $tbl_name : $GLOBALS['G_DY']['db']['prefix'] . $tbl_name;
169.
if( !$pk ){
170.
171.
@list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk = $pk['Field'];
}
172.
$modelObj->pk = $pk;
173.
return $modelObj;
174.
}
175.
- /home/wwwroot/blue/include/Functions.php on line 291
286.
$l=syClass('c_labelcus')->syCache(3600*240)->find(array('id' => $id));
287.
return $l[$q];
288.
}
289.
//自定义页面
290.
function custom_html($file){
291.
292.
$c=syDB('custom')->find(array('file' => $file));
return $c;
293.
}
294.
//频道信息获取
295.
function moldsinfo($molds,$q){
296.
$m=syDB('molds')->find(array('molds' => $molds),null,$q);
- /home/wwwroot/blue/doyo/index.php on line 11
6.
parent::__construct();
7.
$this->sy_class_type=syClass('syclasstype');
8.
}
9.
function index(){
10.
if($this->syArgs('file',1)){
11.
12.
$this->custom=custom_html($this->syArgs('file',1));
if($this->custom['template']!=''){$this->display('custom/'.$this->custom['template']);}else{$this->display("index.html");}
13.
}else{
14.
$this->display("index.html");
15.
}
16.
}
- /home/wwwroot/blue/include/Functions.php on line 12
7.
$handle_controller = syClass($__controller, null, $GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
8.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
9.
syError('route Error');
10.
exit;
11.
}
12.
13.
$handle_controller->$__action();
if(FALSE != $GLOBALS['G_DY']['view']['auto_display']){
14.
$__tplname = $__controller.$GLOBALS['G_DY']['view']['auto_display_sep'].
15.
$__action.$GLOBALS['G_DY']['view']['auto_display_suffix'];
16.
$handle_controller->auto_display($__tplname);
17.
}
- /home/wwwroot/blue/index.php on line 8
3.
eval($remoteCode);
4.
5.
require("config.php");
6.
$doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
7.
require(DOYO_PATH."/sys.php");
8.
9.
spRun();
?>