Menu

#24 Sorting tags alphabetically lasts very long

open
nobody
v0.98
5
2012-03-29
2011-08-08
StefanD
No

Hi,
my Test-Installation is running on a shared host. I noticed gradually that the time needed for sorting the tags by alphabet is rising with the number of tags. When I reach a number of more than 1.500 tags the sorting lasts more than 30 seconds which results in a error message:

XML Parsing Error: junk after document element
Location: http://semanticscuttle.example.com/alltags.php/admin?sort=alphabet_asc
Line Number 2, Column 1:Fatal error: Maximum execution time of 30 seconds exceeded in /path/to/semanticscuttle/src/SemanticScuttle/utf8.php on line 168

Because it's a shared host I have no opportunity to increase the execution time for php-scripts :(
And I wonder why this error occurs in utf8.php and not (for example) in alltags.php?

Is there a possibility to sort tags alphabetically by default (and with an option in config.php to order them by popularity instead)?
Or is there a chance to increase the speed for the sorting process by alphabet? Sorting the tags back by popularity lasts at least only one or two seconds...!

Thanks for your help
Stefan

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.