源码论坛公告:本站是一个交流学习建站资源的社区论坛,旨在交流学习源码脚本等资源技术,欢迎大家投稿发言! 【点击此处将锦尚放在桌面

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

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 28918|回复: 0
打印 上一主题 下一主题

08CMS房产门户系统,配置上服务器首页报错。求高手解决

[复制链接]

23

主题

1747

帖子

290

金币

初级会员

Rank: 1

积分
1809
QQ
跳转到指定楼层
1#
发表于 2014-3-18 10:43:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
错误代码如下:
@$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(); ?>




有没有精通这个高手,求助!谢谢
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

锦尚中国源码论坛

聚合标签|锦尚中国,为中国网站设计添动力 ( 鲁ICP备09033200号 ) |网站地图

GMT+8, 2024-4-24 17:54 , Processed in 0.031481 second(s), 17 queries .

带宽由 锦尚数据 提供 专业的数据中心

© 锦尚中国源码论坛 52jscn Inc. 非法入侵必将受到法律制裁 法律顾问:IT法律网 & 褚福省律师 锦尚爱心 版权申诉 版权与免责声明