Hi,
when enable the module in a standart clean instalation of drupal 7.0 I have this erorr.
thanks

Notice: Undefined index: db_type in taxonomy_nco_install() (line 12 of C:\Documents and Settings\..\sites\all\modules\taxonomy_nco\taxonomy_nco_analysis.install).

Comments

esculcar’s picture

When I eneble only Taxonomy NCO and later Taxonomy NCO Analysis, I didn´t have error,
but when I go to some taxonomy term /taxonomy/term/5 I have those errors:

Notice: Undefined index: input_tids in taxonomy_nco_related_terms() (line 79 of C:\..\sites\all\modules\taxonomy_nco\taxonomy_nco.module).
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'testautotag00.taxonomy_nco' doesn't exist: SELECT tid_b, nco FROM {taxonomy_nco} WHERE tid_a IN (:tid_list) AND (a_and_b >= :minimum_match_intersection) AND (nco >= :minimum_match_nco) ORDER BY nco DESC; Array ( [:tid_list] => 5 [:minimum_match_intersection] => 3 [:minimum_match_nco] => 0.032 ) in taxonomy_nco_related_terms() (line 92 of C:\..\sites\all\modules\taxonomy_nco\taxonomy_nco.module).

thanks

russellb’s picture

Assigned: Unassigned » russellb

Hi, thanks for your bug report.

It looks like the install files have got confused in the D7 dev. release there.
I will fix the problem and release a new D7 dev. with the correct D7 install file.

santam’s picture

I am also getting the same errors. In addition there is no link created in the configuration page in drupal 7. I can for example type in the URL (.../admin/config/taxonomy_nco_analysis) directly to get to the module configuration page.
Clicking on the cluster build tree tab gives this error:

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%d GROUP BY tn.tid HAVING count(*) > 0 ORDER BY count DESC' at line 3: SELECT td.name, td.tid, count(DISTINCT(n.uid)) AS count FROM term_data td INNER JOIN {taxonomy_term_node} tn ON td.tid = tn.tid INNER JOIN {node} n on tn.nid = n.nid WHERE 1 AND td.vid = %d GROUP BY tn.tid HAVING count(*) > 0 ORDER BY count DESC ; Array ( [0] => 5 ) in taxonomy_nco_clustering_term_usage_count() (line 220 of /..../sites/all/modules/taxonomy_nco/taxonomy_nco_clustering.module).

In the enforced cluster root tab there is the following error:

Warning: Invalid argument supplied for foreach() in taxonomy_nco_force_root() (line 904 of /.../sites/all/modules/taxonomy_nco/taxonomy_nco_analysis.module).

The enforced NCO tab gives the following SQL error:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.taxonomy_nco_forced' doesn't exist: select f.tid_a, tda.name, f.tid_b, tdb.name, f.nco from {taxonomy_nco_forced} f JOIN {taxonomy_term_data} tda on f.tid_a = tda.tid JOIN {taxonomy_term_data} tdb on f.tid_b = tdb.tid; Array ( ) in taxonomy_nco_force() (line 778 of /home/clients/websites/w_isocen/public_html/isocen/sites/all/modules/taxonomy_nco/taxonomy_nco_analysis.module).

The browse clusters page gives a WSOD with no errors (related to above errors perhaps)
I tried to enable the block for taxonomy NCO but it doesnot seem to appear anywhere on the page in my site.
Thanks for this module as it really will help me with my use case which is to have a oncology focussed community. NCO analysis can actually help us know more relationships between cancer sites.
Regards
Santam

russellb’s picture

Yes, this is the Drupal 5 install file that has got into the D7 release by mistake. We will sort the git out!

If you need the good D7 version before the new release goes up please PM me.

All the best,
Russell

santam’s picture

Actually it would be great. I am in the process of launching a site for oncology proffessionals. We are using autotag to tag new medical articles as they are published. Would be great if we can get this module to display a nice related block that changes over time automatically.

russellb’s picture

We should have a new D7 dev. release out when the script goes round.

russellb’s picture

The new Drupal 7 dev releases are out now. Please let us know if there are any further problems.

russellb’s picture

Status: Active » Closed (fixed)