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

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

What 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?

AgentD’s picture

Here'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

greggles’s picture

Hi 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?

AgentD’s picture

I 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?

AgentD’s picture

Also, http://bbars.com/taxonomy/term/15 exists, but its alias, california/los-angeles brings up a Page Not found...strange.

greggles’s picture

Are 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?

AgentD’s picture

Yeah, 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

AgentD’s picture

Must 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

greggles’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Alrighty - good to hear.

brianbrown’s picture

Title: Pathauto URL Alias leading to Page Not Found » Path URL Alias leading to "Page Not Found" upon edit
Project: Pathauto » Path
Version: 6.x-1.1 »
Component: Miscellaneous » Code
Category: support » bug
Priority: Normal » Critical
Status: Closed (fixed) » Active

Hi!
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

greggles’s picture

Title: Path URL Alias leading to "Page Not Found" upon edit » Pathauto URL Alias leading to Page Not Found
Project: Path » Pathauto
Version: » 6.x-1.x-dev
Component: Code » Miscellaneous
Priority: Critical » Normal
Status: Active » Closed (fixed)

I 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 ;)

brianbrown’s picture

FYI:
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.

buzuchok’s picture

Hey. #10 is the same for me.
So, what is decision? subpath_alias?

Dave Cohen’s picture

Title: Pathauto URL Alias leading to Page Not Found » Pathauto URL Alias leading to Page Not Found when Locale enabled
Status: Closed (fixed) » Active

I get page not found when locale and pathauto both enabled.

#1125428: Language-specific aliases only work with url-based language negotiation

greggles’s picture

Component: Miscellaneous » I18n stuff
Status: Active » Closed (fixed)

Dave Cohen, this issue is fixed. You've got a new issue. No need to re-open this.

Dave Cohen’s picture

Title: Pathauto URL Alias leading to Page Not Found when Locale enabled » Pathauto URL Alias leading to Page Not Found

I did not intend to change this issue status. I meant to open the new issue instead. that was an accident.