PHP Version 4.3.11RC1-dev

I've scoured php.ini for anything that might cause this problem; can't find anything. Saw some stuff on google about php copy() failing on windows/apache systems if copying from one dir to another. I see no problem with filesystem permissions; both source and dest dirs exist, and the source files exist. Manually copying the thumbnails to the flash/thumbs dir (and renaming them as appropriate) allows the flash gallery player to work as expected.

Monitoring with Sysinternals filemon indicates that the destination directory (flash/thumbs) isn't even being accessed by apache/php, so it appears that php is aborting the copy() attempt before it ever gets to the filesystem.

I don't know how to get extended error information after the copy() call fails - is there a function to get that info? If so, I'll plug it in and see what's cooking.

Comments

mcurry’s picture

Oh, and the only thing I see in the apache error log is a message like this:

[Mon Sep 04 10:10:51 2006] [error] [client 127.0.0.1] File does not exist: c:/irails/www/sites/example.com/files/images/flash/thumbs/somefile.jpg

But this is caused by the missing files when the gallery flash player tries to access the missing thumbnails. No errors appear in apache's error.log file, or the Drupal watchdog log. I have php's error logging enabled in php.ini:

error_reporting  =  E_ALL
display_errors = On

So I can't understand what's going wrong.

sime’s picture

Status: Active » Closed (won't fix)

I need a patch and independent verification for this problem. Closing, since quite old.