好不容易把论坛从ASP+SQLServer的转成PHP+MySql(Discuz!)
在本地搭建成功,经测试所有用户及管理员功能无误
随后租用了空间
网页顺利上传,数据库成功导入,域名成功绑定并解析~~~~好像一切OK~~~
可将域名输入IE地址栏后,不再OK了~~网页报错~以下是错误显示:
RE uid='$discuz_uid'", 'UNBUFFERED'); } } $sessionupdated = 1; } function updatemodworks($modaction, $posts = 1) { global $modworkstatus, $db, $tablepre, $discuz_uid, $timestamp, $_DCACHE; $today = gmdate('Y-m-d', $timestamp + $_DCACHE['settings']['timeoffset'] * 3600); if($modworkstatus && $modaction && $posts) { $db->query("UPDATE {$tablepre}modworks SET count=count+1, posts=posts+'$posts' WHERE uid='$discuz_uid' AND modaction='$modaction' AND dateline='$today'"); if(!$db->affected_rows()) { $db->query("INSERT INTO {$tablepre}modworks (uid, modaction, dateline, count, posts) VALUES ('$discuz_uid', '$modaction', '$today', 1, '$posts')"); } } } ?>Can not write to cache files, please check directory ./forumdata/ and ./forumdata/cache/ .
改的和数据库服务器一致了。但是又报这个错了~~~怎么会餐can not write to cache files呢???晕倒~~~
[ 本帖最后由 pellucid 于 2006-6-3 12:38 编辑 ] |