Hi all,

I have 2 issues here. I have created a new node type called an "Event" and I have set permissions for anonymous users to be able to create them. (by ticking the "Create Event Content" box on the permissions page)

The first issue is that when an event is created by an anonymous user and they save they are redirected to a "page not found" page. IS there some extra permission I need to put in place (I am using the Pathauto module to generate the path - so the url its trying to go to is http://xxx/events/mytestevent)

The second issue is that the event is still created (kinda) and is appearing in a view I have created to list all events. But when I try to delete the event using the "Administer > Content Management > Content" screen its not there! Why would the view think the event exists but the Content screen doesnt?

Thanks for any help,

Steve.

Comments

TheChemic’s picture

I have the exact same problem.

Installed modules; CCK, views, advanced_help, contemplate, filefield, google_analytics, imageapi, imagecache, imagecache_actions, imagefield, pathauto, token

I enabled anonymous users to be able to post both built-in, and custom content types. The anonymous users receive a "Page not found" as soon as they hit submit. Admin users can create content just fine.

What's odd is that my views of recent content posted will list the post from anonymous users, but without a link to the node. When I go to administer content so that I can view the content that was submitted by the anonymous user, it doesn't show up anywhere.

Help! I'm stuck

Content Permissions enabled:
[x] Access content
[x] Create story content
[x] Edit Own Story content

Path Module:
[ ] administer url aliases
[X] create url aliases (I have tested this both checked/unchecked, always produces error)

Pathauto module:
[ ] administer pathauto
[ ] notify of path changes

Any thoughts?

TheChemic’s picture

Steve,

I started with a fresh install of Drupal and was able to duplicate this problem without installing any additional modules at all. I found that the anonymous user did not actually exist in the database "users" table. There were two users; user 1, the admin user, and user 3. Since I had a fresh install of Drupal I know that I did not have any new users sign up so there should not be a user 3. Also there was no user 0 in the users table.

I changed the UID 3 to 0, saved the database table. After this, all the content that anonymous users had posted began to correctly show up in full nodes and views. The "page not found" errors all went away.

I installed Drupal via Fantastico. I'm not sure if Fantastico produced this error? Hope this helps you... if not, best of luck resolving.

WorldFallz’s picture

I always recommend manual drupal installation-- one click installers seems to do nothing but cause weird and difficult to diagnose problems.