Ano-Tech Computers
Enter keyword:

ePIC.pm, category_tree refuses to recurse into sub categories
Problem:
The category tree appears to be correct but category_tree() refuses to recurse into child categories, even though expand=>in_path is passed.
 
Solution:
Verify that the fields 'has_children' and 'has_parents' exist in the 'categories' table, and that they contain the correct values. These values are updated by do_category_maintenance() after every update to the category hierarchy.
 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles