Hi all. I have a problematic Drupal install that had a botched upgrade a while back. I've fixed many of the lingering issues but one of them is this. When you edit a page with a custom URL path and change the custom URL path, Drupal will save the page and create the new URL path but not delete the old one. I've checked all my tables against a stock Drupal 6.15 install and all the fields match (in a different order, of course). And I ditched all my Drupal files and am using fully clean files for both Drupal and all installed modules.
Anyone have any ideas?
Thanks in advance,
John
FURTHER DETAILS:
It's not the theme. Nor is it any added modules. And I've double-checked the table again and it is fine.
I did find that if I hack path.module, I can get it to work. Specifically, it seems to always INSERT, even if it already exists. So, if at line 11, I change it from:
// A new alias. Add it to the database.
db_query("INSERT INTO {url_alias} (src, dst, language) VALUES ('%s', '%s', '%s')", $path, $alias, $language);
TO this:
// A new alias. Add it to the database.
db_query("DELETE FROM {url_alias} WHERE src = '%s' AND language = '%s'", $path, $language);
db_query("INSERT INTO {url_alias} (src, dst, language) VALUES ('%s', '%s', '%s')", $path, $alias, $language);
... it works just fine. Now, this is less than ideal. I'm guessing the PID isn't being set for the page properly, but any idea why?