twitter
    Find out what I'm doing, Follow Me :)

drupal6的安裝經驗談

  1. 中文問題:雖然網路上除去basename跟加iconv的方可以解決,但是如果要給上傳的檔案分類到不同的目錄,則這個方式就會失效,所以還是乖乖用拼音法就好,日後才不會不好管理。
  2. 上傳大量圖片:目前Image FUpload的功能是可以大量上傳沒問題,但不能正確分入所指定的目錄,所以暫時不大適合用。
  3. view的功設定可以參考:http://www.cc.ntu.edu.tw/chinese/epaper/0008/20090320_8009.htmhttp://www.cc.ntu.edu.tw/chinese/epaper/0009/20090620_9009.htm

drupal6 安裝時遇到register_globals問題該怎麼辦

修改
\modules\system\system.install

以下全部mark起來
$register_globals = trim(ini_get('register_globals'));
// Unfortunately, ini_get() may return many different values, and we can't
// be certain which values mean 'on', so we instead check for 'not off'
// since we never want to tell the user that their site is secure
// (register_globals off), when it is in fact on. We can only guarantee
// register_globals is off if the value returned is 'off', '', or 0.
if (!empty($register_globals) && strtolower($register_globals) != 'off') {
$requirements['php_register_globals']['description'] = $t('register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings.');
$requirements['php_register_globals']['severity'] = REQUIREMENT_ERROR;
$requirements['php_register_globals']['value'] = $t("Enabled ('@value')", array('@value' => $register_globals));
}
else {
$requirements['php_register_globals']['value'] = $t('Disabled');
}

分頁小工具