Hi.
I was trying to refresh the feed when
Fatal error: Call to undefined function imagefield_widget_upload_validators() in /modules/feedapi_imagegrabber/feedapi_imagegrabber.module on line 62
Call Stack
# Time Memory Function Location
1 0.0002 61008 {main}( ) ../index.php:0
2 0.2580 20840956 menu_execute_active_handler( ) ../index.php:18
3 0.2706 21860524 call_user_func_array ( ) ../menu.inc:348
4 0.2706 21860524 feedapi_refresh( ) ../menu.inc:0
5 0.2706 21860524 feedapi_invoke( ) ../feedapi.module:900
6 0.2707 21865268 _feedapi_invoke_refresh( ) ../feedapi.module:258
7 20.4108 22388560 feedapi_imagegrabber_feedapi_after_refresh( ) ../feedapi.module:1238
8 131.6204 22479024 feedapi_imagegrabber_image_upload( ) ../feedapi_imagegrabber.module:318
There must be something missing :)
Kind Regards,
Jorge \0/
Comments
Comment #1
publicmind commentedCan you provide more details about the configuration you are having? Which Imagefield module you are using? because the function that is giving a fatal error is not a function of Imagegrabber but of Imagefield and the function is still available in their latest release.
Please help me to help you. :)
Comment #2
Yorgg commentedHi publicmind,
Thank you for the quick reply. I hope you have had a very good weekend :)
I have updated imagefield to 3.1 and It's now working but instead of the picture on the cck field is showing the field name and the link to the picture instead of the thumbnail.
I am looking at admin/content/node-type/story/fields/field_image
Is that because Field type is file and "
The type of data you would like to store in the database with this field. This option cannot be changed."
One warning though: file_get_contents(/tmp/250-3.jpg) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/evp/sites/all/modules/feedapi_imagegrabber/feedapi_imagegrabber.module on line 101.
I have also noticed the read only icon on linux when browsing the folder:
-rwxr--r-- 1 www-data develmachine 6150 2009-08-03 12:28 sports_add_0.png
Kind Regards,
Jorge .0/
Comment #3
publicmind commented"It's now working but instead of the picture on the cck field is showing the field name and the link to the picture instead of the thumbnail."
I guess you will have to configure your field settings for this. There you can specify how to show your image on a teaser and on a page. Also, the type of the field must be 'File' + 'image'.
Please, look for the various tutorials on configuring an Image-field to have a better idea about this.
"I have also noticed the read only icon on linux when browsing the folder:
-rwxr--r-- 1 www-data develmachine 6150 2009-08-03 12:28 sports_add_0.png"
Do not worry about this, the web server (i.e. www-data user) has all the permissions for the file.
Update: I have started testing the feature request which enables the user to select a portion of the web-page to select the image from feed-item on a per feed basis. Look out for it. I also welcome your suggestions on it as I am looking for a simple way to put it in front of the end users (Currently, my idea is to ask for the unique 'id' of the tags between which the module must search for an image. For more, follow the discussion here: FeedAPI ImageGrabber
Comment #4
Yorgg commentedHi,
Since I set a default picture for the imagefield and a files/folder it seems it's not looking for any other pictures thus shouldn't be the imagefield module:
Perhaps this is another issue.
After re-installing the module, the project/schema module still mentions that the database mismatch: "Tables for which the schema and database are different".
Hope this is usefull.
Comment #5
publicmind commentedI am unable to understand what you are trying to say, Can you please explain in detail? Is this an Issue for ImageGrabber or Imagefield. Because ImageGrabber hasn't updated its table since first release, so database mismatch error is unexpected.
Thanks.
Update: Demonstration website is up, and is available at http://publicmind.in/feedapi_imagegrabber/demonstration
News: I am done with the backend part of the next version, although the interfacing is still left (and I am thinking a lot over it, so that it doesn’t become confusing for a normal user). Nevertheless, I have installed the new version here. Please submit your feed links to see, how the new ImageGrabber performs. It will also help me debug any problems with the ImageGrabber.(Post them in the comments section on the website)
The new ImageGrabber will now never capture those advertisement images, or images in the sidebar. So you can rest assured that you get the image you want. The new version will also save a lot of bandwidth that you pay for.
I am planning to release it in the first week of September. Keep checking for updates.
Comment #6
publicmind commented