Hey all, I just switched over to a new web host and upped Pathauto to the 5.x-1.1 version. Problem is that I keep getting aliases like image/image_galleries/autorotate_0 and archives/tags/scandal_0 for taxonomy/term/50 and taxonomy/term/188 respectively.
In particular this keeps happening for categories that are parents to other categories keep getting the _0s.
When making new posts I had some of these kinds of errors via XMLRPC posts:
Illegal offset type in /home/deadblon/public_html/hongpongcom/modules/taxonomy/taxonomy.module on line 1154.
which there's a number of bug reports about lately. However I do not have the Workflow module. I think I got this prior to upgrading to Pathauto 5.x-1.1 - earlier today it was 5.x-1.0. I also had quite a lot of these when I ran the pathauto bulk updater:
http://www.hongpong.com/admin/settings/pathauto
Message Duplicate entry 'archives/2006/11/25/assassination_information_operations_triangle_detente_radioactive_russian_spy_and_late_great_lebanese_christ' for key 2 query: INSERT INTO url_alias (src, dst) VALUES ('node/848/feed', 'archives/2006/11/25/assassination_information_operations_triangle_detente_radioactive_russian_spy_and_late_great_lebanese_christ/feed') in /home/deadblon/public_html/hongpongcom/includes/database.mysql.inc on line 172.but that may also have been before I upped the pathauto version.
I have tried clearing out the _0 contaminated URL aliases and they still seem to keep coming back whenever I run a bulk generation or try to post anything with parent-level categories.
Should I truncate the whole URL_alias table and start fresh? (i dont care about manually created ones) With switching to a new host today and also upping the plugins version number I wouldn't be surprised there's some hiccups in the system. Otherwise Drupal has been quite robust and hassle-free on the switchover.
Comments
Comment #1
gregglesHello HongPong
In general, you should not submit an issue that is composed of two separate problems. Also, you should always search the issue queue prior to submitting an issue to make sure they aren't duplicates.
The illegal offset problem is (probably) a duplicate of of this bug that originally showed up with Workflow: http://drupal.org/node/123001 Basically the problem is that the code in pathauto that parses the $node->taxonomy expects the data in a specific format and it shouldn't.
The _0 suffix problem is likely a duplicate of http://drupal.org/node/118676
Can you read through those (especially the second) and confirm the information from the users in those issues?
Thanks.