With this module enabled, retrieving my sites RSS feed gives this error

Fatal error: Call to undefined function _emfield_nodeapi_rss() in /home/.nurse/reikiman/davidherron.com/sites/all/modules/emfield/emfield.module on line 250

The fix is as follows:

diff -r 90c7510eaa3e sites/all/modules/emfield/emfield.module
--- a/sites/all/modules/emfield/emfield.module	Wed Jul 02 19:18:32 2008 -0700
+++ b/sites/all/modules/emfield/emfield.module	Wed Jul 02 19:28:12 2008 -0700
@@ -245,7 +245,7 @@
 function emfield_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
   switch ($op) {
     case 'rss item':
-      module_load_include('inc', 'emfield', 'rss.cck');
+      module_load_include('inc', 'emfield', 'emfield.rss');
       return _emfield_nodeapi_rss($node, $op, $teaser, $page);
   }
 }

Comments

joessoft’s picture

[02-Aug-2008 11:22:45] PHP Fatal error: Call to undefined function _emfield_nodeapi_rss() in /home/softvisi/public_html/patriots/modules/emfield/emfield.module on line 265
[02-Aug-2008 11:23:05] PHP Warning: MySQL server has gone away

just got the same/same..

will try the fix..

alex ua’s picture

Status: Active » Fixed

thanks- this has been committed.

cloudysky’s picture

Hmm, I got a similar error (D6.3 and emfield6.x-1.x-alpha1), tried to embed a video from blip.tv (for url or embed code, always the same error):

Fatal error: Call to undefined function: _embthumb_file_insert() in \sites\all\modules\emfield\contrib\emthumb\emthumb.module on line 148

alex ua’s picture

That is not a similar error, so please do not put it in an unrelated thread.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

virtualdrupal’s picture

Version: 6.x-1.x-dev » 6.x-1.0-alpha4
Status: Closed (fixed) » Postponed (maintainer needs more info)

I'm getting this same error with emfield alpha4, views 2.1, and cck rc10.

Fatal error: Call to undefined function _emfield_nodeapi_rss() in /home/.myers/example.com/drupal/sites/all/modules/cck/emfield/emfield.module on line 265

Here is the code...

/**
 * Implementation of hook_nodeapi().
 */
function emfield_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
  switch ($op) {
    case 'rss item':
      module_load_include('inc', 'emfield', 'emfield.rss');   <--- Line 265
      return _emfield_nodeapi_rss($node, $op, $teaser, $page);
  }
}

I tried changing emfield.rss to emfield.cck to mimic the way it's done on prior lines within the module, cleared the cache, but that didn't solve it...

any ideas?

alex ua’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

This one was fixed elsewhere. Closing.