目錄權限設定
安裝完後變更以下目錄之權限為777
| language tmp cache administrator/manifests/packages administrator/language |
目錄權限設定
安裝完後變更以下目錄之權限為777
| language tmp cache administrator/manifests/packages administrator/language |
當我們嚐試設定Xoops使用LDAP認證後,但卻發生無法登入的情況
原來的Xoops預設資料庫登入的方式也無法使用,感覺就是要重灌了...
但其實只要改個地方就可以重新以預設的方式登入:
請修改 /class/auth/authfactory.php
| function &getAuthConnection($uname) { static $auth_instance; if (!isset($auth_instance)) { $config_handler =& xoops_gethandler('config'); $authConfig = $config_handler->getConfigsByCat(XOOPS_CONF_AUTH); include_once $GLOBALS['xoops']->path('class/auth/auth.php'); if (empty($authConfig['auth_method'])) { // If there is a config error, we use xoops $xoops_auth_method = 'xoops'; } else { $xoops_auth_method = 'xoops'; //新增此行 //$xoops_auth_method = $authConfig['auth_method']; //此處先標註,之後可以正常登入後,要改回來 } |
記得修改LDAP的設定為正確,或是改回原來的認證方式
作業環境:
作業系統:ubnutu server 11.0
安裝Xoops時在"設定檢查"的步驟出現警告:
圖片功能 延伸套件 無法使用
解決方式如下:
| Get moudle for php5 Gd lib #sudo apt-get install php5-gd Restart Apache2 # /etc/init.d/apache2 restart 參考來源:http://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/ |
"儲存設定"的步驟出現錯誤:
無法將 mainfile.dist.php 的內容複製到 mainfile.php 中/data/secure.dist.php
| sudo chmod 777 uploads |
PS:在解決上面的問題時,修改了mainfile.php的權限(777)再執行到第7步驟後,結果整個網站進不去
再載入網頁時,出現錯誤:HTTP 錯誤 500 (Internal Server Error):伺服器嘗試處理要求時遇到意外狀況。
| 因mainfile.php被修改所致,還原成原始的mainfile.php即可重新進到安裝畫面 |
下載Samsung Kies,安裝完後執行
結果就出現KIES的對話框後就不見了….
清查工作管理員也沒發現執行中的kies,
我猜想是開發程式的原因,對權限的要求比較嚴格
選"下列使用者",以本機的administrator身份來執行就正常了
附帶一提,此招在WIN7裏很好用,很多問題都可以用此法解決
測試了幾款虛擬PC(Virtual Box,Virtual PC)都無法安裝………
最後試了Vmware WorkStation 8.0 終於有動靜了,但還是出現錯誤,
上網找了解決方案,把VM的軟碟機設成不連接後,終於安裝完成
Windows 8 下載地址: