09
Apr
2008



Bookmark and Share

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!




Related Articles Latest Articles
.

2 Comments to “WordPress 2.5 and its Media Section bug”

  1. Probleme mit Wordpress Bild-Upload Says:

    […] hat und noch weitere Methoden ausprobieren möchte, um es doch irgendwie hinzufrickeln, dem sei diese Seite zum Thema WP-2.5-Upload […]

  2. 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.


Copyright © 2007-2017 | Sitemap | Privacy | Back To Top
Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.

Stat