If multiple terms are searched for, browser works fine, but it only one term is searched for, errors result and nothing is found. Errors are similar to ones reported in taxonomy_menu on same system.

Here are the errors: (topshelf is drupal root)

Location = /topshelf/?q=taxonomy_browser
Message = warning: Wrong parameter count for array_merge() in /home/httpd/vhosts/mysite/httpdocs/topshelf/modules/taxonomy_browser/taxonomy_browser.module on line 180.

Location = /topshelf/?q=taxonomy_browser
Message = user error: You have an error in your SQL syntax near ') AND n.status = 1 AND '1' ORDER BY n.sticky DESC, n.title ASC' at line 1 query: SELECT COUNT(DISTINCT(n.nid)) FROM node n INNER JOIN term_node tn ON n.nid = tn.nid WHERE tn.tid IN () AND n.status = 1 AND '1' ORDER BY n.sticky DESC, n.title ASC in /home/httpd/vhosts/mysite/httpdocs/topshelf/includes/database.mysql.inc on line 125.

Location = /topshelf/?q=taxonomy_browser
Message = warning: Bad arguments to implode() in /home/httpd/vhosts/mysite/httpdocs/topshelf/modules/taxonomy_browser/taxonomy_browser.module on line 180.

Comments

halfelven’s picture

Tried this with clean URLs on and off, same. Note that my system is Apache 2 and PHP 3.2.2.

- halfelven

matt westgate’s picture

Your system doesn't meet the minimum requirements for Drupal. You need PHP4. Taken from INSTALL.txt:

Drupal requires a web server, PHP4 (http://www.php.net/) and either
MySQL, PostgreSQL or a database server supported by the PHP PEAR API
(http://pear.php.net/).

If you are using PHP4, let me know the exact steps to reproduce this error. Especially what the settings are for your vocabularies (single, multiple-select, etc). I cannot reproduce this error on my machine.

halfelven’s picture

Sorry, typo, it was late. PHP 4.2.2.

The exact settings don't seem to matter. I've even changed them around totest other methods. I have about 12 vocabularies, some single, some multiple, some disable inheritance, some multiple select, some single select, some with required input, some with no required input.

The problem is invisible if there are two or more with required input since then there are always at least two selected for a search. But then there is no way to avoid searching for that vocabulary except by not allowing such searches at all, a feature that needs to exist.

The category groups are Author (req, single inheritance, multiple choice allowed), Audience Rating, Permission (req, disabled inheritance, single choice), Publication (req. multiple inheritance, single choice), Genre (not req, multiple inheritance, multiple choice), Theme (not req, single inheritance, multiple choice), Element, AgeGroup, Universe (not req, no inheritance, multiple choice). Forums, (not req, single inheritance, single choice) is another group.

- Halfelven

matt westgate’s picture

I'm still unable to create this problem.

- Are you using Drupal 4.5?
- Have you downloaded the latest 4.5 version of taxonomy browser? It may be worth reinstalling this module.
- Can you provide us with the URL of the site so I can see this in action?

halfelven’s picture

I'm using Drupal 4.5 and I've downloaded the latest copy of tax_browser and used it. This happened also with 4.5rc1 and rc2 as well. If I put a guard around all calls to implode so it is never called unless there is more than one thing to implode, then i don't get the errors but it no longer works properly either, in that it does not produce the proper union of sets.

Perhaps the implode function in 4.2.2 does not work properly?

the url is http://bigclosetr.us/topshelf

- halfelven

halfelven’s picture

I've restored the downloaded version of T_B to the site.

- halfelven

matt westgate’s picture

I still can't seem to generate any errors on your site. If you are interested in fixing this, please contact me personally to expediate a solution. I imagine I'll need admin access to your site or database dump to figure out what's going on...

matt westgate’s picture

I still can't seem to generate any errors on your site. If you are interested in fixing this, please contact me personally to expediate a solution. I imagine I'll need admin access to your site or database dump to figure out what's going on...

matt westgate’s picture

Marking this as closed due to lack of feedback and failure to re-create the error.