Hi there,

I'm getting this error when trying to send a mass mail, since I've updated to Views 3:
Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/views/includes/query.inc' (include_path='.:/usr/share/php:..') in /[...]/sites/all/modules/views/views.module on line 732

This seems to be explained in this Views Issue:
http://drupal.org/node/982720

Is it possible to fix mass-contact for Views 3? I fear it isn't possible to downgrade Views :/

Thanks alot for this module!
Simon

Comments

oadaeh’s picture

Status: Active » Closed (works as designed)

That error is being caused by some other module. There is no interaction with Views in Mass Contact. You should do what Earl suggests in his responses to find out which module is really causing that and direct your attention there.

What I would do, if I were you, is to go to your sites/all/modules directory and run the grep -nr "views_include('query')" * command to find any and all modules that might have that include statement in them.

(The '-n' will show you which line it's on; the '-r' will search in sub-directories.)

Fannon’s picture

Thanks! The error indeed was caused by the Boost Module: boost.module:502

On the boost settings page (/admin/settings/performance/boost) I disabled these 2 options:
- Clear all cached views pages associated with a node on update/delete
- Clear all cached views pages associated with a node on insert
and everything is back to normal.

Fixed it.

Fannon’s picture

Issue summary: View changes

secured URL