I just updated a site from 2.1.3 to 2.5.3 and I'm having some trouble with old file uploads.
Is there a way to get the unencoded path or do I need to modify Image Sizer or use a different plugin?
Some of the old files had an & (ampersand) or other invalid characters in their name. After the upgrade when I did a sync on the upload directories it seems to have stripped those characters from the file names on the filesystem, but not from the actual File Upload Fields. Now I have to re-chose the files that got renamed and I get a PHP error (see below) when editing the entries.
A PHP Error was encountered Severity: Notice Message: Undefined index: filename Filename: libraries/File_field.php Line Number: 77
Is there a query I can run on all the upload fields, or anything else I can do to fix this?
Here's some examples of the files being renamed.
The name from the live server is on the left and the name from the dev server where I ran the upgrade is on the right.
MP900409379.jpg --> MP9004093791.jpg
004_LB-Cottages F&F.PDF --> 004_LB-Cottages FF.PDF