3月 11 2009

Wordpress admin panel plugin 無法安裝問題解決方法

對應版本 :
Wordpress 2.7.1

主要症狀 :
Plugin 只可手動安裝,admin panel 的 plugin 不能 auto upgrade / delete

主要 error message :
“Unable to locate WordPress Plugin directory.” 找不到 Plugin 目錄
“Unable to locate WordPress Content directory.” 找不到 Content 目錄

原因 :
FTP_PLUGIN_DIR 及  FTP_CONTENT_DIR 兩個參數沒有設定
估計在部份server 用來detect server path 的code 沒有正常運作

Solving Method:
在 wp-config.php 加入以下 code 進行強制設值
紅字請自行修改為 server 真實路徑

define(‘FTP_CONTENT_DIR’, ‘/user/home/wp/wp-content‘);
define(‘FTP_PLUGIN_DIR’, ‘/user/home/wp/wp-content/plugins‘);

plugin的自動update真的很神 !
整番就可以用了~~ 超爽~~

Wordpress D plugin 會令人安到上癮
基本消費都在3-4個
如果下下手動install/update真係會死的 = w =
所以不可以讓他壞掉

遲下出張 “我的WP外掛 list”~


4 Responses to “Wordpress admin panel plugin 無法安裝問題解決方法”

Leave a Reply