Closed (fixed)
Project:
Embedded Media Field
Version:
6.x-1.0-alpha4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2008 at 02:36 UTC
Updated:
2 Aug 2010 at 03:01 UTC
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
Comment #1
joessoft commented[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..
Comment #2
alex ua commentedthanks- this has been committed.
Comment #3
cloudysky commentedHmm, 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
Comment #4
alex ua commentedThat is not a similar error, so please do not put it in an unrelated thread.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
virtualdrupal commentedI'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...
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?
Comment #7
alex ua commentedThis one was fixed elsewhere. Closing.