PHPWIND[民间论坛]数据搬迁导致丢失严重,用户数据基本全部损坏,十分遗憾来自phpwind.me的远古记忆

开启后台错误检测后 都变成这样了 打开站点就这样额

tianyu0323 离线 2.5K阅读 1回复 于 2016-06-13 00:55 发布在 技术文献
Uncaught error with message 'E_WARNING: chmod() has been disabled for security reasons'
  
  
  
D:\bbs\wind\utility\WindFile.php: 102
  
97: if (!$handle = fopen($fileName, $method)) return false;
98: $ifLock && flock($handle, LOCK_EX);
99: $writeCheck = fwrite($handle, $data);
100: $method == self::READWRITE && ftruncate($handle, strlen($data));
101: fclose($handle);
102: $ifChmod && chmod($fileName, 7777);
103: return $writeCheck;
104: }
105:
106: /**
  
  
__Stack:
  
#13 D:\bbs\wind\base\AbstractWindFrontController.php (245)
#12 ~Internal Location~ (N/A) _errorHandle(2,"chmod() has been disabled for security reasons","D:\bbs\wind\utility\WindFile.php",102,array( 'fileName' => 'D:\\bbs\\data\\compile/template/default/bbs/forum_list.tpl', 'data' => '<!doctype html> <html> <head> <meta charset="<?php echo htmlspecialchars(Wekit::V(\'charset\'), ENT_QUOTES, \'UTF-8\');?>" /> <title><?php echo htmlspecialchars(Wind::getComponent(\'response\')->getData(\'G\',\'seo\',\'title\'), ENT_QUOTES, \'UTF-8\');?> - Powered by phpwind</title> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta name="generator" content="phpwind v<?php echo htmlspecialchars(Wind::getComponent(\'response\')->getData(\'G\',\'version\'), ENT_QUOTES, \'UTF-8\');?>" /> <meta name="description" content="<?php echo htmlspecialchars(Wind::getComponent(\'response\')->getData(\'G\',\'seo\',\'description\'), ENT_QUOTES, \'UTF-8\');?>" /> <meta name="keywords" content="<?php echo htmlspecialchars(Wind::getComponent(\'response\')->getData(\'G\',\'seo\',\'keywords\'), ENT_QUOTES, \'UTF-8\');?>" /> <link rel="stylesheet" href="<?php echo Wind::getComponent(\'response\')->getData(\'G\', \'url\', \'themes\').\'/site/\'.Wekit::C(\'site\', \'theme.site.default\').\'/css\'.Wekit::getGlobal(\'theme\',\'debug\'); ?>/core.css?v=<?php echo htmlspecialchars(NEXT_RELEASE, ENT_QUOTES, \'UTF-8\');?>" /> <link rel="stylesheet" href="<?php echo Wind::getComponent(\'response\')->getData(\'G\', \'url\', \'themes\').\'/site/\'.Wekit::C(\'site\', \'theme.site.default\').\'/css\'.Wekit::getGlobal(\'theme\',\'debug\'); ?>/style.css?v=<?php echo htmlspecialchars(NEXT_RELEASE, ENT_QUOTES, \'UTF-8\');?>" /> <!-- <base id="headbase" href="<?php echo htmlspecialchars(Wind::getComponent(\'response\')->getData(\'G\',\'url\',\'base\'), ENT_QUOTES, \'UTF-8\');?>/" /> --> <?php echo Wekit::C(\'site\', \'css.tag\');?> <script> //全局变量 Global Variables var GV = { JS_ROOT : \'<?php echo htmlspecialchars(Wind::getComponent(\'response\')->getData(\'G\',\'url\',\'res\'), ENT_QUOTES, \'UTF-8\');?>/js/dev/\',        //js目录 JS_VERSION : \'<?php echo htmlspecialchars(NEXT_RELEASE, ENT_QUOTES, \'UTF-8\');?>\',        //js版本号(不能带空格) JS_EXTRES : \'<?php echo htmlspecialchars(Wind::getComponent(\'response\')->getData(\'G\',\'url\',\'extres\'), ENT_QUOTES, \'UTF-8\');?>\', TOKEN : \'<?php echo htmlspecialchars(Wind::getComponent(\'windToken\')->saveToken(\'csrf_token\'), ENT_QUOTES, \'UTF-8\');?>\',        //token $.ajaxSetup data U_CENTER : \'<?php echo Wind::getComponent(\'response\')->getData(\'G\', \'url\', \'base\'),\'/\',\'index.php?m=space\'; ?>\', //用户空间(参数 : uid) <?php $loginUser = Wekit::getLoginUser(); if ($loginUser->isExists()) { ?> //登录后 U_NAME : \'<?php echo htmlspecialchars($loginUser->username, ENT_QUOTES, \'UTF-8\');?>\', //登录用户名 U_AVATAR : \'<?php echo htmlspecialchars(Pw::getAvatar($loginUser->uid), ENT_QUOTES, \'UTF-8\');?>\', //登录用户头像 <?php } ?> U_AVATAR_DEF : \'<?php echo htmls

评论

1 最热 最新
游客
笔仙1216
笔仙1216
9年前 中国
1
楼主你好,你的这个问题是因为你开启DEBUG 模式运行站点的原因
取消步骤如下:
第一步:登录你的FTP,进入你的WEB目录文档

第二步:找到 WEB/data/cache/config.php  打开 将里面  debug 的值  换成0
然后上传覆盖,覆盖之后后台应该就可以访问了,然后到全局参数里面将debug设置为0重新提交即可!~


原贴参考传送门:http://www.phpwind.net/read/3130055