[chora] chora bug?

Chuck Hagenbuch chuck@horde.org
Sat, 20 Jul 2002 15:13:19 -0400


Quoting Eric Rostetter <eric.rostetter@physics.utexas.edu>:

> Jul 20 00:06:12 host httpsd: PHP Fatal error:  Call to a member function
> on a non-object in /path/horde/chora/co.php on line 71
> 
> Any modified files I try to look at work fine.  If I add "&p=1" to turn
> of pretty printing mode, then I can see the 1.1 files.  But with "&p=0"
> (the default) I get the above error message and an empty (blank) web
> page...

Looks like the MIME_Viewer isn't being instantiated correctly - try doing a 
var_dump($pretty) before that line and see if you get a useful error. Also 
make sure that all of your mime_drivers.php config files are up to date.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"After a few minutes the most aromatic and nice smelling Italian coffee 
 will come out of the exhaustpipe." - Our stove-top espresso pot