Call to undefined function _emfield_nodeapi_rss()

reikiman - July 3, 2008 - 02:36
Project:Embedded Media Field
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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);
   }
}

#1

joessoft - August 2, 2008 - 17:48

[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..

#2

Alex UA - August 5, 2008 - 13:31
Status:active» fixed

thanks- this has been committed.

#3

cloudysky - August 13, 2008 - 02:23

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

#4

Alex UA - August 13, 2008 - 15:03

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

#5

Anonymous (not verified) - August 27, 2008 - 15:04
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.