When trying to upload images via image module, I receive following error:

"The selected file /path/to/my/site/files could not be copied."

("/path/to/my/site" is not the real path I get in the error message, replaced here for privacy reasons.)

In any case, the actual path displayed is correct on my server, the files directory has correct permissions.

Last night, there was an upgrade to php 5.2, so I'm guessing some new features and/or new defaults in 5.2 is causing this. Uploading images via image.module had worked fine before this.

Has anyone else encountered this problem? Any suggestions on how to fix?

Comments

patrickfgoddard’s picture

Just noticed this from Drupal front page:

"Edit: these releases do not support PHP 5.2 yet, but the next minor releases will."

My prayers pre-answered. Now, does anyone know when the next minor release is? ;)

forngren’s picture

Status: Active » Closed (fixed)

Probably sometime in January. If this issue still applies after that version has been released; please reopen.