i am not sure it relates the imagefield.module or the filefield.module as the warning tells its the filefield
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'file_validate_image_resolution_help' was given in /home/sites/all/modules/filefield/filefield_widget.inc on line 236.
the error does not allow image uploads, after a node submission it fails & falls back again to the edit mode.. there fore no more editing or submitting a node
FileField - 6.x-3.x
CCK - 6.x-2.0-rc6
Imagefield - 6.x-3.0-alpha1
download method- public
imagecache 6.x-1.0-alpha2
files directory permissions - 775
I am not sure about the 'priority' marking, i put it to 'critical' because it stops the node submission or editing with imagefields
Comments
Comment #1
marko_pohl commentedI fixed it by changing line 212 of imagefield.module (v1.68 2008/07/31):
from
to
seems to work for me...
Comment #2
ica commentedHi, thanks for your fix, just to confirm, your fix -seems- to work for me as well;
the warning message as above is gone, but when i upload a new photo i still get
error and thats what happens the image upload fails + i can no longer edit the rest of the node as well the submission does not work at all on both re-editing or submitting a a new node with imagefield.
- a note: previously i was using the image.module not the imagefield.module
after installing the imagefield and filefield.module as image handler set - i deinstalled the image.module and imageupload.module
initially i was be able to upload some images, than somehow i started to get this warning. Wonder if any more people who posted the issue having similar errors regarding those modules or its something to do with my set.
Comment #3
marko_pohl commentedHi, your problem may be related to the drupal filesystem configuration (admin/settings/file-system).
Is your 'file system path' setting is ok? The directory must be writable by the webserver.
Try 'files are available using HTTP directly' to track down your problem.
Comment #4
edcazini commentedHi, this is an imagefield issue, and discussed here, marking as duplicate.
Comment #5
ica commentedhi marco, thanks for you kind reply, file settings should be okay, currently as;
File system path: sites/default/files (perm.s 775 -rwxr-xr-x)
Temporary directory: /tmp
err.. seems like there is not a tmp folder created, so i created one with 777 permission to try an it did not made any diffrence
before all that i have updated the lates filefield / imagefiled released yesterday. it only made diffrence type of the error
the new error is
now.. the accepted file settings on filefield settings are jpg jpeg png
and the image i try to upload is an image named 'image.jpg' despite this the upload reads it as '9284032961220034738.p'
it seems the image and filefile updates only changed the error type for me.. frustrating