problem with file.php....

Ivo Rössling iroess@regiocom.net
Sun, 26 Aug 2001 22:13:12 +0200


hi there!

i've downloaded the latest version of phpgroupware and
got the version 0.4.2-cvs of chora in this way....

this package is really cool and i would rather like to use
this(!) instead of the general "cvsweb"... - but there seems
to be a problem in my "file.php" as follows:

- on the web-page itself (cvs.php) i get an error saying:
"Fatal error: Call to a member function on a non-object in
[...]/phpgroupware/chora/cvs.php on line 94"

- the problem is a missing object called "$lg" referenced there...
   this is caused by the assignment of "$lg=$currFile->queryLastLog()"
   where an error occurs:

- the function "queryLastLog" is defined in "file.php" in the directory
   "inc/CVSLIB/" or "lib/CVSLIB/"  and the error there occures by
   calling rlog...
   the problem is: the command defined in $cmd is correct! (i tested the
   execution of the command defined by $cmd within the shell) and the
   call itself (on line 154-157) doesn't cause an error, too...  only on
   line 165 the head of the while-loop: "while ($line = 
fgets($pstream,4096)) {"
   seems to cause an error... - by executing this(!) line, i get a message into
   my httpd's error_log saying: "sh:   /rlog: No such file or directory"...


can anybody tell me where the problem may be?!?  (the apache should not
be the cause - maybe my php-version of 4.0.4pl1 ?!?  - or the phplib?!?)

sorry for my english as not beeing as good as it should be - i hope, it was
understandable enough...

greetings,
ivo roessling from germany