Ok, I have thoroughly gone through this on three different versins of Drupal(4.6.3,4.6.4,cvs/4.7), just to be sure.

When uploading a photo using the image.module, I get this:

"warning: copy(C:\Apache Group\Apache2\htdocs\drupal\files): failed to open stream: Permission denied in C:\Apache Group\Apache2\htdocs\drupal\includes\file.inc on line 287.
The selected file C:\Apache Group\Apache2\htdocs\drupal\files could not be copied."

Now, this only occurs within the cvs/4.7 drupal and image module series. Check permissions I hear you say. Done that. The other two versions(4.6.3,4.6.4) of drupal/image.module that I tested had no problems and they were tested on the exact same server with the exact same permissions as the cvs/4.7 version.

The images themselves are uploaded and everything else is normal, except these errors upon image node creation. I used both an updated and fresh version of cvs/4.7 to test this. Same errors under both circumstances. Any ideas?

thanks,

wim

Comments

walkah’s picture

Project: Image » Drupal core
Version: » x.y.z
Component: image.module » file system
Assigned: Unassigned » walkah

this sounds like a new file.inc issue (on windows only?) . I'll look into it anyway... but I'll need to get a windows machine up and available for testing.

can anyone else have a look in the meantime? (sepeck? other windows users?)

battochir’s picture

Hello walkah,

Thanks for your response. Yes, this is on windows. I have fiddled with this for so long that I have run out of ideas. I believe that you are correct, it is a file.inc issue. However, I find it very interesting that otherwise, everything with the image.module works great. Only this error upon node creation, which incidentally, does not prohibit image node creation! Thanks again for your response. BTW, a great module. Heaps better than it's forefathers, particularly from the 4.5 series.

thanks,

wim

gollyg’s picture

not that familiar with the error messages, but is the script actually referring to a file or just a directory? ie should the image file name be appearing in the error msg?

battochir’s picture

Hello gollyg,

I believe it's referring to includes/file.inc where file.inc is the file in question. I've gone through this file and this is where the error message originates. I think whatever is happening is originating from here, but I'm not sure. Have you had similar problems?

wim

cosmicdreams’s picture

Just stopping by to check on the status of this issue. Has this issue been resolved?

Budrick’s picture

The problem is still present in 4.7 rc 2

ricabrantes’s picture

Version: x.y.z » 4.7.x-dev
Status: Active » Closed (fixed)

Closed, time out...