Trying to open the action form in domain/admin/build/actions thi error arrises
Fatal error: Call to undefined function _views_get_fields() in /var/www/web20/web/modules/action_view/action_view.module on line 188

Installed:
mysql 5
drupal 5.5

Modules
action_view
view
cck
and some else

Comments

ycim69’s picture

I am having the exact same issue. Same environment settings within Drupal.

jvandyk’s picture

Project: Actions » Action Views
ycim69’s picture

For anyone looking, here is the patch that I found on this site. Once I made this change, all worked fine.

Index: actions.module
===================================================================
--- actions.module (revision 5936)
+++ actions.module (working copy)
@@ -661,7 +661,7 @@
* Callback function for array_filter in actions_list()
*/
function _actions_isaction($s) {
- return substr($s, 0, 7) == 'action_';
+ return (substr($s, 0, 7) == 'action_') && (substr($s, 0, 11) !== 'action_view');
}

include_once(drupal_get_path('module', 'actions') . '/actions.inc');

Christefano-oldaccount’s picture

Title: Fatal error - » Fatal error due to namespace conflict (duplicate issue)
Status: Active » Closed (duplicate)

The above patch (which is in the Actions issue queue at #202779) is referenced in samik's earlier issue in the Action View issue queue at #202838, so this issue is being marked as a duplicate.

KKit, can you comment on #202779 and share your findings with the Actions module maintainer?