Getting 'There are no active categories.' message even when vocabularies and the terms are present

manasiv - November 6, 2006 - 14:53
Project:Subscriptions
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

When I go to the my subscriptions >> categories tab I get the above error even when I have 17 categories (vocabs). Is there any setting that prevents them from being active.

I traced the problem to subscriptions_taxa() function. If i comment out the foll code at the end of this function:

//if(count($subs[$account->uid]['blog'])==0){$output = NULL;}

return $output;

I get the correct list of categories on the my subscriptions 'categories' tab. Pls help.

#1

manasiv - November 6, 2006 - 14:59

Sorry, The code that had to be commented is
//if(count($tree)==0){$output = NULL;} in the subscription_taxa function.

#2

dziemecki - November 6, 2006 - 16:43
Assigned to:Anonymous» dziemecki

Which version of PHP are you running?

#3

manasiv - November 7, 2006 - 09:40

I am using PHP 4.4.0

#4

dziemecki - November 22, 2006 - 15:32
Assigned to:dziemecki» Anonymous

Turning project over to new owner.

#5

arthurf - December 27, 2006 - 22:37
Status:active» fixed

Can you make sure you're running the latest version? This should be fixed at this point

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/subscriptions...

#6

Anonymous - January 10, 2007 - 22:46
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.