Working on drupal installation I found the error while I trying to upload image via ImageField CCK module. aty attempt to upload image always returns "The selected file m0300.jpg could not be uploaded. The file is not a known image format."
Discovering situation I found:
this is an issue of image module (see image.inc line 116 image_get_info($file) {..... } ) the issues cause by
is_file($file) function call that always returns FALSE regardless of efective fs permissions.
See http://ua2.php.net/manual/en/function.is-file.php for possible workarounds.
My dev system:
Vista x64 / IIS7 / php 5.29 / drupal 6.13
Regards,
Yurii
Comments
Comment #1
joachim CreditAttribution: joachim commentedMoving to right module.
Comment #2
jfinkel CreditAttribution: jfinkel commentedA solution that works for me is here: http://drupal.org/node/301454
image.inc Line 117
Change:
To this:
Comment #3
quicksketchSounds like a core bug to me.
Comment #4
quicksketch[#301454]
Comment #5
quicksketchSorry here's the issue: #307636: image_get_info() fails on IIS on new uploads