|   
 
 | 
| 1、Q:升级完了  现在打开论坛的主题打不开了 显示这样的: microsoft jet database engine 错误 '80040e10'
 至少一个参数没有被指定值。
 /bbs/announce/announce.asp,行 650
 
 怎么办啊?
 
 A:以下文件夹需要删除,重新传输4.0文件:
 
 announce,manage,user,board,search
 其它文件或文件夹可以采用替换方式完成升级。在替换完成后,修改bbssetup.asp重新指定好管理员账号。
 
 
 2、添加安全网址的方法:
 
 打开a\inc\leadcode.js
 查找
 case gbl_domain:
 在上面添加
 case '你要添加的安全的域名':
 
 下面红色部分即为添加的部分。
 
 function chklink(ul)
 {
 if(ul.substr(0,3) == '../'){return 1;}
 ul = ul.match(/^http:\/\/(\w+\.)?(\w+?\.\w+)/);
 if (ul && ul[2])
 {
 switch (ul[2].tolowercase())
 {
 case 'leadbbs.com':
 case '53520.com':
 case 'wensui.com':
 case gbl_domain:
 return 1;
 }
 }
 return 0;
 }
 
 
 3、Q:选择头像时提示:“此头像你无权限使用。”
 A:user/inc/user_fun.asp里,这些删除:
 
 if (form_userphoto = 245 or lcase(right(form_faceurl,8)) = "0245.gif") and gbl_userid <> 23 then
 gbl_chk_tempstr = "此头像你无权限使用。<br>"
 gbl_chk_flag = 0
 exit function
 end if
 
 if (form_userphoto = 246 or lcase(right(form_faceurl,8)) = "0246.gif") and gbl_userid <> 1 then
 gbl_chk_tempstr = "此头像你无权限使用。<br>"
 gbl_chk_flag = 0
 exit function
 end if
 
 可以把id和文件名修改一个作为你自己的专用头像,,何必删除呢。
 
 4、Q:升级论坛,执行update.asp时出现如下错误:
 
 microsoft vbscript 运行时错误 错误 '800a005e'
 
 无效使用 null: 'replace'
 
 /bbs/update/update.asp,行 277
 
 A:打开update.asp
 将
 otherinfo = replace(otherinfo,chr(0),"") '修复一些包含有结束符的错误字节
 lastinfo = replace(lastinfo,chr(0),"") '修复一些包含有结束符的错误字节
 改为
 otherinfo = replace(otherinfo & "",chr(0),"") '修复一些包含有结束符的错误字节
 lastinfo = replace(lastinfo & "",chr(0),"") '修复一些包含有结束符的错误字节
 
 
 引起原因为你的数据库历史错误有所问题,可能从3.14之前版本升级过来并且数据未能完整修复。
 | 
 |