dotproject & apache install problem

ssssss
edited 十月 2013 in PHP新手區
在xp sp2下安裝了appserv-win32-2.4.2及執行安裝dotproject,嘗試了好幾次但都不成功,dotproject.net回應不熟識window hosting環境解答不了.而mark' place的回應都是找不到原因,我在想是否在apache或php上安裝出現問題,因為安裝上只是跟著default setting做,沒有更改或改動window system內的設定.因為在三部window xp內都是出現同樣問題:FATAL ERROR: Root directory in configuration file probably incorrect.希望有那位大大可以幫幫忙

原始討論: http://twpug.net/x/modules/newbb/viewtopic.php?topic_id=200

評論

  • edited 一月 2005
    有試過換成使用appserv-win32-2.4.1這個版本嗎?

    記得最後一次安裝是使用這個版本~
  • edited 一月 2005
    doproject/include/config.php 內

    // local settings [DEFAULT example WINDOWS]
    $dPconfig = "C:/AppServ/www/dotproject"; // No trailing slash
    $dPconfig = "My Company";
    $dPconfig = "dotProject";
    $dPconfig = "http://localhost/dotproject";
    $dPconfig = "dotproject.net";

    有檢查過這裏嗎(root_dir)?我猜這兒設錯的機會很高!
  • ssssss
    edited 一月 2005
    多謝,但root_dir有什麼問題?因為看doc內說明應沒錯吧,而且apache是安裝在c:內的apache folder,若是更改要請問怎樣更改?而window內的php要否需要改動?
  • edited 一月 2005
    修改設定檔案即可,不需要去修改系統設定;可以試著找找自己電腦上的下面資訊:

    1. APPSERV的安裝路徑
    2. dotproject程式的存放路徑
    3. 設定檔案( doproject/include/config.php )的內容

    可以把它貼上來,或許答案就出來了。
  • ssssss
    edited 一月 2005
    我刪除在機內舊版的appserv-win32-2.4.2再重新安裝了appserv-win32-2.4.1,但在phpadmin Create new mysql database時出現了以下error信息#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    請問是什麼原因
  • ssssss
    edited 一月 2005
    剛才mysql原來忘記打上名稱,現已creat了新account.不過情況依舊.一般上是否只依照正常情況安裝應不需要其他地方再做setting嗎?
    以下是在config.php內的設定
    * * * INSTALLATION INSTRUCTIONS * * *

    YOU MUST customise "config-dist.php" to your local system:

    1) COPY config-dist.php to "config.php" [if it doesn't exist]

    2) EDIT "config.php" to include your database connection and other local settings.
    */

    // DATABASE ACCESS INFORMATION [DEFAULT example]
    // Modify these values to suit your local settings

    $dPconfig = "mysql"; // ONLY MySQL is supported at present
    $dPconfig = "localhost";
    $dPconfig = "dotproject_102.sql"; // Change to match your DotProject Database Name
    $dPconfig = "dotprojectmysql"; // Change to match your MySQL Username
    $dPconfig = "dotproject"; // Change to match your MySQL Password
    $dPconfig = ""; // Change to match your Db Port or use the standard value of 3306 if string is empty

    // set this value to true to use persistent database connections
    $dPconfig = true;

    // check for legacy password
    // ONLY REQUIRED FOR UPGRADES prior to and including version 1.0 alpha 2
    $dPconfig = false;

    /*
    Localisation of the host for this dotproject,
    that is, what language will the login screen be in.
    */
    $dPconfig = "en";

    /*
    Localisation of the currency-symbol.
    For the EURO sign symbol set to ... = "€";
    Check http://www.w3.org/TR/html401/sgml/entities.html
    for information about html special characters.
    */
    $dPconfig = "$";

    // default user interface style
    $dPconfig = "default";

    // local settings [DEFAULT example WINDOWS]
    $dPconfig = "C:/apache/www/dotproject"; // No trailing slash
    $dPconfig = "My Company";
    $dPconfig = "dotProject";
    $dPconfig = "http://localhost/dotproject";
    $dPconfig = "dotproject.net";

    // enable if you want to be able to see other users's tasks
    $dPconfig = false;

    // enable if you want to support gantt charts
    $dPconfig = true;

    /** Sets the locale for the jpGraph library. Leave blank if you experience problems */
    $dPconfig = '';

    // enable if you want to log changes using the history module
    $dPconfig = false;

    // enable if you want to check task's start and end dates
    // disable if you want to be able to leave start or end dates empty
    $dPconfig = true;

    // warn when a translation is not found (for developers and tranlators)
    $dPconfig = false;

    // the string appended to untranslated string or unfound keys
    $dPconfig = '^';

    // the number of 'working' hours in a day
    $dPconfig = 8.0;

    // set debug = true to help analyse errors
    $dPconfig = false;

    // set to true if you need to be able to relink tickets to
    // an arbitrary parent. Useful for email-generated tickets,
    // but the interface is a bit clunky.
    $dPconfig = false;

    // Calendar settings.
    // Day view start end and increment
    $dPconfig = 8; // Start hour, in 24 hour format
    $dPconfig = 17; // End hour in 24 hour format
    $dPconfig = 15; // Increment, in minutes
    $dPconfig["cal_working_days"] = "1,2,3,4,5"; // days of week that the company works 0=Sunday

    //File parsers to return indexing information about uploaded files
    $ft["default"] = "/usr/bin/strings";
    $ft["application/msword"] = "/usr/bin/strings";
    $ft["text/html"] = "/usr/bin/strings";
    $ft["application/pdf"] = "/usr/bin/pdftotext"
  • edited 一月 2005
    Appserv 的移除需要先停用 apache 與 mysqld 的服務或是透過反安裝程式進行

    在本站的檔案中有包含一個MARK製作的說明簡報,不妨下載看看吧~
  • ssssss
    edited 一月 2005
    找不到那檔案文件,請問是放在下戴區嗎?

    另想問若是安裝在linux機器上應安裝在那位置?我有部舊機pii400跑mandrake9.1的,因為官方已不提供update,裝在那裡有否問題?
  • edited 一月 2005
    下載區的 dotproject 壓縮檔案中

    LINUX的路徑要看你當初安裝後有沒有改,REDHAT體系的大多是 /var/www/html ;至於問題就看你對它的熟悉度與運氣囉~
  • edited 一月 2005
    http://rt.openfoundry.org 下戴了另一個dotproject連中文的安裝檔案dotproject-1.0.2.1-20041216-pack_by_markwu.rar,是否因包括中文檔因為有8m多大,而之前從dotproject.net下戴的就只有2m多,那個才正確?

    不過安裝後又出現以下訊息Warning: mysql_pconnect(): Access denied for user: '[email protected]' (Using password: YES) in C:\AppServ\www\dotproject\includes\db_mysql.php on line 18
    FATAL ERROR: Connection to database server failed
    請問是什麼地方出問題?

    還有這次看到config內path是C:\AppServ\www\dotproject和從dotproject.net下戴版內的config和 doc都是寫著C:\apache\www\dotproject,在硬碟內的安裝路徑是C:\AppServ\apache\www\ dotproject,那以上情況兩者有什麼不同?

    1. 兩個都正確,MARK的是因為把中文字型與一些外掛都包進去才會這麼大

    2. 密碼或是使用者錯誤

    3. 沒有什麼不同,只是APACHE設定路徑的差異
  • ssssss
    edited 一月 2005
    請問在web hosting內怎設定path?例如"localhost"及"root_dir"應怎樣設置?sit_domain是否寫上自己網址?
  • edited 一月 2005
    虛擬主機路徑的問題請詢問主機商,每家的設定不太一樣

    細節的設定請自行測試看看,因為我不確定自己是怎麼把它裝起來的...

    ├132┤
Sign In or Register to comment.