源码论坛,商业源码下载,尽在锦尚中国商业源码论坛

标题: 08CMS房产门户系统,配置上服务器首页报错。求高手解决 [打印本页]

作者: cdroot    时间: 2014-3-18 10:43
标题: 08CMS房产门户系统,配置上服务器首页报错。求高手解决
错误代码如下:
@$cnode['addnum']) message('不允许的附加页'); if(!$curuser->pmbypmids('aread',cn_pmids($cnstr))) message('无类目浏览权限'); }else{ $addno = 0; } $filterstr = ''; $na = array('caid','addno','page',);foreach($cotypes as $k => $v) $v['sortable'] && $na[] = "ccid$k"; foreach($temparr as $k => $v){ if(!in_array($k,$na)){ $filterstr .= "&$k=".rawurlencode(stripslashes($v)); }else unset($temparr[$k]); } unset($na); if(!$debugtag && $cache1circle && !$filterstr){ $cachefile = htmlcac_dir($_ismobile ? 'cnmob' : 'cn').cac_namepre($cnstr,$addno).'_'.$page.'.php'; if(is_file($cachefile) && (filemtime($cachefile) > ($timestamp - $cache1circle * 60))) mexit(read_htmlcac($cachefile)); } $_da = array(); if(!$cnstr){ $tplname = $_ismobile ? $o_index_tpl : $hometpl ; $_da['rss'] = $cms_abs.'rss.php'; $_ismobile || $cnformat = idx_format(); }else{ $_da = cn_parse($cnstr,-1); if(!$_ismobile){ $_statics = empty($cnode['statics']) ? array() : explode(',',$cnode['statics']); $enablestatic = empty($_statics[$addno]) ? $enablestatic : 0; $cnformat = cn_format($cnstr,$addno,$cnode); } re_cnode($_da,$cnstr,$cnode); $tplname = cn_tplname($cnstr,$cnode,$addno); } $_da += $temparr; unset($temparr); $tplname || message($cnstr ? "节点-{$cnstr}-模板未定义" : "系统首页-模板未定义"); $_mdebug->setvar('tpl',$tplname); $_k_p = array('addno' => $addno,'cnstr' => $cnstr,'page' => $page,); $_mp = array( 'durlpre' => view_url(en_virtual(($_ismobile ? "$mobiledir/" : '')."index.php?".substr(($cnstr ? "&$cnstr" : '').($addno ? "&addno=$addno" : '').'&page={$page}'.$filterstr,1),1)), 'surlpre' => $_ismobile || $filterstr ? '' : view_url($cnformat), 'static' => $_ismobile || $filterstr ? 0 : $enablestatic, 'nowpage' => $page, 's_num' => $_ismobile ? 0 : $liststaticnum, ); _aenter($_da,1); extract($_da,EXTR_OVERWRITE); tpl_refresh($tplname); @include M_ROOT."template/$templatedir/pcache/$tplname.php"; $_content = ob_get_contents(); ob_clean(); extract($_k_p,EXTR_OVERWRITE); if(!$_ismobile && $page == 1) $_content .= str_js_src("{$cms_abs}tools/ptool.php?static=1&mode=cnindex".($cnstr ? "&$cnstr" : '').($addno ? "&addno=$addno" : '')); if(!$debugtag && $cache1circle && !$filterstr) save_htmlcac($_content,$cachefile); echo $_content; p_process(1); if($debugtag) echo ''; mexit(); ?>




有没有精通这个高手,求助!谢谢




欢迎光临 源码论坛,商业源码下载,尽在锦尚中国商业源码论坛 (https://bbs.52jscn.com/) Powered by Discuz! X3.3