Hi,
I have just upgraded from d7.2 to d7.4 and I wanted to add some content on my site but I am getting this

"You have not created any content types yet. Go to the content type creation page to add a new content type."

I have many content types and all content are listed. Is this a bug or have I done something wrong ?

Cheers,
Vishal

Comments

Ujval Shah’s picture

Have you run update.php ?
Does all updates are performed without any error ?

If update.php has run successfully than clear your all cache tables from the database and verify again.

vishalkhialani’s picture

Hi,
I ran update.php and cleared the cache but I did not get any errors and the problem still exsists.

If I create a new content type then I can use that but my old ones all though listed cannot be used. Strange.

Cheers,
Vishal

redcrackle.com

Letharion’s picture

Locate the new content types in the DB, and see if you find the old ones there as well.

vishalkhialani’s picture

Hi,
I managed to solve it. I had disabled the content creation in the navigation menu once I enabled it then my admin area also started working.

I guess this is a bug.

Cheers,
Vishal

redcrackle.com

oxguy3’s picture

Thanks for posting this, vishalkhialani. I had the same problem, and the same solution worked for me.

JBone’s picture

I had done the same as you and wondered why I coundn't use existing content types. Thanks for this solution.

djmc’s picture

Thanks too.

misjka’s picture

Hi!

I also seemed to suddenly run into these problems... I have run update.php and cleared the cache, but still I cannot add any content -- although I have several content types. It worked splendid for quite some time, but suddenly something must have happened after I had installed some new modules (as I reckon).

I'm cannot fully follow your solution here, since to my knowledge creating new content is enabled in my menu...

Only local images are allowed.

This is not the first time it happens to me, by the way, and I'm quite sure I didn't do anything manually to make this happen. Bug?

misjka’s picture

Hi again!

I found the solution in http://drupal.org/node/997444#comment-4427010 :-).
I hade moved "Add content" from the navigation menu to the user menu, and it seems like all the children are left behind in the navigation menu (must be a bug??). So, the solution is to go throw all the child links in the navigation menu and move them over to the user menu :-).

ashley8884’s picture

Just wanted to add that each of the content types must be children of the add content link.

Charles wang’s picture

Thank you, vishalkhialani. I got the same mistake, oh!

brianmhays’s picture

Thank you!

jagabriel’s picture

Thanks I'm new to Drupal, and I confess I was a little upset with this problem
thank you Vishal

Regards
Gabriel

lorraine02’s picture

it is useful for me who is new to this forum , thank you !

GNA27’s picture

This can also be caused right after creating a new content type. Some people have received this error after creating a content type. In my case, all of the navigation menu options for adding content were suddenly turned off after I tried to create a new content type and Drupal warned me that there was a conflict with an existing name in the database.

Somehow Drupal has a bug that caused it turn off all the content types and the add content option in the navigation menu once this occurred.

Other people have experienced this when they moved their option to add content.

If you had the problem that I did, go to Structure, Menus, Navigation, click on list links, and recheck the boxes for all your content adding.

taherpro’s picture

Hi Thanks a ton man.. I had sleepless nights figuring this out..Very Helpfull!!

Cheers!!

lovs2build’s picture

OMG thanks for posting this. I have spent an hour searching for a fix on this, Good thing I scrolled down and saw it.

Tiliann’s picture

It just happened to me. I don't think that the menus should be linked to the ability to create a particular content type. Is there some logic that I'm not aware of?

misoks’s picture

I don't think it's related to the ability to create content, but rather the visibility of the links. It thinks the links aren't there, and therefore it assumes there are no content types. Really you can still create content, just not from that page.

tcm5025’s picture

Still seems like a bug to me... why should it matter how your navigation or other menus are configured... The administration page should still show all the content types available for adding.

tefnut’s picture

I had a problem when a content type had a _ (underscore) at the end of it's machine readable name, it wasn't a problem before and the rest of the site worked fine just couldn't add any more node of that content type, it was a silly mistake that I'de made when adding the content type i the first place where I had added a space which was converted to an '_'

Hoping that might help someone to

auroramucca’s picture

I followed all the instructions for having the "add content" in the "navigation menu" but didn't work though it was the correct thing to do. What finally worked for me was to uncheck the list of content items, save, check them again and save, for that second save a new operation appeared for "restart", I did it one by one and noticed that all the items that were separated menu links, moved to became a sub-menu of "add content", and that finally worked for me.

Thanks to all the post that helped me to solve this problem.