Archive for 九月, 2007
WordPress 2.3: wp_post2cat does not exist
Posted by essoduke - 2007 年 09 月 27 日 22:42:43 - 1,475 User Views在升級 WordPress 2.3 以後,發表文章時可能會噴「wp_post2cat does not exist」錯誤訊息。
主因是 2.3 升級程式會將 wp_post2cat 以及 wp_categories 兩個資料表刪除,而下列外掛或佈景會需要用到此兩個資料表:
- Google Sitemaps Generator older than 3.0
- Posts by Author plugin
- Ultimate Tag Warrior
- K2 Theme
詳見:Solution for 2.3 database errors / wp_post2cat does not exist
臨時解決方案 – 將這兩個 table 重建回來
wp_post2cat
- CREATE TABLE wp_post2cat(rel_id bigint(20) NOT NULL AUTO_INCREMENT, post_id bigint(20) NOT NULL default 0, category_id bigint(20) NOT NULL default 0, PRIMARY KEY (rel_id), KEY post_id(post_id, category_id)) ENGINE = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =1;
wp_categories
- CREATE TABLE wp_categories(cat_ID bigint(20) NOT NULL AUTO_INCREMENT, cat_name varchar(55) NOT NULL default "", category_nicename varchar(200) NOT NULL default "", category_description longtext NOT NULL, category_parent bigint(20) NOT NULL default 0, category_count bigint(20) NOT NULL default 0, link_count bigint(20) NOT NULL default 0, posts_private tinyint(1) NOT NULL default 0, links_private tinyint(1) NOT NULL default 0, PRIMARY KEY (cat_ID), KEY category_nicename(category_nicename )) ENGINE = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =1;
Technorati Tags: wordpress
本日無用知識
Posted by essoduke - 2007 年 09 月 27 日 22:17:49 - 531 User Views請使用 Microsoft Excel 2007 計算 850 x 77.1…
答案會是「100000」
看來是浮點數出了問題,不過只要將該儲存格的數值繼續做減、乘、除法運算,就會得出正確解答。
延伸閱讀:
- Microsoft Excel : Calculation Issue Update
- Arithmetic Is Hard–To Get Right
- 850 * 77.1=?愛用Excel的你快試試看! – Engadget 癮科技
- Excel 2007 Bug : 850 * 77.1 = 100000 ? – 破月的紅軍
WordPress 2.3 release
Posted by essoduke - 2007 年 09 月 26 日 11:35:14 - 515 User Viewstickets closed for Worepress 2.3
changelog:
- 修正了 351 個 bug!
- 內建 tag 功能
- 開啟 TinyMCE 隱藏模式 XD
一樣開啟暴力升級法過關…
Technorati Tags: wordpress
GobalAsia 虛擬主機亞洲推廣中心
Posted by essoduke - 2007 年 09 月 25 日 02:33:11 - 766 User Views這次購買 HostMonster 主機是透過 GobalAsia 虛擬主機亞洲推廣中心,只要一年以上方案就能有 42% 的折扣(NT1,000) 的優惠金可回饋。
只要加入 GobalAsia 會員,並選擇專屬優惠碼,再經由優惠碼連結完成購買程序,待審核過後並經過各主機商的試用退款期後就會入帳,所以目前還在等待觀望。
※目前僅提供台灣、中國、香港等地用戶

GobalAsia 目前提供的主機商有:
- HostMonster.com – 42%
- IPOWER.com – 31%
- Lunarpages.com – 50%
- StartLogic.com – 42%
- PowWeb.com – 43%
- ANhosting.com – 36%
- iPowerWeb.com – 31%
- GoDaddy.com – 40%
- HostRocket.com – 51%
- ServerPronto.com – 25%
- Aplus.net – 27%
- FatCow.com – 30%
- Bluefishhosting.com – 36%
HostMonster 中文支持站也提供「兩年方案,每月 4.95 美金」的優惠。
Technorati Tags: virtual host, hostmonster, GobalAsia, 虛擬主機
重新來過
Posted by essoduke - 2007 年 09 月 24 日 03:01:34 - 685 User Views我被 Dreamhost 停權了
主因是我的空間內有數個受版權保護的檔案,9/1 通知後 20 天內並無刪除,便逕行停權。
事實上,我完全不知道 9/1 有被通知,所以直到昨天上午無法連結時才發現有此事,在得知網站資料無法回復後,隨即向 HostMonster 租新主機。
原本 DW 明年 2 月才到期,這次的突發事件等於浪費剩餘的 5 個月費用和一堆網站資料,幹壞事果然得不償失啊!
會轉向 HostMonster 是因為據說此主機商主打客戶為亞洲地區,所以有針對亞洲做線路最佳化,果然,測試後的平均下載速率有 300KB+,的確名不虛傳。

也因為如此,所以狠心一次租了兩年,也算是貪個小便宜了…
Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds.
Valid XHTML and CSS.



