DESCRIBE dy_article_field
执行错误: File './www_hppx_net/dy_article_field.MYD' not found (Errcode: 13 - Permission denied)
- /www/wwwroot/www.hppx.net/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.
}
- /www/wwwroot/www.hppx.net/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);
- /www/wwwroot/www.hppx.net/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';
- /www/wwwroot/www.hppx.net/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.
- /www/wwwroot/www.hppx.net/include/Functions.php on line 497
492.
$t=syDB('classtype')->find(array('tid' => $tid),null,$q);
493.
return $t[$q];
494.
}
495.
//文章内容信息获取 2013-9-21
496.
function bodyinfo($id,$t=1){ //$t=1替换html,0不替换
497.
498.
$c=syDB('article_field')->find(array('aid' => $id));
if($t==1){
499.
$body=str_replace(' ','',strip_tags($c['body']));
500.
}
501.
else{
502.
$body=str_replace("\n","",$c['body']);
- /www/wwwroot/www.hppx.net/include/cache/tpl/article_list.php on line 275
270.
<tbody>
271.
<?php foreach( $lists as $v){ ?>
272.
<tr>
273.
<td style="padding:0 10px;"><p class="title"><a href="<?php echo $v['url'] ?>"><?php echo $v['title'] ?></a></p></td>
274.
<td>
275.
276.
<?php echo newstr(bodyinfo($v['id']),200) ?>
<a class="more" href="<?php echo $v['url'] ?>">详情<em>>></em></a>
277.
<p class="time">[<?php echo date('Y-m-d',$v['addtime']) ?>]</p>
278.
</td>
279.
</tr>
280.
<?php } ?>
- /www/wwwroot/www.hppx.net/include/Template.php on line 74
69.
if( $enable_gzip==1 ){
70.
GLOBAL $__template_compression_level;
71.
$__template_compression_level=syExt('enable_gzip_level');
72.
ob_start('template_ob_gzip');
73.
}
74.
75.
include $template_tpl;
}
76.
77.
private function template_html($content){
78.
preg_match_all('/\{include=\"(.*?)\"\}/si',$content,$i);
79.
foreach($i[0] as $k=>$v){
- /www/wwwroot/www.hppx.net/include/syView.php on line 28
23.
{
24.
try {
25.
$this->addfuncs();
26.
$this->displayed = TRUE;
27.
if($GLOBALS['G_DY']['view']['debugging'] && SP_DEBUG)$this->engine->debugging = TRUE;
28.
29.
$this->engine->display($tplname);
} catch (Exception $e) {
30.
syError( $GLOBALS['G_DY']['view']['engine_name']. ' Error: '.$e->getMessage() );
31.
}
32.
}
33.
- /www/wwwroot/www.hppx.net/include/syController.php on line 30
25.
26.
public function display($tplname, $output = TRUE)
27.
{
28.
@ob_start();
29.
if(TRUE == $GLOBALS['G_DY']['view']['enabled']){
30.
31.
$this->v->display($tplname);
}else{
32.
extract($this->__template_vals);
33.
require($tplname);
34.
}
35.
if( TRUE != $output )return ob_get_clean();
- /www/wwwroot/www.hppx.net/source/article.php on line 129
124.
if(is_mobile()){
125.
$this->display('mobile/'.$t);
126.
}
127.
else
128.
{
129.
130.
$this->display('article/'.$t);
}
131.
132.
}
133.
function hits(){
134.
if($this->syArgs('id')){
- /www/wwwroot/www.hppx.net/include/Functions.php on line 16
11.
$handle_controller = syClass($__controller, null, $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.
17.
$handle_controller->$__action();
if(FALSE != $GLOBALS['G_DY']['view']['auto_display']){
18.
$__tplname = $__controller.$GLOBALS['G_DY']['view']['auto_display_sep'].
19.
$__action.$GLOBALS['G_DY']['view']['auto_display_suffix'];
20.
$handle_controller->auto_display($__tplname);
21.
}
- /www/wwwroot/www.hppx.net/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();