PDA

查看完整版本 : 安裝xoops出現問題...


-KevinKao-
2004-10-17, 06:55 PM
本中文安裝說明由
XOOPS繁體中文支援站-浪游者之愛玩電腦 (http://tw.xoops.org) 全體開發小組製作。
若需引用請勿刪除本版權宣告。。

版本日期:xoops_v1.3.10 繁體中文版 release 20030427
說明檔日期:2003_04_27
此說明是給 XOOPS V1.3.10 繁體 release 20030427版 全新安裝使用

--------------------------------------------------------------------------------

XOOPS 1.3.10 繁體中文版 release 20030427 安裝說明

--------------------------------------------------------------------------------

一.支援及必須的作業系統及環境

1.支援系統
linux(freebsd & other *nux)+apache+php+mysql
MS-Win+apache+php+mysql
MS-Win+iis+php+mysql
mac osx+apache+php+mysql

2.必須環境
php 建議4.1.X以上(不建議php4.2.3)
mysql需3.23.x以上
apache1.3.26以上(不建議 apache2)

3.附註:
3-1.目前不建議使用winxp架設,除非您非常了解XP的系統和web server及php和mysql之間的設定。
3-2.沒有架設mail server者,需自行尋找轉信的mail server。
3-3.雖然測試可在MS-IIS網站伺服系統下運行,但官方不支援IIS的支援。

--------------------------------------------------------------------------------

二.自動安裝步驟

1.解開壓縮檔,將html目錄裡的檔案用FTP上傳至你的網站目錄,請注意文字模式(ASCII)與非文字模式的問題。

本繁體版本預設為繁體中文模式,
如果你的網站要使用英文,請先執行1-1的修改,
如果確定要使用中文,請直接由第2步驟安裝即可.

1-1
// 內定語言
修改檔案:modules/system/cache/config.php
原本:$xoopsConfig['language'] = "tchinese";
改為:$xoopsConfig['language'] = "english";
1-2
// 會員名稱嚴格程度! (最嚴格 (只允許英文字及數字)=0 中等=1 寬鬆(允許中文註冊名稱選此項)=2)
原本:$xoopsConfig['uname_test_level'] = 2;
改為:$xoopsConfig['uname_test_level'] = 0;

以下為目錄及檔案權限設定,WIN32用戶可以忽略(MS用戶請將網站權限設為可讀寫並包含所有子目錄及檔案即可)。

--------------------------------------------------------------------------------

2.設定檔案屬性

2-1.將mainfile.php的檔案屬性設為666(MS=可讀寫)。
2-2.
以下目錄屬性設為777(可讀寫)

modules/headlines/cache
modules/xoopsfaq/cache
images/avatar/users

2-3.將以下所有檔案屬性設為666(可讀寫)

modules/mydownloads/cache/config.php
modules/mylinks/cache/config.php
modules/news/cache/config.php
modules/xoopspoll/cache/pollsblock.inc.php
modules/system/cache/config.php
modules/system/cache/adminmenu.php
modules/system/cache/badwords.php
modules/system/cache/badunames.php
modules/system/cache/badips.php
modules/system/cache/mainmenu.php


3.開啟瀏覽器,執行http://您的XOOPS網址/install.php :cry :cry

上面所有步驟都依照設定後... 但執行http://您的XOOPS網址/install.php
就跑出下列錯誤訊息ㄝ

Warning: Unknown(/home/kevinkao/public_html/install.php): failed to open stream: Permission denied in Unknown on line 0

Warning: Unknown(/home/kevinkao/public_html/install.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)(): Failed opening '/home/kevinkao/public_html/install.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0



4.此時你將會看到系統中可顯示的語言,請於下拉選單中選取你所要使用的語言(中文=tchinese)。


我的主機環境是:
Apache 1.3.31 (Unix)
MySQL 4.0.20-standard
PHP 4.3.9
Perl 5.8.4
Kernel 2.4.27-grsec
Cpanel 9.9.2-STABLE-8

請問... 各位大大高手,到底問題出在哪ㄋ? :huh:
Thanks...