mayapop


disconnected
主题工具

表情smilies始终无法正确显示。sai请经来下哈。

... 发表于 2010-1-13 22:28  ... 17062 次点击

请sai和大家帮帮忙,我的论坛安装完后发表新主题页面和快速回复页面的表情smilies就一直无法正常显示,是这个样子。


smilies的地址被改成了这样

在后台 帖子管理 -》 帖子相关 -》 smilies编辑 和 主题图标,点开都提示如下错误:
Warning: dir(286.tw/bbs/images/smilies) [function.dir ]: failed to open dir: No such file or directory in /home6/twosixe2/public_html/286/bbs/admin/misc.inc.php on line 497

Fatal error: Call to a member function read() on a non-object in /home6/twosixe2/public_html/286/bbs/admin/misc.inc.php on line 498

ftp登陆后 进入 public_html目录,是网站的根目录,286目录已经单独绑定在http://286.tw 这个域名上,理论上来讲应该286这个目录就是这个论坛的根目录的啦。
翻了很多老帖子,在后台模板编辑里 搜索admincp hear等文件里的 smdir ,把{smdir}修改成 {images/smilies} 还是不成功。
论坛是放在 /bbs目录里的,286根目录里没有放置 .htaccess。
bbs目录里的 .htaccess 内容是:
RewriteEngine On
RewriteBase /bbs
#Far Future Expires Header
<FilesMatch "\.(gif|png|jpg|js|css|swf)$">
    ExpiresActive On
    ExpiresDefault "access plus 10 years"
</FilesMatch>
#Rules for Versioned Static Files
RewriteRule ^(scripts|css)/(.+)\.(.+)\.(js|css)$ parasy_static.php?type=$1&filename=$2 [L]
RewriteRule ^archiver/([a-z0-9\-]+\.html)$ archiver/index.php?$1 [L]
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L]
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2 [L]
RewriteRule ^profile-(username|uid)-(.+)\.html$ viewpro.php?$1=$2 [L]
RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2 [L]
RewriteRule ^music-([0-9]+)-([a-z0-9\-]+)\.html$ music.php?tid=$1&sv=$2 [L]
RewriteRule ^u-([0-9]+)\.html$ viewpro.php?uid=$1 [L]
RewriteRule ^user-(.+)\.html$ viewpro.php?username=$1 [L]
RewriteRule ^u/(.*)$ viewpro.php?uid=$1 [L]
RewriteRule ^thread/([0-9]+)/([0-9]+)/([0-9]+)$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2 [L]
RewriteRule ^forum/([0-9]+)/([0-9]+)$ forumdisplay.php?fid=$1&page=$2 [L]
RewriteRule ^channel/([0-9]*).html$ parasy_channel.php?channel_id=$1 [L]
RewriteRule ^u/(username|uid)/(.*)$ viewpro.php?$1=$2 [L]
RewriteRule ^go/([a-zA-Z0-9\-]+)$ forumdisplay.php?name=$1 [L]
RewriteRule ^go/([a-zA-Z0-9\-]+)/$ forumdisplay.php?name=$1 [L]
RewriteRule ^geo/(.+)$ parasy_geo.php?action=geo_home&geo=$1 [L]
RewriteRule ^user/move.nnm$ parasy_geo.php?action=user_move [L]
RewriteRule ^user/move/(.+)$ parasy_geo.php?action=user_move&geo=$1 [L]
RewriteRule ^user/settle/([a-zA-Z0-9\-\_]+)$ parasy_geo.php?action=settle&geo=$1 [L]
RewriteRule ^set/going/(.+)$ parasy_geo.php?action=set_going&geo=$1 [L]
RewriteRule ^set/been/(.+)$ parasy_geo.php?action=set_been&geo=$1 [L]
RewriteRule ^revert/going/(.+)$ parasy_geo.php?action=revert_going&geo=$1 [L]
RewriteRule ^revert/been/(.+)$ parasy_geo.php?action=revert_been&geo=$1 [L]
RewriteRule ^my-favorites-(.+).html$ my.php?item=favorites&type=$1 [L]
RewriteRule ^my-(.+)-fid-([0-9]+)\.html$ my.php?item=$1&srchfid=$2 [L]
RewriteRule ^my-(.+)\.html$ my.php?item=$1 [L]
RewriteRule ^newthread-([0-9]+)-([0-9]+)\.html$ post.php?action=newthread&fid=$1&extra=page%3D$2 [L]
RewriteRule ^reply-([0-9]+)-([0-9]+)-([0-9]+)\.html$ post.php?action=reply&fid=$1&tid=$2&extra=page%3D$3 [L]
RewriteRule ^redirect-([0-9]+)\.html$ redirect.php?tid=$1&goto=lastpost#lastpost [L]
RewriteRule ^next-([0-9]+)-([0-9]+)\.html$ redirect.php?fid=$1&tid=$2&goto=nextoldset [L]
RewriteRule ^pre-([0-9]+)-([0-9]+)\.html$ redirect.php?fid=$1&tid=$2&goto=nextnewset [L]
RewriteRule ^fav-(tid|fid)-([0-9]+)\.html$ my.php?item=favorites&$1=$2 [L]
RewriteRule ^cat-([0-9]+)\.html$ parasy_section.php?gid=$1 [L]
RewriteRule ^blog-([0-9]+)\.html$ blog.php?uid=$1 [L]
RewriteRule ^mytopic-([0-9]+)\.html$ search.php?srchuid=$1&mytopics=yes&searchsubmit=yes [L]
RewriteRule ^fresh-([0-9]+)\.html$ search.php?srchfrom=$1&searchsubmit=yes [L]
RewriteRule ^buddy-add-([0-9]+)\.html$ memcp.php?action=buddylist&newbuddyid=$1&buddysubmit=yes [L]
RewriteRule ^send-pm-([0-9]+)\.html$ pm.php?action=send&uid=$1 [L]
RewriteRule ^view-pm-([0-9]+)\.html$ pm.php?action=view&pmid=$1 [L]
RewriteRule ^recv/now.nnm$ plugin.php?submit=yes [L]
RewriteRule ^recv/tod/project.nnm$ plugin.php?identifier=tod&module=tod&submit=yes&action=create_tod&type=project [L]
RewriteRule ^recv/tod/task/([0-9]+).nnm$ plugin.php?identifier=tod&module=tod&submit=yes&action=create_tod&type=task&project_id=$1 [L]
RewriteRule ^del/now/([0-9]+)$ plugin.php?identifier=now&module=now&action=del&now_id=$1 [L]
RewriteRule ^del/buddy/([0-9]+)$ memcp.php?action=buddylist&delete[]=$1&buddysubmit=yes [L]
RewriteRule ^del/tod/project/([0-9]+)$ plugin.php?identifier=tod&module=tod&action=del_tod&type=project&project_id=$1 [L]
RewriteRule ^del/tod/task/([0-9]+)$ plugin.php?identifier=tod&module=tod&action=del_tod&type=task&task_id=$1 [L]
RewriteRule ^change/tod/task/done/([0-9]+)$ plugin.php?identifier=tod&module=tod&action=task_done&type=task&task_id=$1 [L]
RewriteRule ^change/tod/task/undone/([0-9]+)$ plugin.php?identifier=tod&module=tod&action=task_undone&type=task&task_id=$1 [L]
RewriteRule ^change/tod/project/permission/([0-9]+)$ plugin.php?identifier=tod&module=tod&action=project_permission&project_id=$1 [L]
RewriteRule ^change/tod/task/([0-9]+)/level/([0-9]+)$ plugin.php?identifier=tod&module=tod&action=change_task_pri&task_id=$1&task_level=$2 [L]
RewriteRule ^printable-([0-9]+)\.html$ viewthread.php?action=printable&tid=$1 [L]
RewriteRule ^emailfriend-([0-9]+)\.html$ misc.php?action=emailfriend&tid=$1 [L]
RewriteRule ^edit-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ post.php?action=edit&fid=$1&tid=$2&pid=$3&page=$4 [L]
RewriteRule ^quote-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ post.php?action=reply&fid=$1&tid=$2&repquote=$3&page=$4 [L]
RewriteRule ^rate-([0-9]+)-([0-9]+)-([0-9]+)\.html$ misc.php?action=rate&tid=$1&pid=$2&page=$3 [L]
RewriteRule ^removerate-([0-9]+)-([0-9]+)-([0-9]+)\.html$ misc.php?action=removerate&tid=$1&pid=$2&page=$3 [L]
RewriteRule ^online.html$ member.php?action=online [L]
RewriteRule ^member.html$ member.php?action=list [L]
RewriteRule ^passwd.nnm$ member.php?action=lostpasswd [L]
RewriteRule ^login.nnm$ logging.php?action=login [L]
RewriteRule ^login-db.nnm$ logging.php?action=login&app=dashboard [L]
RewriteRule ^login-m.nnm$ logging.php?action=login&app=mobile [L]
RewriteRule ^login-now.nnm$ logging.php?action=login&app=now_mobile [L]
RewriteRule ^signup.nnm$ register.php [L]
RewriteRule ^digest.nnm$ digest.php [L]
RewriteRule ^logout-([^\/]+).nnm$ logging.php?action=logout&formhash=$1 [L]
RewriteRule ^logout-now-([^\/]+).nnm$ logging.php?action=logout&app=now_mobile&formhash=$1 [L]
RewriteRule ^pm.nnm$ pm.php [L]
RewriteRule ^search.nnm$ search.php [L]
RewriteRule ^favorite.nnm$ my.php?item=favorites&type=thread [L]
RewriteRule ^mark.nnm$ member.php?action=markread [L]
RewriteRule ^rules.nnm$ faq.php?page=custom#0 [L]
RewriteRule ^faq.nnm$ faq.php [L]
RewriteRule ^memcp.nnm$ memcp.php [L]
RewriteRule ^modify.nnm$ memcp.php?action=profile [L]
RewriteRule ^buddylist.nnm$ memcp.php?action=buddylist [L]
RewriteRule ^usergroups.nnm$ memcp.php?action=usergroups [L]
RewriteRule ^credits.nnm$ memcp.php?action=credits [L]
RewriteRule ^credits-exchange.nnm$ memcp.php?action=credits&operation=exchange [L]
RewriteRule ^credits-transfer.nnm$ memcp.php?action=credits&operation=transfer [L]
RewriteRule ^credits-addfunds.nnm$ memcp.php?action=credits&operation=addfunds [L]
RewriteRule ^credits-log.nnm$ memcp.php?action=credits&operation=creditslog [L]
RewriteRule ^credits-paymentlog.nnm$ memcp.php?action=credits&operation=paymentlog [L]
RewriteRule ^credits-incomelog.nnm$ memcp.php?action=credits&operation=incomelog [L]
RewriteRule ^credits-rewardpaylog.nnm$ memcp.php?action=credits&operation=rewardpaylog [L]
RewriteRule ^credits-rewardincomelog.nnm$ memcp.php?action=credits&operation=rewardincomelog [L]
RewriteRule ^feed/now$ parasy_now_api.php?action=feed&type=public [L]
RewriteRule ^tod$ plugin.php?identifier=tod&module=tod&action=home [L]
RewriteRule ^tod/$ plugin.php?identifier=tod&module=tod&action=home [L]
RewriteRule ^tod/([^\/]+)$ plugin.php?identifier=tod&module=tod&action=home&username=$1 [L]
RewriteRule ^tod/([^\/]+)/notes$ plugin.php?identifier=tod&module=tod&action=notes&username=$1 [L]
RewriteRule ^now$ plugin.php?identifier=now&module=now&action=index [L]
RewriteRule ^now/$ plugin.php?identifier=now&module=now&action=index [L]
RewriteRule ^now/page/([0-9]+)$ plugin.php?identifier=now&module=now&action=index&page=$1 [L]
RewriteRule ^now/([^\/]+)$ plugin.php?identifier=now&module=now&author=$1 [L]
RewriteRule ^now/([^\/]+)/friends$ plugin.php?identifier=now&module=now&action=friends&author=$1 [L]
RewriteRule ^now/([^\/]+)/([0-9]+)$ plugin.php?identifier=now&module=now&author=$1&page=$2 [L]
RewriteRule ^now/([^\/]+)/stats$ plugin.php?identifier=now&module=now&action=stats&author=$1 [L]
RewriteRule ^now/([^\/]+)/stats/xml$ parasy_now_api.php?action=stats_xml&type=data&author=$1 [L]
RewriteRule ^now/([^\/]+)/stats/xml/set$ parasy_now_api.php?action=stats_xml&type=setting&author=$1 [L]
RewriteRule ^js/now/([^\/]+)$ plugin.php?identifier=now&module=now&action=js&u=$1 [L]
RewriteRule ^js/now/([^\/]+)/gbk$ plugin.php?identifier=now&module=now&action=js&u=$1&oe=gbk [L]
RewriteRule ^ojs/now/$ plugin.php?identifier=now&module=now&action=ojs [L]
RewriteRule ^ojs/now$ plugin.php?identifier=now&module=now&action=ojs [L]
RewriteRule ^opost/now/$ plugin.php?identifier=now&module=now&action=opost [L]
RewriteRule ^opost/now$ plugin.php?identifier=now&module=now&action=opost [L]
RewriteRule ^oimg/now/$ plugin.php?identifier=now&module=now&action=oimg [L]
RewriteRule ^oimg/now$ plugin.php?identifier=now&module=now&action=oimg [L]
RewriteRule ^oimg/now/([0-9]+)$ plugin.php?identifier=now&module=now&action=img_set&img_id=$1 [L]
RewriteRule ^img/now/([^\/]+)$ plugin.php?identifier=now&module=now&action=img&u=$1 [L]
RewriteRule ^im$ plugin.php?identifier=now&module=now&action=im [L]
RewriteRule ^now-([0-9]+).html$ plugin.php?identifier=now&module=now&action=view&now_id=$1 [L]
RewriteRule ^now-new.html$ plugin.php?identifier=now&module=now&action=new [L]
RewriteRule ^json/home/tab/latest$ parasy_json_tab.php?m=json_home_tab_latest [L]
RewriteRule ^json/now/latest$ parasy_json_tab.php?m=json_now_latest [L]
RewriteRule ^json/dashboard/everyone$ parasy_json_tab.php?m=json_timeline [L]
RewriteRule ^dashboard$ parasy_dashboard.php [L]
RewriteRule ^topic-dashboard-([0-9]+)\.html$ viewthread.php?app=dashboard&tid=$1 [L]
RewriteRule ^recv/savepoint.nnm$ parasy_operation.php?type=svp&operation=new [L]
RewriteRule ^recv/dashboard-chl.nnm$ parasy_operation.php?type=chl&operation=new [L]
RewriteRule ^del/savepoint/([0-9]+)$ parasy_operation.php?type=svp&operation=del&savepoint_id=$1 [L]
RewriteRule ^del/chl/([0-9]+)$ parasy_operation.php?type=chl&operation=del&chl_id=$1 [L]
RewriteRule ^expense/view.nnm$ parasy.php?action=expense_view [L]
RewriteRule ^expense/view/([0-9]+)$ parasy.php?action=expense_view&page=$1 [L]
RewriteRule ^session/stats.nnm$ parasy.php?action=session [L]
RewriteRule ^new_features.html$ parasy.php?action=about [L]
RewriteRule ^about$ parasy.php?action=about [L]
RewriteRule ^topic-latest.html$ parasy.php?action=topic_latest [L]
RewriteRule ^topic-answered.html$ parasy.php?action=topic_answered [L]
RewriteRule ^topic/latest.html$ parasy.php?action=topic_latest [L]
RewriteRule ^topic/answered.html$ parasy.php?action=topic_answered [L]
RewriteRule ^m$ parasy.php?action=mobile_home [L]
RewriteRule ^m/$ parasy.php?action=mobile_home [L]
RewriteRule ^m/shuffle$ parasy.php?action=mobile_home&shuffle=1 [L]
RewriteRule ^m/([0-9]+)$ parasy.php?action=mobile_home&page=$1 [L]
RewriteRule ^t/([0-9]+)/([0-9]+)/([0-9]+)$ parasy_m_view.php?tid=$1&p_page=$2&page=$3 [L]
RewriteRule ^mobile-post-([0-9]+)-([0-9]+)-([0-9]+)\.html$ post.php?action=reply&fid=$1&tid=$2&p_page=$3&replysubmit=yes&mobile=1[L]
RewriteRule ^i$ parasy_touch.php?action=home [L]
RewriteRule ^i/$ parasy_touch.php?action=home [L]
RewriteRule ^i/view-([0-9]+)-([0-9]+).html$ viewthread.php?app=touch&view_thread&tid=$1&page=$2 [L]
=========================
按道理来说是不会出错的。真是郁闷不知道怎么回事那里没弄对。
另外网站根目录里用了一个index.php做了跳转。不知道会不会是这个问题。内容是:
<html>
<head>
<meta http-equiv="Content-Language" c>
<meta HTTP-EQUIV="Content-Type" C>
<title></title>
</head>
<body>
<form name=loading>
<P align=center><FONT face=Arial color=#0066ff size=2>loading...</FONT> <INPUT
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bolder; PADDING-BOTTOM: 0px; COLOR: #0066ff; BORDER-TOP-style: none; PADDING-TOP: 0px; FONT-FAMILY: Arial; BORDER-RIGHT-style: none; BORDER-LEFT-style: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-style: none"
size=46 name=chart> <BR><INPUT
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; COLOR: #0066ff; BORDER-BOTTOM: medium none; TEXT-ALIGN: center"
size=47 name=percent>
<SCRIPT>
var bar=0
var line="||"
var amount="||"
count()
function count(){
bar=bar+2
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{setTimeout("count()",100);}
else
{window.location = "http://286.tw/bbs/index.php ";}
}</SCRIPT>
</P></form>
</body>
</html>

[ 本帖最后由 mayapop 于 2010-1-13 22:32 编辑 ]

目前这个主题还没有回复,或许你可以帮楼主加盖一层?

在回复之前你需要先进行登录
用户名 / UID
密码
Project Parasynthesis | Based on Discuz! 5.5.0 | Thanks to Livid
About | Help | Developer | N2Design
清除 Cookies - 联系我们 - 无名杂志 - Archiver - Mobile
Processed in 0.042228 second(s), 8 queries, Gzip enabled