This is old and obsolete. time.koumbit.net has not been used for a while. It was succeeded by kproject
The TimeTracker home page: http://sourceforge.net/projects/phptimetracker/.
We use the shell, because we are lazy.
Checkout the source
$ : here we use an empty password $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/phptimetracker login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/phptimetracker CVS password: $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/phptimetracker co phptimetracker
Create the database
Create the database in AlternC, named root_time.
Edit php/Storable.inc.php to change the _DSN constant.
Load the database sctructure;
mysql -u root -p root_time < php/schema.mysql
The rest follows the INSTALL file.
Create time.koumbit.net
Create the alias in alternc, simply...
Add missing PEAR modules
PEAR::Auth was missing:
# pear install Auth downloading Auth-1.2.3.tgz ... Starting to download Auth-1.2.3.tgz (24,040 bytes) ........done: 24,040 bytes Optional dependencies: package `File_Passwd' version >= 0.9.5 is recommended to utilize some features. package `Net_POP3' version >= 1.3 is recommended to utilize some features. package `MDB' is recommended to utilize some features. package `Auth_RADIUS' is recommended to utilize some features. package `File_SMBPasswd' is recommended to utilize some features. install ok: Auth 1.2.3
However, we still have problems:
Fatal error: main(): Failed opening required 'Auth.php' (include_path='.::/usr/share/pear') in /var/alternc/html/r/root/phptimetracker/php/ecdLogin.inc.php on line 32 PHP notices Alert: main(): SAFE MODE Restriction in effect. The script whose uid/gid is 1002/2000 is not allowed to access /usr/share/pear/Auth.php owned by uid/gid 0/0 in /var/alternc/html/r/root/phptimetracker/php/ecdLogin.inc.php:32 Alert: main(Auth.php): failed to open stream: No such file or directory in /var/alternc/html/r/root/phptimetracker/php/ecdLogin.inc.php:32
The solution:
safe_mode_include_dir = /usr/share/php/
in /etc/php4/apache/php.ini. Note: this is not /usr/share/pear, since that is a symlink and it seems it doesn't work...
Also, date was missing:
# pear install Date downloading Date-1.4.3.tgz ... Starting to download Date-1.4.3.tgz (42,048 bytes) ............done: 42,048 bytes install ok: Date 1.4.3