I've tried the same version of the image module in both a PHP 5 and PHP 4.3 environment, and it seems that the module is incompatible with PHP 4.3.

This may be related to an issue mentioned in the audio module, "module_invoke_all() will pass parameters by reference under PHP5 but not PHP4".

CommentFileSizeAuthor
#3 image_141994.patch1.47 KBdrewish

Comments

drewish’s picture

what function is causing the problem?

jastraat’s picture

I don't know the specific function in the image module - it's doesn't give a line number. I think it's related to at some point when it calls module_invoke_all() since that has been reported as a problem in other modules that use it. The only error message I get is:

The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename. 

And I have seen this error scattered in other issues, however, in this case, it prevents an image being uploaded even initially. I've also tried the most recent version of the module released on May 2nd, with the same error message as a result.

drewish’s picture

Status: Active » Needs review
StatusFileSize
new1.47 KB

okay can you give this a try?

drewish’s picture

Status: Needs review » Postponed (maintainer needs more info)

i don't think the attached patch is relevant. until there's some more info there's not much i can do.

rlnorthcutt’s picture

I had a Drupal 5 site hosted on a server with PHP5, and the client switched to another server hosted with PHP 4.4.7

Since then I have not only had this problem, but other unresolvable issues with permissions and file systems. In most cases, there is some ability to upload to the site (file attach now works), but the image and audio modules don't work...

jastraat’s picture

This is how my issue was resolved: http://drupal.org/node/150961
It had to do with file permissions on parent directories outside of Drupal

drewish’s picture

Status: Postponed (maintainer needs more info) » Fixed

okay well i'm going to assume that rlnorthcutt's issue also stems from file permissions.

Anonymous’s picture

Status: Fixed » Closed (fixed)