Added a lot of new taxonomy terms and now this module is causing a fatal error

the1brit - September 2, 2009 - 21:15
Project:Advanced Taxonomy Blocks
Version:6.x-1.8
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I added new terms to my site and the module was working fine before the addition of the new terms. Now, when I go to load the homepage, I get this error:

Fatal error: Maximum execution time of 30 seconds exceeded in ...l/modules/taxonomyblocks/taxonomyblocks.module on line 624

When I turned off the advanced taxonomy module, my site works again absent the taxonomy block I had setup. I would love to use this module, but this error really freaked my out because it brought my site down.

#1

Stuart - September 13, 2009 - 22:40

I have the same problem. It is on my development machine - so I just turned up the PHP execution time to a large amount (600) to clear the error. I have a vocablary with 1,244 terms - most of them at a depth of 3 in the hierarchy. On the test site, very few have nodes associated with them. When I trun on an Advanced Taxonomy Block to show the terms used from this vocabulary the site grinds to a halt. Each page refresh takes 70-90 secs. If I turn off the block again - normal service is resumed. I have tried both 6.x-1.8 and 6.x-2.5 with the same results. It is a pity, because it does what I want - its just takes far too long to do it!

#2

themselves - October 9, 2009 - 03:44

I too am having the same sort of issue - this module isn't very optimized. I have a client who is paying to make his site faster at the moment, so that's what I'm working on as we speak. If I manage to work out some optimizations, I'll submit the patches back in to the module.

#3

themselves - October 9, 2009 - 07:04

Well, I've managed to mostly solve this with block caching. http://drupal.org/project/blockcache_alter might be required, as there's a BLOCK_NO_CACHE in the module, but I didn't test all the permutations, so don't quote me on it.

 
 

Drupal is a registered trademark of Dries Buytaert.