DESCRIBE dy_classtype
执行错误: File './www_hppx_net/dy_classtype.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 466
461.
function toptype($tid,$q){
462.
$t1=syDB('classtype')->find(array('tid' => $tid));
463.
if($t1['pid']!=0){
464.
$t2=syDB('classtype')->find(array('tid' => $t1['pid']));
465.
if($t2['pid']!=0){
466.
467.
$t3=syDB('classtype')->find(array('tid' => $t2['pid']));
if($t3['pid']!=0){
468.
$t4=syDB('classtype')->find(array('tid' => $t3['pid']));
469.
if($t4['pid']!=0){
470.
$t5=syDB('classtype')->find(array('tid' => $t4['pid']));
471.
$res=$t5[$q];
- /www/wwwroot/www.hppx.net/include/cache/tpl/article_article.php on line 100
95.
</div>
96.
<div id="nav">
97.
<ul class="MENUS">
98.
<li<?php if(!$topid){ ?> class="on"<?php } ?>><a href="/" class="a1">宏湃首页</a></li>
99.
<?php $vn=0;$tablev=syClass("syModel")->findSql("select tid,molds,pid,classname,gourl,litpic,title,keywords,description,orders,mrank,htmldir,htmlfile,mshow from dy_classtype where mshow='1' and pid=0 order by orders desc,tid limit 5");foreach($tablev as $v){ $v["tid_leafid"]=$sy_class_type->leafid($v["tid"]);$v["n"]=$vn=$vn+1; $v["classname"]=stripslashes($v["classname"]);$v["description"]=stripslashes($v["description"]); $v["url"]=html_url("classtype",$v); ?>
100.
101.
<li<?php if($v['n']==5){ ?> class="last<?php if(toptype($topid,'tid')==$v['tid']){ ?> on<?php } ?>"<?php } ?>>
<a href="<?php echo $v['url'] ?>" class="a1"><?php echo $v['classname'] ?></a>
102.
<dl>
103.
<?php $v1n=0;$tablev1=syClass("syModel")->findSql("select tid,molds,pid,classname,gourl,litpic,title,keywords,description,orders,mrank,htmldir,htmlfile,mshow from dy_classtype where pid='".$v[tid]."' and mshow='1' order by orders desc,tid");foreach($tablev1 as $v1){ $v1["tid_leafid"]=$sy_class_type->leafid($v1["tid"]);$v1["n"]=$v1n=$v1n+1; $v1["classname"]=stripslashes($v1["classname"]);$v1["description"]=stripslashes($v1["description"]); $v1["url"]=html_url("classtype",$v1); ?>
104.
<dd><a href="<?php echo $v1['url'] ?>"><?php echo $v1['classname'] ?></a></dd>
105.
<?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 71
66.
if(is_mobile()){
67.
$this->display('mobile/'.$this->type['t_content']);
68.
}
69.
else
70.
{
71.
72.
$this->display('article/'.$this->type['t_content']);
}
73.
}
74.
function type(){
75.
if($this->syArgs('file',1)!=''){
76.
$this->type=syDB('classtype')->find(' htmlfile="'.$this->syArgs('file',1).'" or tid='.$this->syArgs('file').' ');
- /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();