原帖由 火狼王子 于 2008-3-9 01:39 发表   
 
方法: 
 
1.打开threadfocus.php 
查找:  
后面加: 
 
查找: 
改为:  
 
查找: 
 
改为: 
 
 
2.打开threadfocus.htm(有四处) 
分别查找: 
所有前面加:   
 
謝謝樓主再度幫忙 
不過加進去之後卻出現錯誤 
Parse error: syntax error, unexpected T_STRING in xxx/plugins/firewolf_indextoplist/threadfocus.php on line 163 
 
想說樓主能不能放上來修改好的文件 
再度感謝:)   
 
如果把第一段要加的""拿掉 
就會變成 
Discuz! info: MySQL Query Error 
 
User: xxxxx 
Time: 2008-3-9 4:02pm 
Script: /xxx/index.php 
 
SQL: SELECT t.tid, t.author, t.authorid, t.subject, t.dateline, t.lastpost, t.lastposter, t.views, t.replies, t.highlight, t.highlight, t.fid, t.typeid, ty.name AS typename, f.name FROM [Table]threads t, [Table]forums f LEFT JOIN [Table]threadtypes ty ON ty.typeid=t.typeid WHERE f.fid IN(2,3,6,7,22,23,20,12,13,10,9,18,21,17,15,16) AND f.fid=t.fid AND f.fid not in (0) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0,10 
Error: Unknown column 't.typeid' in 'on clause' 
程序文件跟数据库有冲突,请使用正确的程序文件上传上去覆盖 
 
[ 本帖最后由 kkyoiori2001 于 2008-3-9 16:04 编辑 ] |