The MU forums have moved to WordPress.org

problem with attachements (5 posts)

  1. Ovidiu
    Member
    Posted 17 years ago #

    Hi there,

    I attached a file to one of my posts, see here: http://sibiu.zice.ro/2006/11/07/attachement/ but when I try to download it I get this error:


    Fatal error: Call to undefined function: graceful_fail() in /var/www/web5/web/wp-content/blogs.php on line 85

    any ideas? I am at work and cannot verify line 85 of this file,.... it seems there is a problem with a rewrite rule I guess, as the files are under ...wp-content/blogs.dir/2/files/...

  2. Ovidiu
    Member
    Posted 17 years ago #

    ok, I found this error: line 85 said: these should never be served and liste .exe, .js, .swf, .tar, .zip, .rar so I had to take oput .zip from that list so I can server .zip files too as I am not sure why those were in that list.

  3. andrea_r
    Moderator
    Posted 17 years ago #

    So people don't spread things like virises and harmful scripts....

  4. Ovidiu
    Member
    Posted 17 years ago #

    those can be anywhere nowadays ;-)
    hiding inside activex on some pages, making you download free videos and then requiring "special" codecs, the list is very long...

    I'll allow those tar, zip and tgz files, while still blocking exe and swfs

    thx for the clarification.

  5. drmike
    Member
    Posted 17 years ago #

    Please make sure your wp-content/mu-plugins/misc.php file is up to date. That's where that function is found.

    Although that was put in there a very long time ago. r551 I belive.

About this Topic