Trip search uses the comment_num_all function from the comment module (and some more, but this is the first error message I get) and fails with a php error when the comment module is not active.

This dependency on the comment module should be removed or - at least - documented

Cheers
-Lübbe

Comments

nedjo’s picture

Status: Active » Closed (won't fix)

I don't find this in the code. Perhaps this issue is for a different module.

luebbe’s picture

Perhaps this helps:
Drupal version 4.6.2

trip_search downloaded from the modules section: // $Id: trip_search.module,v 1.16.2.8 2005/06/22 15:02:24 nedjo Exp $

The reference to comment_num_all is in line 227.

-bash-2.05b$ grep -n comment_num_all *
trip_search.module:227: $comments = comment_num_all($node->nid);

Should I update to the cvs version of trip_search?

nedjo’s picture

Try a fresh download of the 4.6 release.

luebbe’s picture

Thanks, that did it :-)