[Imc-web] Re: Bug in dada

Daniel S. Lewart lewart at uiuc.edu
Sun Jan 18 21:17:10 CST 2004


Clint, Peter, et al,

On Sun, Jan 18, 2004 at 06:08:20PM -0500, Clint Popetz wrote:

> On Sun, Jan 18, 2004 at 05:10:11PM -0600, Peter Miller wrote:

> > I noticed this error in dada:  When I search the IMC site for anything,
> > the site returns some results, then this error message:
> > Fatal error: Cannot instantiate non-existent class: otherpressoracle in
> > /extra0/var/www/ucimc/mods/search/dosearch.inc on line 104
> > 'thought you'd like to know.

> Dan, can you track this down?  It's likely because the otherpress
> module is disabled.  This inter-module dependency breakage is also the
> root of having to turn the media gallery on to make search links work,
> so it probably needs to be suggested to spud that some dependency
> check occur.

Of course. :) I changed mods/search/dosearch.inc line 31 from this:
	$t_media = array('text','media','otherpress');
to this:
	$t_media = array('text','media');
which removes 'otherpress' from the default search media.
This was the least invasive surgery.

Cheers,
Dan
http://www.ucimc.org/




More information about the IMC-Web mailing list