数据库出错: 数据库链接失败
Mysql error description: Can't connect to MySQL server on 'localhost' (10061)
Mysql error number: 2003
Date: 2009-03-09 @ 14:45
Query:
Script: http://ap.aeemcn.com/bbs/
SQL: select count(pid) as num, authorid, author from [Table]posts where dateline>=1233849600 group by authorid order by num desc limit 0, 10
Error: Can't open file: '[Table]posts.MYI'. (errno: 144)
文件无法打开,请修复数据表
Similar error report has beed dispatched to administrator before.
$codearr = explode('/', $code);
$url = empty($codearr[0])?'':rawurldecode(($codearr[0]));
if(empty($url)) exit();
$maketime = empty($codearr[1])?0:intval($codearr[1]);
if(empty($maketime)) exit();
$updatetime = empty($codearr[2])?0:intval($codearr[2]);
if(empty($updatetime)) exit();
$uid = empty($codearr[3])?0:intval($codearr[3]);
$itemid = empty($codearr[4])?0:intval($codearr[4]);
$action = empty($codearr[5])?'':trim($codearr[5]);
$lastmodified = empty($_GET['lastmodified'])?'0':$_GET['lastmodified'];
MyDbPath = ""
include_once('./config.php');
$cookie = empty($_COOKIE[$cookiepre.'auth'])?'':$_COOKIE[$cookiepre.'auth'];
if(empty($cookie)) $needupdate = false;
} else {
$cookie = 1;
}
if(!empty($cookie) && !empty($htmltime) && $maketime < $htmltime && $htmltime < $timestamp) {
$needupdate = true;
}
}
if (!empty($cookie) && !$needupdate && $uid) {
$idvalue = ($uid>9)?substr($uid, -2, 2):$uid;
$userhtml = './user/'.$idvalue.'/html_'.$uid.'.cache.php';
if(@include_once($userhtml)) {
if(!empty($uhtmltime) && $maketime < $uhtmltime && $uhtmltime < $timestamp) {
$needupdate = true;