[gollem] PHP Warning: usort: Invalid comparison function

Jan Schneider jan at horde.org
Sun Jun 7 09:00:44 UTC 2009


Zitat von Philipp Wagner <news at philipp-wagner.com>:

> Hi,
>
> I'm trying to get Gollem H3 1.1 (Horde 3.3.4) set up. I'm running into
> two problems:
>
> 1) I get the following PHP Warning with PHP 5.2.9:
>
> Warning: usort() [function.usort]: Invalid comparison function in
> <stripped>/groupware/gollem/lib/Gollem.php on line 322
>
> That's the line:
> usort($files, array('Gollem',
> $sortcols[$GLOBALS['prefs']->getValue('sortby')]));
>
> So I guess I'm missing some config option, but didn't find it anywhere
> ... What should it contain?

Did you upgrade from an earlier version? The you didn't update all  
configuration files, especially prefs.php.
In any case your "sortby" preference is broken.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.horde.org/archives/gollem/attachments/20090607/48822652/attachment.bin>


More information about the gollem mailing list