Project:Content Taxonomy
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:major
Assigned:Unassigned
Status:needs review

Issue Summary

I've got a site with tens of thousands of terms, so the _content_taxonomy_get_all_terms() function crashes the server with an out-of-memory error. I'd like an option to not load the terms for vocabularies that are tag-based.

Comments

#1

Status:active» needs review

Here's a quick patch that adds a variable which allows the terms in tag-based vocabulary to not be loaded in that function.

AttachmentSize
content_taxonomy-n628014.patch 2.29 KB

#2

+1

#3

A second patch, this time it adds a variable to not load the terms at all, as on my site it had over seven hundred terms in non-tag vocabularies which killed my browser.

AttachmentSize
content_taxonomy-n628014-v2.patch 2.93 KB

#4

The thing is, I dont want to feep every kid of vocabulary from loading all the terms, just some vocabularies. any ideas?

#5

Priority:normal» major

Parse error: syntax error, unexpected T_CASE in /home/cyberfan/htdocs/sites/all/modules/content_taxonomy/content_taxonomy.module on line 139

#6

Version:6.x-1.0-rc2» 6.x-1.x-dev

I receive this error when I add the setting to settings.php Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2 bytes) in /home/cyberfan/htdocs/includes/database.mysql.inc on line 160

I never recieved it before this mod. is this because I am using newest dev version instead of one year old rc version?

#7

Patch isn't working

nobody click here