由於在公司內部有使用 Windows Server 所架設的Active Directory主機,Joomla 可以透過 Windows Server 的Active Directory來進行帳戶的認證
一、在Joomla的伺服器端必需確認 PHP的外掛模組 php_ldap.dll 是否已經啟用,在 php.ini 檔中 將 ;"extension=php_ldap.dll" 這行前面";"(分號)給刪除,然後重啟Apahe服務
二、進到Joomla後台管理,啟用LDAP 外掛並設定以下的連接參數
今天發現Jcomments 回應的驗證碼怎麼變叉燒包了...
查了資料原來是小BUG
資料來源 ...
http://premius.net/blog/web-design/101-how-to-fix-jcomments-captcha-image-not-showing.html
If JComments CAPTCHA picture is not showing on your site, you may try the following fix. The error was noticed with Jcomments 2.3.0 and Joomal 2.5.8, Godaddy webhosting.
- Open file /administrator/components/com_jcomments/admin.jcomments.php
- Find line:
$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfgcaptchaengine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine'));
and replace with:
$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfgcaptchaengine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine', 'kcaptcha'));
- Save changes in file
- Open JComments settings and re-save current settings
今天發現突然發現 Google Analytics 的網站怎麼都沒有流量...由於前兩天有改了網站的佈景主題,沒有順便跟著改網站的Google Analytics ,如果改一次就要重弄一次還真煩,有時還會忘記。 在外掛區中找到了 Nice Google Analytics 這個外掛 ,下次就不會漏掉要改網頁分析碼的問題了。
在安裝元件的時候出現
JFolder::create: Could not create directory
這個錯誤訊息
這個大多發生在網站移到不同的虛擬主機後發生的問題,原安裝的路徑與新虛擬主機的路徑不同,只要修改為"主機上的絕對路徑"
public $log_path = '/webhome/logs';
public $tmp_path = '/webhome/tmp';
這樣即可
這兩個參數值在後台的系統設定值找到
至於要怎麼知道絕對路徑請看這篇