Taxonomy Theme stop working

tky - March 15, 2008 - 10:44
Project:Taxonomy Theme
Version:5.x-1.0
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Hi, there:

I have used Taxonomy Theme 5.x-1.1 in a 5.6 Drupal site for a while.
Today, I just upgrade my site from 5.6 to 5.7 and some other modules to the newest version, keep my upgrade status whole page looks "green" .

But I found out that the Taxonomy Theme stop working, thought the setting still the same. As mean time, the Block setting and Theme setting seems get into trouble, too. Because when I changed the theme tabs, the setting pages wouldn't display the right themes and stay in the default theme.

I am wondering where is going wrong and how can I fix this problem.
If any solution, please let me know it.

Thanks

#1

Bunker - April 23, 2008 - 19:16

I experienced the same problem.

the path part still works but the taxonomy isn't working anymore.

**UPDATE** when a user is not logged in, it's not working, logged in users with the permissions to edit taxonomy theme don't have a problem. I'm looking into the code for a fix.

**UPDATE** I narrowed the problem down to the following: When you give users the permission to administer the taxonomy module, it works. If a user has no permission the taxonomy based (term-based) theme switch doesn't work.

**UPDATE** It seems like the function used on this line is not accessible anymore in drupal 5.7

   $terms = taxonomy_node_get_terms_by_vocabulary($nid, $selector_vid);

Greetz

#2

drumm - April 28, 2008 - 07:23

Are any other modules installed? Particularly ones which implement hook_db_rewrite_sql().

I doubt this is a problem with the taxonomy module. If the taxonomy_node_get_terms_by_vocabulary() function is defined (taxonomy.module has been included) it should work. The only restriction is modules rewriting SQL for restricting access to terms/categories.

#3

guppydrupal - April 28, 2008 - 19:18

I am finding the same issue. With a fresh install with drupal 5.7 and taxonomy theme - it seems to work, but as soon as other common modules are installed, the taxonomy_theme admin link disappears or stops working.

I hope this is resolved and thanks for creating this module.

guppy.

 
 

Drupal is a registered trademark of Dries Buytaert.