Joomla search shows error methods.php on line 138

After enabling Joomla's default search,it may show in the search results "Warning: sprintf() [function.sprintf]: Too few arguments in /home/fulubus/public_html/libraries/joomla/methods.php on line 138Error message,Although it doesn't affect the outcome,It is quite annoying。

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

 


[Related Links]

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.