数据库错误:Got error 28 from storage engineDESCRIBE dy_classtype

80.      
81.      public function errorMessage()
82.      {
83.          
84.          $msg $this->pdo->errorInfo();
85.          if($msg[2]) syError('数据库错误:' $msg[2] . end($this->arrSql));
86.          //echo "未知错误!";exit;
87.      }
88.  }
89. 
36.          $this->arrSql[] = $sql;
37.          $this->Statement $this->pdo->query($sql);
38.          if ($this->Statement) {
39.              return $this;
40.              //return $this->Statement->execute();
41.          }else $this->errorMessage();
42.      }
43.      
44.      public function exec($sql)
45.      {
46.          $this->arrSql[] = $sql;
4.      public $pdo;
5.      public $arrSql;
6.      public $Statement;
7.      public function getArray($sql)
8.      {
9.          if(!$result $this->query($sql))return array();
10.          if(!$this->Statement->rowCount())return array();
11.          $rows = array();
12.          while($rows[] = $this->Statement->fetch(PDO::FETCH_ASSOC)){}
13.          $this->Statement=null;
14.          array_pop($rows);
53.          return $this->Statement->rowCount();
54.      }
55. 
56.      public function getTable($tbl_name)
57.      {
58.          return $this->getArray("DESCRIBE {$tbl_name}");
59.      }
60. 
61.      public function __construct($dbConfig)
62.      {
63.          class_exists('PDO') or exit("not found PDO");
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.          @list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk $pk['Field'];
211.      }
212.      $modelObj->pk $pk;
213.      return $modelObj;
214.  }
215. 
18.      function href_session(){
19.          exit('true,'.date('Ym'));
20.      }
21. 
22.      function echo_classurl(){
23.             $list=syDB('classtype')->findAll(null);
24.             $result = array();
25.             
26.             foreach($list as $v){
27.                        $result[$v["tid"]]["url"] = html_url('classtype',$v);
28.                        foreach ($v as $k=>$vv){
3.  class index extends syController
4.  {
5.      function __construct(){
6.          parent::__construct();
7.          $this->sy_class_type=syClass('syclasstype');
8.          $this->classtype=$this->echo_classurl();
9.      }
10.      function index(){
11.          if($this->syArgs('file',1)){
12.              $this->custom=custom_html($this->syArgs('file',1));
13.              if($this->custom['template']!=''){$this->display('custom/'.$this->custom['template']);}else{$this->display("index.html");}
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.          eval("\$GLOBALS['G_DY']['inst_class'][\$class_name]= new \$class_name($argString);"); 
96.          return $GLOBALS['G_DY']["inst_class"][$class_name];
97.      }
98.      syError($class_name."类定义不存在,请检查。");
99.  }
100.  function curl_get($url) {
6.          syError('route Error');
7.          exit;
8.      }
9.      syClass('sysession');
10.      spLaunch("router_prefilter");
11.      $handle_controller syClass($__controllernull$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.      $handle_controller->$__action();
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();