Closed (fixed)
Project:
Path
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2009 at 19:37 UTC
Updated:
9 Sep 2009 at 21:10 UTC
I have it set to "Create a new alias. Delete the old alias", and I get:
user warning: Duplicate entry '/feed-' for key 'dst_language' query: INSERT INTO url_alias (src, dst, language) VALUES ('node/15/feed', '/feed', '') in E:\wamp\www\theatre-drupal\modules\path\path.module on line 112.
No where is it deleting the alias first, so I added:
db_query("DELETE FROM {url_alias} WHERE dst = '%s'", $alias);
before the the Insert, and all is well.
Comments
Comment #1
amariotti commentedWhy isn't this getting any attention? I'm getting this error on every node save that I do.
Comment #2
amariotti commentedI figured this out. When I removed "feed" from the "Internal feed alias text (leave blank to disable): " field under my automated alias page it worked. Not sure how that got on there. I'm thinking it might have rolled over from my 5.x upgrade that I did on this website. Everything is working now!