Fatal Error When Configuring Block
| Project: | Node Image Block |
| Version: | 5.x-2.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Hello,
I'm trying to add a quicktime video (.mov) to a block on the homepage of http://mytestanswers.com/ (to replace the screenshot that's currently there). After looking around, it seemed like Node Image Block would be a perfect solution. I followed all the instructions, but when I click configure at /admin/build/block for "Node Image Block 2", I get:
Fatal error: Call to undefined function _imagecache_get_presets() in /home/mytestan/public_html/sites/all/modules/nodeimageblock/nodeimageblock.module on line 157I see in the instructions something about creating an Imagecache preset that matches the size of the video player (I think that is what's being suggested). So I created a preset that matches the size of the screenshot (not knowing exactly what size the player is...). I then tried again to configure the block, but got the same error as above.
I can't think of anything else to try, and have no idea why this error ("Fatal", no less) is occuring. Any help will be much appreciated!
Thanks,
Jim

#1
I got the same error on Drupal 5.16 with Imagecache 5.x-2.3.
#2
As a temporary fix I had to comment lines 155 to 167, to cancel the imagecache presets checking. That is fine for me as I don¡t use imagecache for the images I want to embed in the block.
#3
Try this patch, it replaces the calls to obsolete imagecache preset functions.
#4
Patch corrected!
Imagecache 5.x-2.4