It happen me second time!
After enabling some module, Drupal disabled most of enabled modules;(
Some of settings of some modules are gone now.

Comments

kenorb’s picture

Is there are any related module which manage modules in safety way?
Like, show me only disabled modules which I want to enable.
When I've got lot of the modules, it's a nightmare to enable only one module.

kenorb’s picture

Component: system.module » other

The same, all my modules has been disabled by them self, but this one I've got this message after enabling some module:

Disabled messaging sending method Mime Mail and replaced by
Disabled messaging sending method PHPMailer and replaced by
Disabled messaging sending method Privatemsg and replaced by
avpaderno’s picture

Category: bug » support

I think it's rather difficult it's a bug of Drupal, otherwise other people would have noticed that too. The problem is clearly a third party module, as Drupal doesn't output that message.

kenorb’s picture

Project: Drupal core » Messaging
Version: 6.9 » 6.x-1.0-rc3
Component: other » Code
Category: support » bug
avpaderno’s picture

Title: Drupal auto disabling most of enabled modules » Enabled modules get disabled
kenorb’s picture

Project: Messaging » Drupal core
Version: 6.x-1.0-rc3 » 6.9
Component: Code » base system

It's a critical bug, which reseting enabled modules no related at all with that I'm enabling.

Disabled messaging sending method Mime Mail and replaced by
Disabled messaging sending method Privatemsg and replaced by
Filter PHP has been disabled.

I lost few days of configuration of those modules and now is mess up.
Temporary assigning to Drupal until I'll find which module is doing this messing (because I need to start from somewhere).
Because in my opinion I should able to confirm if something want to disable any of my module during installation process.

I'm looking for solution described here: http://drupal.org/node/364900

kenorb’s picture

Project: Drupal core » Messaging
Version: 6.9 » 6.x-1.x-dev
Component: base system » Code

Probably it's Messaging related, because each time I've got this message.

1.
Is this module somehow disabling any of contributed modules depending on filter or something?

What this function do?

/**
 * Find a suitable replacement for a sending method
 */
function messaging_update_method_replace($method) { 
...

2. If it's replacing something with something, why the second argument is empty?
What does it mean?

jose reyero’s picture

Status: Active » Postponed (maintainer needs more info)

Messaging plug-ins find a suitable replacement sending method when disabled, but it shouldn't enable/disable any other module.

Will you please better describe the issue? Which module/s you are disabling, which ones get enabled/disabled?

kenorb’s picture

I've got around 200 of them, so I can't specify exactly one.
I'm enabling couple of random modules in the same time (specially when they have some dependencies), and then even I'm not touching Messaging (which is enabled), I've got message from Messaging module that I've sent it before (it's weird if it's executed even I didn't touch Messaging module).
After that most of the basic modules are disabled.
One of which has been disabled were: Google Analytics, Job Posting, Aggregator, Panels, Activity, abuse, Ad, Notify, Workflow, Smileys, Invite, Email (some other CCK related) and many more.
Later I'll try to to test it again on my local environment to reproduce it.

jose reyero’s picture

Category: bug » support

> I've got around 200 of them

!! Ok, then it may be any of the 200 calling some enable / disable hooks, so it is too early to say whether it is a bug on messaging module or on any other...

(Also no one else has reported this issue)

So we'll keep it as a support request till you find what's going on on your site...

kenorb’s picture

I thought you will know why this message appear when I'm enabling other modules (not touching Messaging module).
Ok, I'll check it more deeply.

kenorb’s picture

Project: Messaging » Drupal core
Version: 6.x-1.x-dev » 6.9
Component: Code » base system
Status: Postponed (maintainer needs more info) » Fixed

I think it could happen because of partially disabled cache (menu and form tables - #321154: can I disable cache_menu? how?).
http://drupal.org/node/93779#comment-1254794
But it just assumption, because it's difficult to debug 7GB of logs;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

brianbrown’s picture

I have precisely the same issue as described in #6.
Thanks!
-Brian

kenorb’s picture

@brianbrown:
Do you have some custom cache modules or modified some core files related to cache? If yes, try to disable them.