Hi,
I have installed a clean version of Drupal7.7, with file system and zoomizy module properly installed and configured (PHP Tiling backend)
In "article" content type, I have set image display format as "image in zoomify viewer".
When I create an Article, and save it, appears this warning error:
Warning: rename(C:\xampp\htdocs\zoomify\sites\default\files\field\image/sandia_6_zdata, sites/default/files/zoomify/9/9)
[function.rename]: File exists in _zoomify_process() (line 132 of C:\xampp\htdocs\zoomify\sites\all\modules\zoomify\zoomify.inc).
corresponding to line
"rename($zoomify->_v_saveToLocation, _zoomify_filepath($node, $fid));" of source code.
In file system, directory sites/default/files/zoomify/9/9 has been created and there is one only file in called "Image.md5".
In view node zoomify tries to load images with an error like "Error loading: http:/localhost.../files/zoomify/9/9, but if I post-process the image with Zoomify Converter.exe, and put all output files to sites/default/files/zoomify/9/9, zoomizy module works fine on this view node..
Has anyone seen this issue before?
| Comment | File | Size | Author |
|---|---|---|---|
| error.jpg | 74.95 KB | jose llamas |
Comments
Comment #1
millymare commentedI have the exact same problem.
I've tried changing the backend to: None (node creator is responsible for uploading tiled images in a Zip archive) but the same error occurs except that it is on line 169 of the zoomify.inc file instead of line 132.
The only way i can get it to work is to manually move the created _zdata file to the sites/sitename/files/zoomify/n/n folder, or as you suggest pre-process the images. Not fun.
Comment #2
davidhk commentedI've just had the same problem. I am running a test upgrade using XAMPP on Windows. Are you running on Windows too?
The code uses php's "rename" to move the temp directory over to the final location. The php docs note that:
5.3.1 rename() can now rename files across drives in Windows.
So I guess it wouldn't work on versions of php older than 5.3.1
I was using an older XAMPP with php version 5.2.9. Tomorrow I'll try upgrading it.
Comment #3
davidhk commentedAfter upgrading I'm on php 5.3.8, but still get a warning about rename, "[function.rename]: Access is denied. (code: 5)".
My live server is on linux, so I'll ignore this for now and come back to it if there's still a problem after we move it to the live server.
Comment #4
infojunkieCan you please check if this is still the case with the latest version?
Comment #5
kwfinken commented