Monthly Archives: 七月 2008

修正 WhereDidTheyGo plugin 在 WP 2.6 的錯誤訊息

更新到 Wordpress 2.6 之後, Where did they go from here 這個 plugin 就會跳 warning 出來.
warning: unserialize() expects parameter 1 to be string, array given in /home/xxxxxxxx/public_html/wp-content/plugins/wheredidtheygov1.php on line 97
參考其他 plugin 的解法是先用 is_serialized() 判斷, 如下修改即可
64,66c64
< [...]

Posted in wordpress | Tagged , | Leave a comment

[筆記] VirtualBox 網路設定

記下我的 VirtualBox 網路設定
安裝
sudo apt-get install uml-utilities bridge-utils
/etc/network/interfaces
auto lo
iface lo inet loopback
name Loop interface
auto br0
iface br0 inet static
pre-up ifconfig eth0 down
post-up ifup eth0
address 192.168.22.2
network 192.168.22.0
netmask 255.255.255.0
broadcast 192.168.22.255
gateway 192.168.22.1
bridge_ports eth0
auto eth0
iface eth0 inet manual
name Ethernet LAN card

/etc/vbox/interfaces
#sudo VBoxAddIF vbox0 $USERNAME br0
vbox0 pctao br0
reboot, vbox0 is ready for you.

Posted in hardy, ubuntu | Tagged , , | Leave a comment
  • Google Friend Connect

  • Just for you

    Powered by MyBlogLog
  • Meta