I'm testing some features for an active site on a domain I have out there that I don't use for anything. In running a test of PathAuto on that I get a "Page Not Found" error.
Here's what I've done:
Created a vocabulary for locations, States as Categories with City Names as sub-categories.
Created a Content Type to utilize the above vocabulary.
Used the following PathAuto Automated URLs:
- for the vocabulary: [catpath-raw]
- for the content type: [termpath-raw]/[title-raw]
Now a piece of content that should appear under /california/los-angeles/business-test is a Page Not Found ("california" is the Category, "los-angeles" the sub-category). I did not edit the URL Alias when creating the content, just allowed the system to do it.
You can see this live here: http://bbars.com/ (it's the lone piece of content on the index page).
Thanks for the help.
Dan
Comments
Comment #1
gregglesWhat aliases do you see on admin/build/path?
I also think this might be a page_cache problem - can you clear out the cache via the button at the bottom of admin/settings/performance?
Comment #2
AgentD commentedHere's what I see on /admin/build/path:
california taxonomy/term/14 edit delete
california/los-angeles taxonomy/term/15 edit delete
california/los-angeles/business-test node/42 edit delete
I had tried clearing the cache, and did it again, but no luck.
Dan
Comment #3
gregglesHi Dan - http://bbars.com/taxonomy/term/14 - that page doesn't exist. Perhaps this is somehow causing the problem?
Could you create the california term as a parent of los angeles and then delete all aliases and bulk generate them?
Comment #4
AgentD commentedI don't understand why http://bbars.com/taxonomy/term/14 doesn't exit when that's the url for the term "California", which is set up as the parent to "Los Angeles".
I deleted all aliases and bulk generated, didn't help. I also tried posting something under the term California thinking maybe something had to be published on the term for the page to exist, but that didn't do anything either.
I feel like I'm missing something simple, but can't figure out what.
Thanks for your help...any other ideas?
Comment #5
AgentD commentedAlso, http://bbars.com/taxonomy/term/15 exists, but its alias, california/los-angeles brings up a Page Not found...strange.
Comment #6
gregglesAre you using other modules on the site? What happens if you disable pathauto, create a new node, and manually create an alias for that node?
Comment #7
AgentD commentedYeah, this is where I test modules (or just learn new ones). The only module I think may mess with it isn't actually enabled, though it was in the past.
I'm going to drop all the tables and start over since there's nothing to lose. I'll report back when that's done.
Thanks for your help, it's appreciated.
Dan
Comment #8
AgentD commentedMust have been a bug in my system from previous modules. I dropped the tables and reinstalled, working as expected.
Thanks greggles for your help.
Dan
Comment #9
gregglesAlrighty - good to hear.
Comment #10
brianbrown commentedHi!
I am having this issue as well. I have reinstalled Drupal over sixty times in the past year and have yet to get a site operational to my satisfaction, so pardon if my tone is one of frustration!
The problem is not, repeat NOT with the pathauto module, but rather with the path module, I believe, I have uninstalled pathauto and receive the same results. I also uninstalled FCK editor on the happenstance that the visibility path setting was the culprit.
When a node is created (call it 'node/65') with a MANUAL path alias of, for example, 'test-1-2-3' the node cannot be edited using the alias, i.e., '* * * /test-1-2-3/edit' It can be edited using the node id, i.e., '* * * /node/65/edit'
This occurs whether the path is entered manually upon creation or later using ' * * */admin/build/path/add'
I can provide a database snapshot if necessary, containing only installed modules and a few test nodes. All modules up-to-date as of this writing.
Tried enabling/disabling these modules: Path 6.13; Edit term 6.x-1.2 (disabled); Global Redirect 6.x-1.x-dev; Sub-path URL Aliasing 6.x-1.0; Path redirect 6.x-1.x-dev (disabled); Pathauto 6.x-2.x-dev (disabled). Also Alias 6.x-1.0 (recently unsupported) and FCK editor. Using default .htaccess.
Thanks in advance!
-Brian
Comment #11
gregglesI hope you consider http://drupal.org/project/subpath_alias
Also, what you just did is called "hijacking an issue." If you have a different problem than the one originally reported (which you do in this case) please don't re-purpose an old issue for your own reasons.
I'm sorry that it's been frustrating for you. I can certainly relate - I get frustrated by Drupal at least once a day but also love it at least once a day ;)
Comment #12
brianbrown commentedFYI:
1) I do have subpath alias installed!
2) This was not "hijacking an issue" since the original issue was being unable to edit. This is NOT a pathauto issue, but a path issue.
3) Thank you for making up my mind to quit Drupal.
Comment #13
buzuchok commentedHey. #10 is the same for me.
So, what is decision? subpath_alias?
Comment #14
Dave Cohen commentedI get page not found when locale and pathauto both enabled.
#1125428: Language-specific aliases only work with url-based language negotiation
Comment #15
gregglesDave Cohen, this issue is fixed. You've got a new issue. No need to re-open this.
Comment #16
Dave Cohen commentedI did not intend to change this issue status. I meant to open the new issue instead. that was an accident.