09
Apr
2008

wordpress.jpgA few days ago I spoke about the new Wordpress 2.5 and its nasty bugs located in the Media Section. The all new Media Section is based on Adobe Flash technology and lets you upload multiple files at once into the gallery. The whole process can be followed thanks to the new indicator bar. Anyway the upload process is buggy and at some point, it stops working with the result that files are not uploaded at all. The symptoms are very different. A few of them include: nothing happens when you try to upload a file; after the word “Crunching” appears the uploading process stops; HTTP errors; during the upload the browser crashes or freezes; media buttons disappears etc. There are a lot of ways to fix this issue while waiting for the new Wordpress release. Some of them are listed here. Another fix can be applied by downloading a patch. More support and workarounds can be found here. If you have issues with Media Section and you are using Firefox try this trick. If you have issues with Media Section and you use Mac OS X browser try this trick. If all this didn’t work for you, you can try to disable the flash uploader by following these steps:

  • Go to \wp-admin\includes\media.php
  • Apply these changes around line 765 to 770:
  • Before:
    $flash_action_url = get_option(’siteurl’) . “/wp-admin/async-upload.php”;
    // If Mac and mod_security, no Flash.

    $flash = true;

    if ( false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), ‘mac’) && apache_mod_loaded(’mod_security’) )

    $flash = false; After:

    $flash_action_url = get_option(’siteurl’) . “/wp-admin/async-upload.php”; $flash = apply_filters(’flash_uploader’, true);

    // If Mac and mod_security, no Flash.

    $flash = true;

    if ( $flash && false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), ‘mac’) && apache_mod_loaded(’mod_security’) )

    $flash = false;

  • Download this plugin here and upload it by going to \wp-content\plugins\
  • Activate the plugin

If you know other workaround or fixes for this issue, please post them here. Thanks!

If you're new to Webtlk.com, you may want to subscribe to my RSS feed or press CTRL+D to bookmark me. You can also make a small donation using PayPal. Thanks a lot!


Tags: bugs, plugin, trick, Wordpress
BoringOKNiceGreatExcellent! (No Ratings Yet)


Related Articles Latest Articles

If you can not find what you are looking for, you might want to try and get thousands of results, specifically selected for you.

Google Advanced Search
.

One Comment to “Wordpress 2.5 and its Media Section bug”

  1. le_reverend Says:

    All these things did not help on OSX. I am able to upload stuff but I am not able to actually see the media buttons. Yes they are click-able but invisible. The images are correct, in the correct location but I have no clue why this would not work.

Leave a Comment

Did I speak about you, your website, your blog, your device or software? Write a comment to let Web Talk readers know more about it.

If you want to show an image next to your comments, get your gravatar now!

XHTML - You can use the following tags:  <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled



All contents are licenced under a Creative Commons Licence.
Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.