DESCRIBE kh_molds
执行错误: Got error 28 from storage engine
- D:\website67\bschengk\web\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. 
    }
- D:\website67\bschengk\web\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);
- D:\website67\bschengk\web\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';
- D:\website67\bschengk\web\include\Functions.php on line 210
205. 
206. 
function syDB($tbl_name, $pk = null){
207. 
    $modelObj = syClass("syModel");
208. 
    $modelObj->tbl_name = (TRUE == $GLOBALS['G_DY']["db_spdb_full_tblname"]) ? $tbl_name :    $GLOBALS['G_DY']['db']['prefix'] . $tbl_name;
209. 
    if( !$pk ){
210. 
211. 
        @list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk = $pk['Field'];
    }
212. 
    $modelObj->pk = $pk;
213. 
    return $modelObj;
214. 
}
215. 
- D:\website67\bschengk\web\include\Functions.php on line 458
453. 
    $c=syDB('custom')->find(array('file' => $file));
454. 
    return $c;
455. 
}
456. 
//频道信息获取
457. 
function moldsinfo($molds,$q){
458. 
459. 
    $m=syDB('molds')->find(array('molds' => $molds),null,$q);
    return $m[$q];
460. 
}
461. 
//内容信息获取
462. 
function contentinfo($molds,$id,$q){
463. 
    $c=syDB($molds)->find(array('id' => $id),null,$q);
- D:\website67\bschengk\web\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(){
- D:\website67\bschengk\web\include\Functions.php on line 95
90. 
        }
91. 
    }
92. 
    if(FALSE != $has_define){
93. 
        $argString = '';$comma = ''; 
94. 
        if(null != $args)for ($i = 0; $i < count($args); $i ++) { $argString .= $comma . "\$args[$i]"; $comma = ', ';}
95. 
96. 
        eval("\$GLOBALS['G_DY']['inst_class'][\$class_name]= new \$class_name($argString);"); 
        return $GLOBALS['G_DY']["inst_class"][$class_name];
97. 
    }
98. 
    syError($class_name."类定义不存在,请检查。");
99. 
}
100. 
function curl_get($url) {
- D:\website67\bschengk\web\include\Functions.php on line 11
6. 
        syError('route Error');
7. 
        exit;
8. 
    }
9. 
    syClass('sysession');
10. 
    spLaunch("router_prefilter");
11. 
12. 
    $handle_controller = syClass($__controller, null, $GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
    if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
13. 
        syError('route Error');
14. 
        exit;
15. 
    }
16. 
    $handle_controller->$__action();
- D:\website67\bschengk\web\index.php on line 21
16. 
}else{
17. 
    $MzConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$MzConfig['ext']['view_themes'];
18. 
    $GLOBALS['mobile']=0;
19. 
}
20. 
require(MZCMS_PATH."/sys.php");
21. 
spRun();