Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已答复] lidq.jingwu老大请进,SS搬家问题[已经解决]

[复制链接]
ljbetter 发表于 2009-12-30 18:25:14 | 显示全部楼层 |阅读模式
本帖最后由 ljbetter 于 2009-12-31 00:17 编辑

我用的是UC1.5+SS7.5+DZ7.2+UCH2.0的组合
全部数据备份恢复正常,但SS搬家后,访问首页头部多出来一长串代码,然后才是LOGO和内容等,但内容页没有此问题。
多出来的代码:
  1. { global $_SGLOBAL; if(!@include_once(S_ROOT.'./data/system/group.cache.php')) { include_once(S_ROOT.'./function/cache.func.php'); updategroupcache(); } $needfind = false; if($gid && !empty($_SGLOBAL['grouparr'][$gid])) { $group = $_SGLOBAL['grouparr'][$gid]; if($gid == 2) { $needfind = true; } elseif($group['system'] == 0) { if($group['exphigher']<$experience || $group['explower']>$experience) { $needfind = true; } } } else { $needfind = true; } if($needfind) { $query = $_SGLOBAL['db']->query("SELECT groupid FROM ".tname('usergroups')." WHERE explower<='$experience' AND system='0' ORDER BY explower DESC LIMIT 1"); $gid = $_SGLOBAL['db']->result($query, 0); } return $gid; } //检查是否操作创始人 function ckfounder($uid) { global $_SC; $founders = empty($_SC['founder'])?array():explode(',', $_SC['founder']); return in_array($uid, $founders); } function forumselect() { global $_SGLOBAL, $selectfid; if(empty($_SGLOBAL['bbsforumarr'])) { return ; } $forumlist = ''; foreach($_SGLOBAL['bbsforumarr'] as $forum) { if($forum['type'] == 'group') { $forumlist .= ''; $visible[$forum['fid']] = true; } elseif($forum['type'] == 'forum' && isset($visible[$forum['fup']])) { $forumlist .= '  > '.$forum['name'].''; $visible[$forum['fid']] = true; } elseif($forum['type'] == 'sub' && isset($visible[$forum['fup']])) { $forumlist .= '      > '.$forum['name'].''; } } $forumlist .= ''; $forumlist = str_replace('', '', $forumlist); return $forumlist; } function getuids($itemids=array(), $table='spaceitems', $field='uid', $itemfield='itemid') { global $_SGLOBAL; $uids = array(); if(!empty($itemids)) { $itemsqlstr = simplode($itemids); $query = $_SGLOBAL['db']->query('SELECT '.$field.' FROM '.tname($table).' WHERE '.$itemfield.' IN ('.$itemsqlstr.')'); while($value = $_SGLOBAL['db']->fetch_array($query)) { $uids[] = $value[$field]; } } return $uids; } function formatcomment($comment, $repeatids = array(), $style=0) { global $_SCONFIG, $lang; include_once(S_ROOT.'./function/misc.func.php'); $searcharr = $replacearr = array(); $comment['message'] = snl2br($comment['message']); if(empty($comment['author'])) $comment['author'] = 'Guest'; $comment['hideauthor'] = (!empty($comment['hideauthor']) && !empty($_SCONFIG['commanonymous'])) ? 1 : 0; $comment['hideip'] = (!empty($comment['hideip']) && !empty($_SCONFIG['commhideip'])) ? 1 : 0; $comment['hidelocation'] = (!empty($comment['hidelocation']) && !empty($_SCONFIG['commhidelocation'])) ? 1 : 0; $comment['iplocation'] = str_replace(array('-', ' '), '', convertip($comment['ip'])); $comment['ip'] = preg_replace("/^(\d{1,3})\.(\d{1,3})\.\d{1,3}\.\d{1,3}$/", "\$1.\$2.*.*", $comment['ip']); $_SCONFIG['commfloornum'] = intval($_SCONFIG['commfloornum']); $comment['floornum'] = intval($comment['floornum']); if(!$style) { if(!empty($_SCONFIG['commfloornum'])) { //削楼功能 if($_SCONFIG['commfloornum'] < $comment['floornum']) { $cutfloor = $comment['floornum'] - $_SCONFIG['commfloornum']; $searchstr = "/\
  2. 49) { $elevatordetail = <<
  3. $lang[comment_elevator]$lang[comment_floor_hide]
  4. [{$lang['comment_floor_up']}] [{$lang['comment_floor_down']}] $lang[comment_floor_total]{$comment['floornum']}$lang[comment_floor_total_2]

  5.   
  6. EOF; $searcharr[] = '
  7. $lang[comment_floor_repeat] [{$lang['comment_floor_view_repeat']}]

  8. "; $searcharr[] = 'class="old"'; $searcharr[] = 'class="old_title"'; $searcharr[] = 'class="detail"'; $searcharr[] = 'class="floor_op"'; $searcharr[] = '_1" class="hideold"'; $searcharr[] = '_tip" class="hideold"'; $searcharr[] = '_1_title" class="hideelement"'; $searcharr[] = '_1_detail" class="hideelement"'; $searcharr[] = '
  9. ".$comment['message']; } $comment['message'] = str_replace($searcharr, $replacearr, $comment['message']); } else { preg_match_all ("/\
  10. (.+)?\<\/div\>/is", $comment['message'], $currentmessage, PREG_SET_ORDER); if(!empty($currentmessage)) $comment['message'] = $currentmessage[0][0]; $comment['message'] = preg_replace("/\
  11. \\<\/div\>/is", '',$comment['message']); } return $comment; } ?>
复制代码
老大快帮忙啊,谢谢
 楼主| ljbetter 发表于 2009-12-30 18:28:18 | 显示全部楼层
另外:
1、运行安装程序时也会在上部出现上面的代码
2、用户控制面板不见了
3、验证码出不来了



回复

使用道具 举报

wangnet 发表于 2009-12-30 20:11:56 | 显示全部楼层
怎么没有人来回答的啊
回复

使用道具 举报

 楼主| ljbetter 发表于 2009-12-31 00:18:05 | 显示全部楼层
检查所有的配置,都没有问题,没办法只好把文件都上传覆盖一遍,结果居然好了,喜出望外
回复

使用道具 举报

45282865 发表于 2010-1-6 12:23:56 | 显示全部楼层
你很厉害,羡慕你啊
回复

使用道具 举报

5cun 发表于 2010-1-6 12:34:52 | 显示全部楼层
你好幸福,我的SS7.5整合DZ7.2出现乱码,期待版主老大的帮忙解决!
回复

使用道具 举报

 楼主| ljbetter 发表于 2010-1-6 15:37:01 | 显示全部楼层
呵呵,有时真的是很邪门
回复

使用道具 举报

by15185296511 发表于 2010-3-6 04:12:04 | 显示全部楼层
跪求楼主帮我搬家好吗?我尝试了N遍  次次失败~请帮下忙  谢谢了  QQ  3333851
回复

使用道具 举报

by15185296511 发表于 2010-3-6 04:12:26 | 显示全部楼层
我装的程序 跟你的一摸一样
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-18 09:37 , Processed in 0.033553 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表