Joomla搜尋出現methods.php on line 138的錯誤

  Joomla預設的搜尋啟用後可能會在搜尋結果出現「Warning: sprintf() [function.sprintf]: Too few arguments in /home/fulubus/public_html/libraries/joomla/methods.php on line 138」的錯誤訊息雖然不會影響結果但頗為礙眼

  Joomla論壇上有網友提供解決方法打開joomla目錄下的/language/zh-TW/zh-TW.com_search.ini搜尋「TOTALRESULTSFOUND=」字串等號後方會是「總共找到 %s 筆紀錄. 搜尋 <b>%s</b> 使用」這邊要把其中一個%s拿掉我是只保留「總共找到 %s 筆紀錄」如此便不會再出現警告訊息

 


【相關連結】

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.