1 頁 (共 1 頁)

fpcode在Win平台安裝

發表於 : 04/07/2002 8:27 pm
alan
各位大大,小弟是PHP與MySQL的新手,嘗試在Win2000上安裝fpcode。PHP與MySQL皆已正確安裝,但在進入fpcode的主頁時,出現下列錯誤訊息。Fatal error: Failed opening required '/fpcode/includes/dbconnect.inc.php' (include_path='.;c:\php\includes') in g:\program files\appserv\www\fpcode\includes\index.inc.php on line 29
我猜應是MySQL那邊的問題,煩請大大指點迷津。

fpcode在Win平台安裝

發表於 : 04/08/2002 9:59 am
bryanchang
這是你在 config.inc.php 檔中 $fpconfig["root_path"] 這個參數值有問題所致。建議你跑跑看 info.php 那個檔案來找找到底檔案正確的路徑應該為何。

fpcode在Win平台安裝

發表於 : 04/09/2002 3:20 am
alan
我試過輸入info.php中Apache Environment
DOCUMENT_ROOT的內容
g:/program files/appserv/www
到config.inc.php中
$fpconfig["root_path"] = "g:/program files/appserv/www";
也試過
$fpconfig["root_path"] = "g:/program files/appserv/www/fpcode";
結果都是一樣。

fpcode在Win平台安裝

發表於 : 04/09/2002 3:24 am
digdog
<BLOCKQUOTE><font size="1" face="XYZ">quote:</font><HR>原始發信人 alan:
<STRONG>我試過輸入info.php中Apache Environment
DOCUMENT_ROOT的內容
g:/program files/appserv/www
到config.inc.php中
$fpconfig["root_path"] = "g:/program files/appserv/www";
也試過
$fpconfig["root_path"] = "g:/program files/appserv/www/fpcode";
結果都是一樣。</STRONG><HR></BLOCKQUOTE>

Windows 下是用「\」而不是「/」

fpcode在Win平台安裝

發表於 : 04/09/2002 5:28 pm
alan
感謝兩位大大,現以可以正常運作了。
但還有些細項東西要修改,若有問題再舉手發問!! [img]images/smiles/icon_smile.gif[/img]

fpcode在Win平台安裝

發表於 : 04/09/2002 10:39 pm
alan
請問在軟體連結標題旁邊有個>>所有下載是做啥用的?
我試著有兩個以上的連結,他還是沒啥作用 [img]images/smiles/icon_confused.gif[/img]