DESCRIBE cn_molds
執(zhí)行錯誤: Got error 28 from storage engine
- C:\wwwroot\rhsjzs.com\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 />執(zhí)行錯誤: " . mysql_error());
}else{
41.
return TRUE;
42.
}
43.
}
44.
}
- C:\wwwroot\rhsjzs.com\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);
- C:\wwwroot\rhsjzs.com\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';
- C:\wwwroot\rhsjzs.com\include\Functions.php on line 419
414.
415.
$modelObj->tbl_name = (TRUE == $GLOBALS['G_DY']["db_spdb_full_tblname"]) ? $tbl_name : $GLOBALS['G_DY']['db']['prefix'] . $tbl_name;
416.
417.
if( !$pk ){
418.
419.
420.
@list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk = $pk['Field'];
421.
}
422.
423.
$modelObj->pk = $pk;
424.
- C:\wwwroot\rhsjzs.com\include\Functions.php on line 911
906.
907.
//頻道信息獲取
908.
909.
function moldsinfo($molds,$q){
910.
911.
912.
$m=syDB('molds')->find(array('molds' => $molds),null,$q);
913.
return $m[$q];
914.
915.
}
916.
- C:\wwwroot\rhsjzs.com\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(){
- C:\wwwroot\rhsjzs.com\include\Functions.php on line 189
184.
185.
$argString = '';$comma = '';
186.
187.
if(null != $args)for ($i = 0; $i < count($args); $i ++) { $argString .= $comma . "\$args[$i]"; $comma = ', ';}
188.
189.
190.
eval("\$GLOBALS['G_DY']['inst_class'][\$class_name]= new \$class_name($argString);");
191.
return $GLOBALS['G_DY']["inst_class"][$class_name];
192.
193.
}
194.
- C:\wwwroot\rhsjzs.com\include\Functions.php on line 21
16.
17.
syClass('sysession');
18.
19.
spLaunch("router_prefilter");
20.
21.
22.
$handle_controller = syClass($__controller, null, $GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
23.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
24.
25.
syError('route Error');
26.
- C:\wwwroot\rhsjzs.com\index.php on line 5
1.
<?php
2.
require("config.php");
3.
$doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
4.
require(DOYO_PATH."/sys.php");
5.
spRun();