HP UMPC 2133 on sale now! The Pirate Bay goes to Egypt!
61 Hits
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!


Tags: bugs, plugin, trick, Wordpress
BoringOKNiceInterestingCool! (Rate it now!)



Related Articles

Latest Articles







One Response 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.


All contents are licenced under a Creative Commons Licence.
Creative Commons License