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
Comment #1
walkah commentedthis 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?)
Comment #2
battochir commentedHello 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
Comment #3
gollyg commentednot 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?
Comment #4
battochir commentedHello 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
Comment #5
cosmicdreams commentedJust stopping by to check on the status of this issue. Has this issue been resolved?
Comment #6
Budrick commentedThe problem is still present in 4.7 rc 2
Comment #7
ricabrantes commentedClosed, time out...