Nodes of this certain types can be created by anonymous or registered users. If a registered user creates it, everything works fine. If an anon creates it, going to that node's page results in a 404 error.
The node clearly exists, however. If I edit its entry in the node
table and set its uid
to be something other than 0
, everything works fine.
Why is this?
This rule holds throughout all node types, CCK generated and otherwise. If I set uid = 0
, it breaks. If I set uid = 2
(or any other number not 0), it works fine.
debug_print_backtrace()
results in this:
#0 drupal_not_found() called at [/home/sitename/public_html/sitename2/index.php:24]