PDA

View Full Version : dotProject Installation with Apache2Triad


rsuchowi
03-06-04, 05:50 AM
Installation for Windows made easier. Download Apache2Triad from sourceforge. Follow the instructions for installing. After successful installation, create a new database using the phpmyadmin function that was installed, ie <http://localhost/phpmyadmin>

Create a new database called dotproject
exit phpmyadmin

unzip dotproject files into C:\apache2triad\htdocs

MAKE SURE YOU CHECK the "use folder names" checkbox

jump out to a command prompt in windows

assuming that you did not change anything from the default installation change to the following directory:

C:\apache2triad\mysql\bin

run the initial database population script. For the default install the string is:

mysql --user=root dotproject < C:\apache2triad\htdocs\dotproject\db\dotproject_10 2.sql

Copy the file dotproject/includes/config-dist.php to dotproject/includes/config.php and edit to suit your site. Make sure you set the correct database details. The following example shows the default username and password for apache2triad installation. Again make sure they are changed. Make sure the permissions on this file to read only after changes are made.


$dPconfig['dbtype'] = "mysql"; // ONLY MySQL is supported at present
$dPconfig['dbhost'] = "localhost";
$dPconfig['dbname'] = "dotproject"; // Change to match your DotProject Database Name
$dPconfig['dbuser'] = "root"; // Change to match your MySQL Username default is root from the apache2triad installation MAKE SURE YOU CHANGE
$dPconfig['dbpass'] = "triadpass"; // Change to match your MySQL Password default is triadpass from the apache2triad installation MAKE SURE YOU CHANGE
$dPconfig['dbport'] = "3306"; // Change to match your Db Port or use the standard value of 3306 if string is empty

Poof. Up and running. The FAQ states that there are compatibility issues with apache2 however I have not run into anything goofy yet.

Please be advised that the default passwords need to be changed and that this example shows the use of the default passwords.

The php.ini file gets installed into:

c:\%windir%\

Still struggling with the e-mail setup however. If anyone knows the string needed to supply pop inth the php.ini file to pass a username and password to the SMTP server your assistance would be greatly appreciated.

Thanks.

rsuchowi
03-06-04, 12:31 PM
in config.php need to change the following line

$dPconfig['root_dir'] = "C:/apache2/htdocs/dotproject"; // No trailing slash

to

$dPconfig['root_dir'] = "C:/apache2triad/htdocs/dotproject"; // No trailing slash

frankr
10-08-04, 03:47 AM
I've also found that apache2triad has made the Windows install simpler and that config.php needs to be modified as stated. However, the last row is as follows when I run check.php:

root_dir || c:/apache2triad/htdocs/dotproject || root_dir seems to be incorrect, probably should be (no more info)

Basically it's telling me that my root_dir is incorrect and it's not, and then the url suggestion is either truncated or blank. I've not found any posts in the forum that have worked. At this time it's installed on WinXP SP1 system as a pilot. All other items check out OK.

I discovered this problem as I was troubleshooting the 'white screen of death'. Open localhost/dotproject/ in your browser, and nothing occurs.

Any suggestions? Thanks.

ajdonnison
10-08-04, 05:05 PM
Sounds like you have have an invalid character in your config.php file, or something like that. Usually the check.php output is 100% accurate. If you have the latest CVS version of dotProject it should cope with invalid paths a lot better, has better debug and is much more feature rich. Give it a try.

frankr
11-08-04, 01:08 AM
So, I installed the latest CVS version, and voila - no more WSOD, I can login as admin and so far, so good. Although check.php still reports the same root_dir error. I also generated the config file from dotproject/install. Will continue to investigate, any more suggestions would be welcomed. Thanks.

ajdonnison
11-08-04, 03:06 PM
This is now in the documentation wiki, in troubleshooting, I would urge you to read that.