Menu

#1325 41b4 Add New Media, Thumbnail - illegal_chars

v4.0.2
open
nobody
None
5
2008-11-17
2007-03-21
Lexa
No

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?

Discussion

  • Lexa

    Lexa - 2007-03-21
    • summary: 41n4 Add New Media, Thumbnail - illegal_chars --> 41b4 Add New Media, Thumbnail - illegal_chars
     
  • Greg Roach

    Greg Roach - 2008-11-17
    • milestone: --> v4.0.2
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.