[chora] chora installation
Sweat, Jason E.
Jason.Sweat@alcoa.com
Tue, 14 May 2002 15:15:19 -0400
I am still having issues getting chora to work with PHP 4.1.2 on HP-UX 10.2
In the source where the $dir object returns a fileList, I am getting an
array of file names. In the while loop, I do a var_dump of the $currFile
(attached below), much of the info is there, but in particular,
["logs"]=> array(0) { }
["revs"]=> array(0) { }
["branches"]=> array(0) { }
which is suspect should not be this way. I have not completely deciphered
the code, but it looks like you are using PCRE expressions to extract
information from popen commands to rlog, etc.
Is there a minimum version of any of the binary files
(co,rcs,rcsdiff,rlog,cvs) required to use chora??
Any help would be appreciated.
Thanks.
Jason
>>>>>
var_dump($currFile):
object(cvslib_file)(7) {
["name"]=>
string(11) ".prod_dir,v"
["dir"]=>
string(26) "/home/sweatje/cvs/distfcst"
["rep"]=>
&object(cvslib)(1) {
["conf"]=>
array(19) {
["debug_level"]=>
int(2039)
["max_exec_time"]=>
int(0)
["session_name"]=>
string(5) "Horde"
["use_ssl"]=>
int(2)
["compress_pages"]=>
bool(true)
["umask"]=>
int(63)
["tmpdir"]=>
NULL
["auth"]=>
array(3) {
["admins"]=>
array(0) {
}
["driver"]=>
string(0) ""
["params"]=>
array(0) {
}
}
["log"]=>
array(6) {
["enabled"]=>
bool(true)
["type"]=>
string(4) "file"
["name"]=>
string(14) "/tmp/horde.log"
["priority"]=>
int(5)
["ident"]=>
string(5) "HORDE"
["params"]=>
array(0) {
}
}
["prefs"]=>
array(2) {
["driver"]=>
string(4) "none"
["params"]=>
array(0) {
}
}
["category"]=>
array(2) {
["driver"]=>
string(4) "none"
["params"]=>
array(0) {
}
}
["cache"]=>
array(2) {
["driver"]=>
string(4) "none"
["params"]=>
array(0) {
}
}
["mailer"]=>
array(2) {
["type"]=>
string(8) "sendmail"
["params"]=>
array(0) {
}
}
["problems"]=>
array(2) {
["enabled"]=>
bool(false)
["email"]=>
string(22) "postmaster@example.com"
}
["user"]=>
array(1) {
["online_help"]=>
bool(true)
}
["css"]=>
array(1) {
["cached"]=>
bool(true)
}
["menu"]=>
array(2) {
["images"]=>
bool(true)
["floating_bar"]=>
bool(false)
}
["paths"]=>
array(8) {
["co"]=>
string(11) "/usr/bin/co"
["rcs"]=>
string(12) "/usr/bin/rcs"
["rcsdiff"]=>
string(16) "/usr/bin/rcsdiff"
["rlog"]=>
string(13) "/usr/bin/rlog"
["cvs"]=>
string(16) "/opt/cvs/bin/cvs"
["cvsRoot"]=>
string(26) "/home/sweatje/cvs/distfcst"
["cvsusers"]=>
string(27) "/home/sweatje/cvs/distfcst/"
["introText"]=>
string(62)
"/tmp_mnt/home/sweatje/public_html/horde/chora/config/intro.txt"
}
["options"]=>
array(7) {
["adminName"]=>
string(14) "Jason E. Sweat"
["adminEmail"]=>
string(21) "jason.sweat@alcoa.com"
["shortLogLength"]=>
int(75)
["defaultsort"]=>
int(0)
["use_path_info"]=>
bool(true)
["introTitle"]=>
string(50) "District Forecasting Summary Report CVS Repository"
["cvsRootName"]=>
string(8) "DISTFCST"
}
}
}
["logs"]=>
array(0) {
}
["flags"]=>
int(1)
["revs"]=>
array(0) {
}
["branches"]=>
array(0) {
}
}
<br>
<b>Warning</b>: Undefined offset: 0 in
<b>/tmp_mnt/home/sweatje/public_html/horde/chora/lib/CVSLib/File.php</b> on
line <b>94</b><br>
<br>
<b>Warning</b>: Undefined index: in
<b>/tmp_mnt/home/sweatje/public_html/horde/chora/lib/CVSLib/File.php</b> on
line <b>94</b><br>
<pre>