安装完LAMP后,把Discuz论坛上传,设置了config.inc.php文件后,访问服务器ip/bbs/install没有反映,访问服务器ip/bbs/就报如下错误,不知道是什么原因?
另外,Duscuz论坛要怎么安装?我是按照users_guide.htm上的说明来安装的。
LAMP是按照Naru大大的帖子安装的,安装完后,测试过,没有问题。
error(); $dberrno = $this->errno(); if($dberrno == 1114) { ?>
Forum onlines reached the upper limit
Sorry, the number of online visitors has reached the upper limit.
Please wait for someone else going offline or visit us in idle hours.
"; echo nl2br($errmsg); if($GLOBALS['adminemail']) { $errlog = array(); if(@$fp = fopen(DISCUZ_ROOT.'./forumdata/dberror.log', 'r')) { while((!feof($fp)) && count($errlog) < 20) { $log = explode("\t", fgets($fp, 50)); if($timestamp - $log[0] < 86400) { $errlog[$log[0]] = $log[1]; } } fclose($fp); } if(!in_array($dberrno, $errlog)) { $errlog[$timestamp] = $dberrno; @$fp = fopen(DISCUZ_ROOT.'./forumdata/dberror.log', 'w'); @flock($fp, 2); foreach(array_unique($errlog) as $dateline => $errno) { @fwrite($fp, "$dateline\t$errno"); } @fclose($fp); if(function_exists('errorlog')) { errorlog('MySQL', basename($GLOBALS['_SERVER']['PHP_SELF'])." : $dberror - ".cutstr($sql, 120), 0); } echo "
An error report has been dispatched to our administrator."; @sendmail($GLOBALS['adminemail'], '[Discuz!] MySQL Error Report', "There seems to have been a problem with the database of your Discuz! Board\n\n". strip_tags($errmsg)."\n\n". "Please check-up your MySQL server and forum scripts, similar errors will not be reported again in recent 24 hours\n". "If you have troubles in solving this problem, please visit Discuz! Community http://www.Discuz.net."); } else { echo '
Similar error report has beed dispatched to administrator before.'; } } echo '
'; function_exists('dexit') ? dexit() : exit(); } ?>Cache List: style_ usergroup_7
Caches successfully created, please refresh.
[ 本帖最后由 aimyang 于 2006-4-6 17:26 编辑 ] |