We have a taxonomy of roughly 4500 terms that is four levels deep. When trying to alias the taxonomy term path using ' aircraft/[catpath-raw]' we are able to alias 2569 paths, but the bulk aliasing inexplicably stops at that point and we cannot alias any additional taxonomy term paths through the bulk generate option after the alias total of 2569 for vocabularies and terms has been reached. When bulk aliasing we manually bulk generate the terms at 300 objects per bulk update (we have tried as few as 10 objects to see if it made a difference) and have no problems with server time outs or PHP execution times. We also can add another taxonomy term path alias manually without any trouble. We bumped up our page execution and PHP memory limits on the server to see if that was the issue but those changes had no effect.

Any help would be appreciated. Thanks

Comments

xenophyle’s picture

Here is a starting point:

Before it creates new aliases, pathauto tries to check whether the alias already exists. Maybe there is a problem with how it is checking this? To debug, you might try going into pathauto_taxonomy.inc and in function taxonomy_pathauto_bulkupdate, do drupal_set_message($query);
drupal_set_message($query_args);
somewhere around line 85 (after the line that starts $query = "SELECT ....)
Then try to generate the aliases again. Use the message at the top of the screen to construct the query and run it in mysql.
Alternatively you could drupal_set_message(print_r($category, 1)) inside the while loop to see the results of the query.
The result lists all the terms that haven't had aliases created yet.

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

See also http://drupal.org/node/236304 for tips on doing this in a variety of ways.

dave reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

Marking as fixed due to lack of response. If this is not the case, please feel free to change this issue's status back to active.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.