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 |
Jump to:
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 250The 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
[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
thanks- this has been committed.
#3
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
That is not a similar error, so please do not put it in an unrelated thread.
#5
Automatically closed -- issue fixed for two weeks with no activity.