I upgraded a Drupal 6 to 7 site with Biblio. Some of the Biblo nodes have full text entered, others don't. They all have clean url aliases to them.
When I try to view a Biblio node using its url alias, the ones without full text display just fine. However, the ones WITH full text result in a 404 Not Found error. This does not happen with any other node types -- just Biblio.
It gets weirder: If you use the raw url for the node (e.g., /node/456) even the ones with full text display properly -- no 404 error!
FYI, we've already cleared the cache 10-20 times.
What is going on here? We rely on these full text articles for a major feature of our site, so we need to get this working.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Biblio_tables_list.png | 242.07 KB | somatics |
Comments
Comment #1
rjerome commentedThis sounds like it might be a permissions problem, I've tested with and without url aliases and can't reproduce the what you describe. Are you using PathAuto? What does your typical URL look like (leaving off the host portion)?
The only real difference between nodes with or without full text is the addition of the "Body" (CCK) field. I'm thinking that somewhere in the loading of that field there is a permission issue.
Comment #2
somatics commentedWe're not using Pathauto; it's not even in our Modules folder at this time. We're also not using the Field Permissions module; it's disabled and has never been installed on this site. Would there be any other permissions to look at?
Also, more details that are probably pertinent: There don't appear to be any other CCK fields that cause this; and I'm logged in as user/1.
Isn't the Full Text field just the core node body field? I've been looking in the database and can't find a field table (or even a table row) for full text (in fact, I don't really understand how Biblio handles its custom fields in general). And I looked in the field_data_body table and found all the Biblio nodes listed with the full text contained within the body_value column. In case it provides any useful information, I've attached a screenshot of the list of tables that start with "biblio".
The typical URL for a Biblio node with full-text is:
http://ourdomain.com/library/htl-beyondbodrev.html
http://ourdomain.com/library/htl-cse.html
The typical url for a Bibilo node without full text is
http://ourdomain.com/bibliographies/items/awakenings/sacks_oliver
http://ourdomain.com/bibliographies/items/amazing_babies_essential_movem...
Comment #3
rjerome commentedOK, how about you look in the 'url_alias' table and check to see that the source and alias match for one of the nodes that won't load using the alias. Also, looking at that table it occurred to me.. are you using multiple languages?