|
主题:[分享]升级到6.5后,个人空间目录导航链接出错的修改和讨论 [收藏主题] |
我是5.0升级5.5,接着升级到6.5,连续两次数据库升级都成功。
升级后,个人空间顶部导航菜单链接出错, 6.5个人空间正确的链接方式是:网址+/space/? 出错为:网址+blog- 出错后,所有菜单都找不到正确地址, 解决方法:打开ks-cls/kesion-Spacecls.asp,其中有一个判断语句: If KS.SSetting(21)="1" Then HomeUrl = "" & server.URLEncode(username) BlogUrl = "blog-" & server.URLEncode(username) MessageUrl= "message-"&server.URLEncode(username) ProductUrl= "product-"&server.URLEncode(username) IntroUrl = "intro-" & server.URLEncode(username) NewsUrl = "news-" & server.URLEncode(username) JobUrl = "job-" & server.URLEncode(username) RyzsUrl = "ryzs-" & server.URLEncode(username) AlbumUrl = "album-" & server.URLEncode(username) GroupUrl = "group-" & server.URLEncode(username) FriendUrl = "friend-" & server.URLEncode(username) XXUrl = "xx-" & server.URLEncode(username) InfoUrl = "info-" & server.URLEncode(username) Else HomeUrl = "../space/?" & server.URLEncode(username) BlogUrl = "../space/?" & server.URLEncode(username) & "/blog" MessageUrl= "../space/?" & server.URLEncode(username) & "/message" ProductUrl= "../space/?" & server.URLEncode(username) & "/product" IntroUrl = "../space/?" & server.URLEncode(username) & "/intro" NewsUrl = "../space/?" & server.URLEncode(username) &"/news" JobUrl = "../space/?" & server.URLEncode(username) & "/job" RyzsUrl = "../space/?" & server.URLEncode(username) & "/ryzs" AlbumUrl = "../space/?" & server.URLEncode(username) & "/album" GroupUrl = "../space/?" & server.URLEncode(username) & "/group" FriendUrl = "../space/?" & server.URLEncode(username) & "/friend" XXUrl = "../space/?" & server.URLEncode(username) & "/xx" InfoUrl = "../space/?" & server.URLEncode(username) & "/info" End If 修改: 将 If KS.SSetting(21)="1" Then 的 1 改为 0 后,问题解决。 讨论: 1。If KS.SSetting(21)="1" ,这个1在数据库那个表中,怎样修改? 2.我改为“0”对不对? 请斑竹看看,帮助我们菜鸟。 |
|
支持(0) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |