I have installed Drupal Commons twice now and with both installs my site was decimated by the addition of a contrib module. In the first install I simply enabled the Devel Generate module and all content types, except Blog entry and Poll (I think) were wiped away, even groups. The home page showed me empty panels. I had also run Drush up prior to enabling the module, so I wasn't sure where the problem originated.

So, I dumped everything and started from the beginning with a clean install. This time I ran Drush up and checked the site for issues. The theme had vanished on non-admin pages, but when I went back after seeing it properly rendered in the admin area, it was fine. who knows? Anyway, since this was just a test drive set up, I thought I'd use poormanscron to handle cron runs. As soon as I enabled that module, the site was decimated again, leaving me with just the two content types mentioned above. But this time, however, the homepage gave me a page not found error.

I have since dumped Drupal Commons, and will be spending no more time with it for now. But, I have not seen other related issues reported, so thought I'd post this information, FWIW. BTW, I was testing it on a Site5, LAMP server.

Comments

mstef’s picture

Clear the cache out or run update.php. Sometimes things get stuck in Drupal and that helps.

I've never had a problem with devel-generate and actually used it quite a lot during testing.

Have you tested it with another host or environment?

What's your PHP memory? It's recommended to have at least 64MB, but I'd go for at least 128MB.

What about PHP and MySQL versions?

mstef’s picture

Title: Contrib modules break Drupal Commons » Panels, Views, & Content Types Vanishing When Enabling Other Modules?

Changing the title as Commons ships with over 100 contributed modules.

kenheim’s picture

Cleared cache with Drush, same for update.php

No, haven't tested with another host environment, just moved on to OA

memory limit 64MB

PHP version 5.2.14 MySQL version5.0.91

kenheim’s picture

It seems that my issue is related to http://drupal.org/node/888874 .

I have since reinstalled Drupal Commons and have refrained from using Drush up. So, I am now able to add modules without experiencing any loss.

juan_g’s picture

Title: Panels, Views, & Content Types Vanishing When Enabling Other Modules? » Panels, Views & content types vanishing when running Drush and enabling other modules?

Possibly this title is more accurate.

mstef’s picture

This is most likely a bug in Drupal core that causes themes to be disabled when running update.php.

Whenever you run this, be sure to revisit the theme page and make sure that Acquia Commons and Fusion Core themes are enabled.

Does that fix it?

kenheim’s picture

Thanks for the suggestion. Unfortunately, I no longer have that installation, so I am unable to test this fix.

mstef’s picture

Status: Active » Postponed (maintainer needs more info)
kenheim’s picture

Mike,

After thinking about the problem a little more, it wasn't just the theme. All the content types except blog an poll were also wiped out. So the problem goes deeper than just the theme being disabled. Last evening, I ran another experiment updating just the contrib modules with drush and leaving drupal core alone. I experienced the exact same problem as before, content types wiped out and home page not found.

Like you said in http://drupal.org/node/888874 it may be a drush issue, or perhaps a drush with installation profile issue.

mstef’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)