The send module try to invoke the "hook_send" but in the Messaging the _send it's not an hook but internal functions, generating a lot of errors and warnings, it's a namespace conflict.

[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 1. {main}() /home/mainapa/workspace/water-drupal/index.php:0, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 2. menu_execute_active_handler() /home/mainapa/workspace/water-drupal/index.php:15, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 3. call_user_func_array() /home/mainapa/workspace/water-drupal/includes/menu.inc:418, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 4. drupal_get_form() /home/mainapa/workspace/water-drupal/includes/menu.inc:0, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 5. drupal_process_form() /home/mainapa/workspace/water-drupal/includes/form.inc:80, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 6. drupal_prepare_form() /home/mainapa/workspace/water-drupal/includes/form.inc:251, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 7. send_form_alter() /home/mainapa/workspace/water-drupal/includes/form.inc:365, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 8. _send() /home/mainapa/workspace/water-drupal/sites/all/modules/send/send.module:130, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 9. call_user_func_array() /home/mainapa/workspace/water-drupal/sites/all/modules/send/send.module:277, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 10. _send_nodetype_form() /home/mainapa/workspace/water-drupal/sites/all/modules/send/send.module:0, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 11. _send_settings_form() /home/mainapa/workspace/water-drupal/sites/all/modules/send/send.inc:91, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 12. _send_value() /home/mainapa/workspace/water-drupal/sites/all/modules/send/send.inc:18, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 13. module_invoke() /home/mainapa/workspace/water-drupal/sites/all/modules/send/send.inc:699, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 14. call_user_func_array() /home/mainapa/workspace/water-drupal/includes/module.inc:386, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 15. messaging_mail_send() /home/mainapa/workspace/water-drupal/includes/module.inc:0, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:23:41 2008] [error] [client 127.0.0.1] PHP 16. messaging_mail_params() /home/mainapa/workspace/water-drupal/sites/all/modules/messaging/messaging_mail/messaging_mail.module:59, referer: http://localhost/water-drupal/admin/content/types
[Tue Aug 12 15:24:05 2008] [error] [client 127.0.0.1] PHP Fatal

Without some hack, it's almost impossible trying to coexist.

Comments

allie micka’s picture

Project: Send » Messaging

Actually, it's more accurate to suggest that the messaging module has a conflict with the send module. hook_send has been around for years, and this new module's use of messaging_send is sitting on that namespace.

It's a sad and unavoidable side effect of the module and hook naming conventions.

jose reyero’s picture

Assigned: Unassigned » jose reyero

Yes, Allie, agreed, this will be fixed in messaging package for next version

jose reyero’s picture

Status: Active » Closed (duplicate)

Umm, seems we have lots of namespace collisions :-(

http://drupal.org/node/301715