DESCRIBE dy_molds
执行错误: Can't create/write to file '/tmp/#sql_51a_0.MYI' (Errcode: 28)
- /www/web/jeeback_com/public_html/include/mysql.php on line 42
37.
if( $result = mysql_query($sql, $this->conn) ){
38.
return $result;
39.
}else{
40.
if(mysql_error()!=''){
41.
42.
43.
syError("{$sql}<br />执行错误: " . mysql_error());
}else{
44.
return TRUE;
45.
}
46.
}
47.
}
- /www/web/jeeback_com/public_html/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);
- /www/web/jeeback_com/public_html/include/mysql.php on line 56
51.
return mysql_affected_rows($this->conn);
52.
}
53.
54.
public function getTable($tbl_name)
55.
{
56.
57.
return $this->getArray("DESCRIBE {$tbl_name}");
}
58.
59.
public function __construct($dbConfig)
60.
{
61.
$linkfunction = ( TRUE == $dbConfig['persistent'] ) ? 'mysql_pconnect' : 'mysql_connect';
- /www/web/jeeback_com/public_html/include/Functions.php on line 479
474.
475.
$modelObj->tbl_name = (TRUE == $GLOBALS['G_DY']["db_spdb_full_tblname"]) ? $tbl_name : $GLOBALS['G_DY']['db']['prefix'] . $tbl_name;
476.
477.
if( !$pk ){
478.
479.
480.
@list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk = $pk['Field'];
481.
}
482.
483.
$modelObj->pk = $pk;
484.
- /www/web/jeeback_com/public_html/include/Functions.php on line 975
970.
971.
//频道信息获取
972.
973.
function moldsinfo($molds,$q){
974.
975.
976.
$m=syDB('molds')->find(array('molds' => $molds),null,$q);
977.
return $m[$q];
978.
979.
}
980.
- /www/web/jeeback_com/public_html/source/product.php on line 8
3.
class product extends syController
4.
{
5.
function __construct(){
6.
parent::__construct();
7.
$this->molds = 'product';
8.
9.
$this->moldname=moldsinfo('product','moldname');
$this->sy_class_type=syClass('syclasstype');
10.
$this->Class=syClass('c_product');
11.
$this->db=$GLOBALS['G_DY']['db']['prefix'].'product';
12.
}
13.
function index(){
- /www/web/jeeback_com/public_html/include/Functions.php on line 247
242.
243.
$argString = '';$comma = '';
244.
245.
if(null != $args)for ($i = 0; $i < count($args); $i ++) { $argString .= $comma . "\$args[$i]"; $comma = ', ';}
246.
247.
248.
eval("\$GLOBALS['G_DY']['inst_class'][\$class_name]= new \$class_name($argString);");
249.
return $GLOBALS['G_DY']["inst_class"][$class_name];
250.
251.
}
252.
- /www/web/jeeback_com/public_html/include/Functions.php on line 79
74.
75.
syClass('sysession');
76.
77.
spLaunch("router_prefilter");
78.
79.
80.
$handle_controller = syClass($__controller, null, $GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
81.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
82.
83.
syError('route Error');
84.