Dotprojec installation manual
Author: generalxu
Dotproject is an open source project management software based on lamp. The development language is Php, and MySQL is recommended for databases by default (it can be understood as only MySQL ).
Dotproject home: http://www.dotproject.net/
Software Version
Appserv-win32-2.4.2.exe; (Toolkit types include Apache, PHP, MySQL );
Dotproject-1.0.2.1
The Chinese package uses the Chinese package of dotproject_2.20.rc2;
Installation Steps
1) install appserv2.4.2
Appserv is an open-source combination, including Apache HTTP Server, MySQL, and PHP;
2. Install appserv2.4.2.exe. the default option is enough soon. After installation, check the options and start Apache and MySQL. Install it in the D:/appserv directory.
3) decompress the dotproject1.0.2 zip package to the D: "appserv" www "dotproject directory (this is a web project of Apache)
4) Access http: // localhost/PHPmyAdmin/. You can see the "New Database" and enter the library name dotproject,
Character encoding: gb2312, submit; on the new page, select "SQL", and then select dotproject_102. SQL from the D: "appserv" www "dotproject" DB "directory to execute, in this way, the database has data.
5) modify the configuration file, dotproject/include/below there is a default config-dist.php, we on the basis of this file to change, first CP config-dist.php config. PHP, and then edit the config. PHP file, which can be modified as follows:
Database Configuration
$ Dpconfig ['dbtype'] = 'mysql'; // only MySQL is supported at present
$ Dpconfig ['dbhost'] = 'localhost'; // The Name Of The database server. Do not change it.
$ Dpconfig ['dbname'] = 'dotproject'; // name of the database you just created
$ Dpconfig ['dbuser'] = 'hongsoft '; // Database User Name
$ Dpconfig ['dbpass'] = 'hongsoft '; // password of the user above
$ Dpconfig ['dbport'] = ''; // modify it to your MySQL port. If you have not changed it, do not change it here.
Site Configuration
$ Dpconfig ['root _ dir'] = 'd:/appserv/www/dotproject '; // the absolute path of the dotproject
6) Access http: // localhost/dotproject
User admin password passwd
Note:
If the message "Login Failed" is displayed, it is not the correct password, but the error in config. php.
If it is 2.0.1, config. php is different from the above, but the basic configuration is the same, but the content to be configured is less.
7) localization method:
Because 1.02 of Chinese packages were not found, 2.1 of Chinese packages were used here;
① Copy the Chinese package zh_cn folder in the Chinese version of dotproject2.1 to D: "appserv" www "dotproject" locales
② Log on to the system with "user admin password passwd;
③ Click the "system admin" menu;
④ ClickPreferences-Default user preferences select the locale drop-down list in the new interface, and then select "ZH-CN ";
⑤ Close the interface and log on to the system again. Then the localization work will be completed;
8) garbled Solution
Find the db_connect.php file under the D: "appserv" www "dotproject" includes directory, and then
// Make the connection to the DB
Db_connect ($ Appui-> CFG ['dbhost'], $ Appui-> CFG ['dbname'],
$ Appui-> CFG ['dbuser'], $ Appui-> CFG ['dbpass'], $ Appui-> CFG ['dbport'], $ Appui-> CFG ['dbpersist']);
After the code is executed, add the following statement and save it; then the Garbled text problem can be solved.
Mysql_query ("set character_set_connection = utf8, character_set_results = utf8, character_set_client = binary"); // generalxu
9) modify the port number
Find the httpd. conf file under D: "appserv" Apache "Conf, and modify the number following the listen;
Listen 8000.
# Listen 12.34.56.78: 80
The port number set here is 8000.
10) the Gantt chart cannot be displayed;
Find the jpgraph. php file under the D: "appserv" www "dotproject" lib "jpgraph" src directory;
Class languageconv {
......
Run the following code:
Elseif ($ aff === ff_chinese ){
If (! Function_exists ('iconv ')){
Jpgrapherror: Raise ('Usage of ff_chinese (ff_big5) font family requires that your PHP setup has the iconv () function. by default this is not compiled into PHP (needs the "-- width-iconv" when configured ). ');
}
Return iconv ('big5', 'utf-8', $ atxt );
}
Replace:
Elseif ($ aff === ff_chinese ){
Return $ atxt;
}
......