Sep 11
剛剛 Solaris 叔叔 跟我說他的 Blog 消失了.
找了一下問題之後發現這串 log :
[Sun Sep 11 19:40:49 2005] [error] [client 59.104.45.15] PHP Fatal error: Only variables can be passed by reference in ###/wp-includes/gettext.php on line 66
我針對這段作了小修改 , 原先的這段 code :
return array_shift(unpack("V", $this->STREAM->read(4)));
改成這樣就恢復正常了 :
$read_int_tmp = unpack("V", $this->STREAM->read(4));
return array_shift($read_int_tmp);
因為昨天晚上我把 PHP 從 5.0.4 升級到 5.0.5 , 所以這應該是 5.0.5 才會遇到的問題吧!?
更詭異的是, 我這邊跟 R 董那邊 都沒發生這個問題.
( 所以應該說是 Solaris 叔叔 帶賽?
)
Related posts:
Tags: PHP , WordPress(Visited 4622 times)





September 12th, 2005 at 8:52 am
Solaris董ㄟ最近因為被關起來,所以衰氣比較重一點,JH董ㄟ要體諒他一下 :mrgreen:
From
Using
September 12th, 2005 at 9:45 am
變數寫錯了吧 一一"
要去哪裡shift $jh_tmp.......
可惡 快出獄了啦
From
Using
September 12th, 2005 at 6:33 pm
改好了. =_=a
From
Using
September 14th, 2005 at 4:26 pm
[...] 以下僅就自己在 WP Codex: Plugins、WP Plugin Repository、coffee2code、hsuyo 的 WP 速記、Horn 的 Joe WP 相關文章、Max 的 WP 相關文章
From
Using
November 28th, 2005 at 8:21 pm
Fatal error: Only variables can be passed by reference in gettext.php on line 66 的解决办法
From
Using Unknown browser