数据库错误:Got error 28 from storage engineDESCRIBE dy_fields
- D:\wwwroot\qida\wwwroot\include\mysql.php on line 81
76. 
    {
77. 
        //if( TRUE != $GLOBALS['G_DY']['db']['persistent'] )@mysql_close($this->pdo);
78. 
        if( TRUE != $GLOBALS['G_DY']['db']['persistent'] )$this->pdo=null;
79. 
    }
80. 
    
81. 
82. 
    public function errorMessage()
    {
83. 
        
84. 
        $msg = $this->pdo->errorInfo();
85. 
        if($msg[2]) syError('数据库错误:' . $msg[2] . end($this->arrSql));
86. 
        //echo "未知错误!";exit;
- D:\wwwroot\qida\wwwroot\include\mysql.php on line 17
12. 
        while($rows[] = $this->Statement->fetch(PDO::FETCH_ASSOC)){}
13. 
        $this->Statement=null;
14. 
        array_pop($rows);
15. 
        return $rows;
16. 
    }
17. 
18. 
    public function newinsertid()
19. 
    {
20. 
        return $this->pdo->lastInsertId();
21. 
    }
22. 
    
- D:\wwwroot\qida\wwwroot\include\Functions.php on line 419
414. 
        }
415. 
        if($s){
416. 
            $value=str_ireplace($v,$s,$value);
417. 
        }
418. 
    }
419. 
420. 
    return $value;
}
421. 
//数据操作过滤
422. 
function is_escape($value) {
423. 
    if(is_null($value))return 'NULL';
424. 
    if(is_bool($value))return $value ? 1 : 0;
- D:\wwwroot\qida\wwwroot\include\Template.php on line 159
154. 
                    )
155. 
                    
156. 
                )
157. 
                
158. 
                
159. 
160. 
            {/screen}
        
161. 
            
162. 
        */
163. 
    
164. 
        if($a['molds']){$molds=$a['molds'];}else{$molds='article';}
- D:\wwwroot\qida\wwwroot\include\Template.php on line 251
246. 
                            $w.="(".substr($trait,3).")";
247. 
                        }else{$w.="trait not like '%,".$v.",%' ";}
248. 
                    }else if($k=='image'){$w.="and ";
249. 
                        if($v==1){$w.="litpic!='' ";}if($v==2){$w.="litpic='' ";}
250. 
                    }else if($k=='keywords'){
251. 
252. 
                        $w.="and (title like '%".$v."%' or keywords like '%".$v."%')";
                    }else if($k=='body'){
253. 
                        $state=1;
254. 
                        $field_all.=',body';
255. 
                    }else if($k=='page'){
256. 
                        $page=explode(',',$v);
- D:\wwwroot\qida\wwwroot\include\Template.php on line 149
144. 
            {screen molds="article" tid='1' list='pingpai,yanse' as="v"}
145. 
                筛选字段数组:
146. 
                array(
147. 
                    'url'=>'全部url',
148. 
                    'name'=>'字段名',
149. 
150. 
                    'fields'=>'字段',
                    'list'=>筛选名字数组array(
151. 
                        'name'=>'[筛选名字]',
152. 
                        'v'=>'值',
153. 
                        'url'=>'[对应链接url]',    
154. 
                    )
- D:\wwwroot\qida\wwwroot\include\Template.php on line 111
106. 
        preg_match_all('/\{foreach(.*?)\}/si',$content,$i);
107. 
        $this->template_err_check(substr_count($content, '{/foreach}'),count($i[0]),'foreach');
108. 
        foreach($i[0] as $k=>$v){
109. 
            $content=str_ireplace($v,'<?php foreach('.$i[1][$k].'){ ?>',$content);
110. 
        }    
111. 
112. 
        $content=str_ireplace('{/foreach}','<?php } ?>',$content);
        
113. 
        preg_match_all('/\{\$(.*?)\}/si',$content,$i);
114. 
        foreach($i[0] as $k=>$v){
115. 
            $content=str_ireplace($v,'<?php echo $'.$i[1][$k].' ?>',$content);
116. 
        }
- D:\wwwroot\qida\wwwroot\include\syView.php on line 55
50. 
        $args = array();
51. 
        $anchor = null;
52. 
        foreach($params as $key => $param){
53. 
            if( $key == $GLOBALS['G_DY']["url_controller"] ){
54. 
                $controller = $param;
55. 
56. 
            }elseif( $key == $GLOBALS['G_DY']["url_action"] ){
                $action = $param;
57. 
            }elseif( $key == 'anchor' ){
58. 
                $anchor = $param;
59. 
            }else{
60. 
                $args[$key] = $param;
- D:\wwwroot\qida\wwwroot\include\syController.php on line 59
54. 
    public function getView()
55. 
    {
56. 
        $this->v->addfuncs();
57. 
        return $this->v->engine;
58. 
    }
59. 
60. 
    
}
61. 
62. 
class syArgs {
63. 
    private $args = null;
64. 
    public function __construct(){
- D:\wwwroot\qida\wwwroot\include\Functions.php on line 31
26. 
    if(TRUE != SP_DEBUG && TRUE != $GLOBALS['G_DY']['allow_trace_onrelease'])return;
27. 
    if( TRUE == $show_trace ){ 
28. 
        $content = syError(htmlspecialchars(print_r($vars, true)), TRUE, FALSE);
29. 
    }else{
30. 
        $content = "<div align=left><pre>\n" . htmlspecialchars(print_r($vars, true)) . "\n</pre></div>\n";
31. 
32. 
    }
    if(TRUE != $output) { return $content; } 
33. 
       echo "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"></head><body>{$content}</body></html>"; 
34. 
       return;
35. 
}
36. 
- D:\wwwroot\qida\wwwroot\index.php on line 9
4. 
require(DOYO_PATH."/sys.php");
5. 
spRun();