By christopherareed on
Just what the title says, whenever a user goes to create content when they click the Create "Page, Book, Blog" etc, link, it brings them to the Edit page of the last created content and they can only edit the last thing they created and create nothing new... Am I missing something? This does not happen on the admin account, only regular users.
Comments
So basically any user can
So basically any user can create 1 piece of content then they are forced to Edit that 1 piece of content no matter how they try to create new content.
EDIT: I've tried enable/disabling any modules I thought may be the problem. Cleared all the caches, have caching disabled, tried rebuilding permissions, double checked permissions that were set... Anything I could think of...
EDIT: I thought maybe disabling 'edit own *content type here*' would force the create content page... but it still goes to the edit URL and returns a page not found since they don't have Edit permissions...
Sorry I'm being pushy, need
Sorry I'm being pushy, need to figure this out asap. Nothing new to list since my last EDIT's above. I'm just methodically going over everything related to the content type 1 by 1 trying to figure out what's causing this...
Do you have one of the
Do you have one of the modules installed that limits what the user can create (ex: node limit)
No I don't, but good
No I don't, but good question. I'm really at a loss, I fixed it without knowing the real solution because just out of curiosity since I had tried everything else I went and renamed my custom content types I have on my site and changed the system type from content_example_name to content_example_name_old, and just remade content_example_name and completely re-added all the same custom fields and it works when users try to create content now... and just for troubleshooting purposes I went and checked out the _old content type and it still functions with the same problem of only allowing a user to edit the 1 content page made, but apparently any new content types I create work fine...
Obviously this worries me because it could obviously happen again as I have changed nothing and the content contains the exact same names and fields as the contents that previously stopped functioning correctly. I really don't know what happened...?
That seems to imply you have
That seems to imply you have some form of access control module installed or possible organic groups.
I figured it out. It's the
I figured it out. It's the module Content Profile (http://drupal.org/project/content_profile) that is forcing this to happen. Whenever I turn on the option "Use this content type as a content profile for users" in the content type of choice, it forces users to edit the last piece of content they made when clicking Create Content. As soon as I turn it off, everything is corrected. I'd have to assume this is not an intended feature for the purpose of this module, unless I completely missed something... Before I go any further in assuming it's a bug, should I post this problem in the modules bug queue? I figure nevets of all people can point me in the right direction or correct me if I'm wrong?
Thanks to everyone for your help who posted here though. I appreciate it.
Part of the functionality of
Part of the functionality of the Content Profile module is to restrict a given user to 1 instance of any content type marked as "Use this content type as a content profile for users". This makes sense since the over all purpose of the module is to all a site to use one or more content types as a users profile data.