雖然之前我有針對 WordPress 2.0 無法trackback時,整理了一個簡單的解決方案,不過還是陸陸續續有人反映一樣trackback不出去。
這些不管是用email,還是直接在迴響裡反映的人,有的是因為直接把 diff 檔覆蓋掉原來的source(所以我後來又釋出了已經patch過的版本),有的則是說改過了還是不行。想一想,我決定談談我自己碰到無法trackback時,如何檢查這個狀況。
在這個時代, blogging 就像是深呼吸一樣。
升上WordPress 2.0 之後,又開始了一小段修修補補改改加加的生活。 除了之前的trackback i … 閱讀全文
在我釋出程式並把我自己的資料轉換到AM之後,就把code埋到svn裡去了。畢竟,把資料從PMT轉換到AM這種事,作一次就夠了。
不過感謝 GAAP 的測試,他發現一個在note(附註欄位)的bug。這個 bug 會使得某些中文字在轉換後變成亂碼,如 “)” 這個全形的括號。
在檢視code之後,發現是在使用 search&replace 作escape 時出了問題。
After upgrading to wordpress 2.0, I found the WP2.0 is failed to send trackback.
This issue is also confirmed by ijliao, priv, and Ah Knight’s Blog.
There has been a workaround in Ah Knight’s Blog for this issue.But even you clean up the “to_ping” field, you may encounter this issue again later. Instead of clean up the “to_ping” field times by times, I try to dig the bug out from the source.
An english version of this post can be found here .
把站台從 wordpress 1.5 升上 wordpress 2.0 的人們,可能發現不能 Trackback了。我,也中標了。
Ah Knight’s Blog提供了一個蠻暴力的解法變通的方法:把資料庫中的 to_ping欄位給清光光,並提及可能的原因是:
this problem is because of to_ping field contain some char ( including space, tab which represent by \n\r )
正好在 IRC 上,我跟 ijliao、priv也在討論這個問題,既然問題可能出在 to_ping這個欄位,於是乾脆進source裡翻翻看,看問題到底出在哪裡。
不翻則已,一翻嚇出一聲冷汗。
嗯,我把 WP 2.0 給掛上去了。
新的界面還在適應,theme完全沒改,不曉得會不會出什麼狀況。
升級的過程中,我參考了:
基本上,一切都還蠻順利的。原來擔心的「plugin很多不能用」也沒有發生。以下是我的 worklog,有興趣的人可以參考一下: