91亚洲精品久久久蜜桃网站_超碰91在线__91.xxx.高清在线 国产婷婷一区二区三区_久久精品成人欧美大片_国产97在线 | 中文_亚洲AV无码乱码在线观看性色

目錄
目錄X
聯(lián)系信息 首頁 /正文內(nèi)容

sa升級到wf后全文檢索功能都提示找不到模板文件

問題描述:從sa一直升級數(shù)據(jù)庫到wf版本后,前臺全文檢索基本都報(bào)404錯(cuò)誤,后臺異常日志會記錄找不到相關(guān)模板文件

解決方法:原因就是在sa下搜索模板路徑是_Common/FullTextSearch;而wf公版默認(rèn)是_Common/FulltextSearch;在linux下就存在大小寫問題,通過數(shù)據(jù)庫批量替換,兩張表



UPDATE  PE_Common_SiteConfig 

SET FulltextSearchConfig = REPLACE(

    FulltextSearchConfig, 

    '_Common/FullTextSearch/Search/', 

    '_Common/FulltextSearch/Search/'

)

WHERE FulltextSearchConfig LIKE '%_Common/FullTextSearch/Search/%';



UPDATE  PE_FulltextSearch_SearchItem 

SET SearchResultListViewPath = REPLACE(

    SearchResultListViewPath, 

    '_Common/FullTextSearch/Search/', 

    '_Common/FulltextSearch/Search/'

)

WHERE SearchResultListViewPath LIKE '%_Common/FullTextSearch/Search/%';


執(zhí)行完后去運(yùn)維中心清空數(shù)據(jù)緩存,重新查看后臺相關(guān)配置會發(fā)現(xiàn)已經(jīng)更正,前臺全文檢索功能正常。



【打印正文】 發(fā)布時(shí)間:2025-12-18 17:30:38 瀏覽次數(shù): 作者: 來源:本站原創(chuàng)