Uploads module doesn't allow files to be renamed
Posted: Tue Sep 03, 2013 5:53 pm
Not sure if this is a bug or just something I'm missing, but I can't seem to rename a file via the Uploads module. It doesn't seem to be a permissions issue, since I can rename them via the File Manager. I get the following when I try:
The logs are showing:
I notice that there is a double forward-slash after uploads in the 'rename' line, and I'm not sure how it got there.
System info: I've updated the Uploads module to 1.16.11, and the rest of my install is up-to-date.
Code: Select all
- Missing Languagestring - module:Uploads string:error_cannotrename--Code: Select all
[Tue Sep 03 10:24:02 2013] [warn] [client 184.71.50.xxx] mod_fcgid: stderr: PHP Notice:: Undefined variable: cat2row in /var/www/vhosts/clientsite.com/httpdocs/client/modules/Uploads/action.editupload.php on line 190, referer: http://clientsite.com/client/admin/moduleinterface.php?mact=Uploads,m1_,editupload,0&_sx_=818b2e33&m1_upload_id=1&m1_category_id=1
[Tue Sep 03 10:24:02 2013] [warn] [client 184.71.50.xxx] mod_fcgid: stderr: PHP Warning: rename(/var/www/vhosts/clientsite.com/httpdocs/client/uploads//ABC_2011_CS_Document_1.docx,/var/www/vhosts/clientsite.com/httpdocs/client/uploads/documents/abccorp/ABC_2011_CS_Document_1x.docx): No such file or directory in /var/www/vhosts/clientsite.com/httpdocs/client/modules/Uploads/action.editupload.php on line 199, referer: http://clientsite.com/client/admin/moduleinterface.php?mact=Uploads,m1_,editupload,0&_sx_=818b2e33&m1_upload_id=1&m1_category_id=1
System info: I've updated the Uploads module to 1.16.11, and the rest of my install is up-to-date.