no $this->revs problem
Pixel Date
pixeldate@hotmail.com
Tue, 06 Mar 2001 18:50:17 -0000
Hi,
I'm getting
-------------------------------------------
Warning: Undefined offset: 0 in /home/chora/horde/chora/lib/CVSLib/File.php
on line 94
Warning: Undefined index: in /home/chora/horde/chora/lib/CVSLib/File.php on
line 94
Fatal error: Call to a member function on a non-object in
/home/chora/horde/chora/cvs.php on line 76
-------------------------------------------
In order to try to diagnose the problem, I changed line 94 of
chora/lib/CVSLib/File.php to
if ($this->revs) {
return $this->logs[$this->revs[0]];
} else {
print __FILE__ . ':' . __LINE__ . " no revisions!";
return false;
}
and now I get:
-------------------------------------------
/home/chora/horde/chora/lib/CVSLib/File.php:98 no revisions!
Fatal error: Call to a member function on a non-object in
/home/chora/horde/chora/cvs.php on line 76
-------------------------------------------
Any idea what's wrong? How is $this->revs supposed to be populated?
Thanks,
PixelDate.com
Get organized with the <a
href="http://www.pixeldate.com/organizer">PixelDate.com Organizer</a>!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com