Posted by fioritto on August 17, 2009 at 10:26pm
I have been trying to get Drupal 6.x to work with FeedAPI. I go through the installation process, create a feed, etc and once I try to refresh the feed to add the feed items I keep getting the following message:
error message: undefined function memory_get_usage()
The message refers to the feedapi.info file I think.
I managed to get this working on an installation of 5.x on my hosting service, HostingMatters.
Any thoughts? I searched around and can't find anything that specifically addresses this issue.
Thanks.
Comments
Reported here:
Reported here: http://drupal.org/node/551926
http://www.twitter.com/lx_barth
http://www.twitter.com/lxbarth
If you are using a PHP
If you are using a PHP version lower than 5.2.1, you need to compile it with
--enable-memory-limitin order for this function andmemory_get_peak_usage()to be available.See http://php.net/memory_get_usage
The best solution is probably to install an up-to-date PHP version. Otherwise you can just rebuild with that option.
I applied the patch provided
I applied the patch provided in the post above: http://drupal.org/node/551926
That solved my issue.