Joomla 1.5.6
RSGallery2 2.00.0(SVN 802)
After uploading multiple photos in a single zip file and accepting the previewed photos the follow errors appear in syslog. The first error occurs once per temporary file:
PHP Warning: unlink(/var/www/sites/sssssss.org/joomla/media/rsginstall_48e4c07c2a0f720071009_020.jpg) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /var/www/sites/sssssss.org/joomla/administrator/components/com_rsgallery2/includes/file.utils.php on line 394, referer:
http://www.sssssss.org/administrator/index2.phpPHP Warning: rmdir(/var/www/sites/sssssss.org/joomla/media/rsginstall_48e4c07c2a0f7) [<a href='function.rmdir'>function.rmdir</a>]: Directory not empty in /var/www/sites/sssssss.org/joomla/administrator/components/com_rsgallery2/includes/file.utils.php on line 400, referer:
http://www.sssssss.org/administrator/index2.phpThe second error is due to the first.
The problem is that RSGallery2 is referring to the wrong path for the file being deleted.
/var/www/sites/sssssss.org/joomla/media/rsginstall_48e4c07c2a0f720071009_020.jpg should be
/var/www/sites/sssssss.org/joomla/media/
rsginstall_48e4c07c2a0f7/rsginstall_48e4c07c2a0f720071009_020.jpg
Looks like a simple fix. Note that without a fix users will eventually eat up gobs of disk space - there is no indication of a problem in the Admin UI when this occurs.
Also had to increase memory_limit from 32M to 64M in php.ini to upload 8 files. This seems a bit high.