1 頁 (共 1 頁)

搜尋會出現錯誤訊息

發表於 : 2011-12-16 09:36
RayChang
●主機作業系統:記得是Linux
●快速架站程式:無
●免費(或付費)空間連結: 確認中
●您的上網方式:固網跟ADSL都試過
●您安裝的程式:付費網站空間架設的,非自行安裝
●您的 phpBB 版本:phpBB 3.0.X
●您的 domain (網域名稱) :star-angel.idv.tw
●您的 phpBB 連結網址: http://star-angel.idv.tw/

早上有人反應,說搜尋功能有問題
試了一下,果然什麼都搜尋不到,回想可能是之前有不小心動到搜尋設定,
然後就去移除搜尋索引,重新建新的,
建好之後重新搜尋,功能已經恢復了,可是會跳出一大串錯誤訊息如下:

[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3537: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2967)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3539: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2967)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3540: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2967)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3541: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2967)

請問有人知道這是這麼回事嗎?
又,因為主機供應商已經將程式升級,例如PHP version升級到5.3.8,
猜想可能系統不升級不行,
因為我不是學資訊的(我念的是文科,電腦純粹是自學+義務),
想請教各位大大,該怎麼著手升級比較好呢?
之前幫這個站從PHPBB2.1x升級到PHP3.1,就搞了我大概快四個月時間 :((
現在升級到3.9,不知道會不會有什麼問題?

Re: 搜尋會出現錯誤訊息

發表於 : 2011-12-17 08:41
心靈捕手
建議您:
參考底下的文章,升級至最新版本。
viewtopic.php?f=174&t=51717
viewtopic.php?f=176&t=53949