- summary: 41n4 Add New Media, Thumbnail - illegal_chars --> 41b4 Add New Media, Thumbnail - illegal_chars
I migrated from an earlier version 4.0.1 to 4.1b4 and copied the old Media folder. I checked that the /media and /media/thumbs folder and content was read/write enabled. My mistake was to ignore the /media/thumbs/urls folder. I have a Linux server, owner can change when copying.
When trying to add new media (a jpg photo), I continuously received the error message -cannot add thumbnail, Blank name or illegal characters in name-
Naturally, based on the error message, I thought something was incorrect with the name.
The real error was that the thumbnail could not be added because of unsuitable permissions for the /media/thumbs/urls folder.
Perhaps the code in functions.php (line 1115) if (!is_writable(filename_decode($MEDIA_DIRECTORY."thumbs/urls"))) return false;
could trigger the real reason for not being able to create the thumbnail?