数据库错误:Got error 28 from storage engineDESCRIBE dy_fields
- D:\wwwroot\rfem\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\rfem\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\rfem\wwwroot\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.
- D:\wwwroot\rfem\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\rfem\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\rfem\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\rfem\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\rfem\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\rfem\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\rfem\wwwroot\include\Functions.php on line 31
26.
27.
exit;
28.
29.
}
30.
31.
32.
$handle_controller->$__action();
33.
if(FALSE != $GLOBALS['G_DY']['view']['auto_display']){
34.
35.
$__tplname = $__controller.$GLOBALS['G_DY']['view']['auto_display_sep'].
36.
- D:\wwwroot\rfem\wwwroot\index.php on line 9
4.
require(DOYO_PATH."/sys.php");
5.
spRun();