Skip to:
Content
Pages
Categories
Search
Top
Bottom

Getting ”Specified file failed upload test” Error When Uploading Avatar

  • @luca-foss

    Member

    Hello.

    I’ve been doing research into this and I’m finding that many have had issues with the function wp_handle_upload(). One notable issue is that it would produce this error, but the file will be uploaded to the directory anyway…and the same thing happened with me. The avatar is uploaded to the directory, but I still get the error message. Any idea on what could be causing this and how to solve?

    FYI..I just found notes on this piece of code in the file.php folder…it says that “A properly uploaded file will pass this test. There should be no reason to override this one.”

    `if ( $test_upload && ! @ is_uploaded_file( $file ) )
    return call_user_func($upload_error_handler, $file, __( ‘Specified file failed upload test.’ )); `

    Not sure what would be considered an improper loaded file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @gunju2221

    Participant

    ping @djpaul

    But just to help us out… what versions of wp/bp are you using?

    @luca-foss

    Member

    Hello…sorry for the late response (was at work)…I’m using WordPress 3.0.2 and I’m also using BuddyPress Version 1.2.7

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting ”Specified file failed upload test” Error When Uploading Avatar’ is closed to new replies.
Skip to toolbar