WordPress.org

Forums

[resolved] Error saving media attachment. in wp3 (8 posts)

  1. Sushyant
    Member
    Posted 5 years ago #

    I have a problem with upload media in wordpress 3
    when i want upload an music or video i see this eror message:

    Error saving media attachment.

    in my wp 3 just work upload photos

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    How large are the files that you are trying to upload?

  3. Sushyant
    Member
    Posted 5 years ago #

    76 kb

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    Check with your hosts that they don't have any file restrictions.

  5. Sushyant
    Member
    Posted 5 years ago #

    my vps don't have any file restrictions. i think thats problem is from wp

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    WP isn't applying that restriction. In fact it doesn't restrict any uploads by filesize. That's normally the hosting server's job.

  7. Sushyant
    Member
    Posted 5 years ago #

    look when i wanted update my wpmu 2.9.2 to wp3 i saw this messages:

    Warning! WordPress encrypts user cookies, but you must add the following lines to wp-config.php for it to be more secure.
    Before the line /* That's all, stop editing! Happy blogging. */ please add this code:

    define( 'NONCE_SALT', 'y<nnK<A220t7&#>rhO,b0Pqj?%J67:`VxZYN]d|&k62N+tyZhi6bg}nweY=YsqYP' );
    The wp-content/blogs.php file is deprecated. Please remove it and update your server rewrite rules to use wp-includes/ms-files.php instead.

    i think this is reason of my prosblem because:

    blogs.php and ms-files.php have difference codes
    upload file location is blogs.dir and this name is same of blogs.php

    any one can help me?

  8. esmi
    Forum Moderator
    Posted 5 years ago #

    I've tagged this topic as "multisite" as it looks like this may be an MU -> 3.0 conversion issue. Hopefully this will attract the MU experts. Alternatively, you could try posting in the Multisite forum and then close this topic with a redirect to the new one.

Topic Closed

This topic has been closed to new replies.

About this Topic