Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin禁用WordPress的2.5閃光圖片/視頻/媒體上傳與插件

WordPress 2.5 WordPress的2.5 features a new media (including image, video and file) uploader that built on Adobe Flash technology which supports multiple files uploading to the gallery at one time and upload progress indicator bar.增添了一個新的媒體(包括圖片,視頻和文件)上載的基礎上的Flash技術,支持多種文件上傳到觀眾在同一時間和上傳進度指示器酒吧。 Unfortunately, the media uploader has numerous不幸的是,媒體上載有許多 bugs and problems錯誤和問題 , which basically make the Flash uploader not working, or not successfully uploading the files. ,基本上是讓閃光燈上傳器不工作,或不能成功上傳檔案。

There are a few symptoms for the broken Flash uploader error.有幾個症狀為打破閃存上載錯誤。 For example, blogger can adds the files to upload, but nothing happen or progress to upload the selected files.例如,可以增加博客的檔案上傳,但沒有發生或進展上傳選定的文件。 Sometimes the upload process manages to get to “Crunching” but stop working after, or comes out with HTTP error, or even worse, freeze and crash the browser to not responding.有時上傳過程管理去“運算” ,但停止工作後,或者出來的HTTP錯誤,或者更糟的是,凍結和系統崩潰的瀏覽器沒有回應。 Other reported problems including the the add media buttons disappearing or not showing up.報告的其他問題,包括媒體的添加按鈕消失或不顯示。

WordPress Support has WordPress的支撐 listed上市 several steps to check and fix the possible problems that cause user cannot upload photos, images, videos, music and other media files in WordPress 2.5.幾個步驟來檢查和修復可能出現的問題,造成用戶無法上傳照片,圖像,視頻,音樂和其他媒體文件在WordPress的2.5 。 If the Flash based media uploader does not work after whatever effort, workaround and solution been done, including some如果閃存的媒體上載不工作後,無論努力,解決方法和解決方案已經完成,其中包括一些 bug錯誤 fixes修復 , such as disable conflicting plugin and bypass mod_security to try to solve the error and issue, there is a plugin to force disable (or later re-enable) the Flash uploader.如停用衝突的插件和繞行mod_security ,以試圖解決的錯誤和問題,有一個插件強制停用(或更新的重新啟用)的Flash上傳程序。

To enable the Flash media uploader to be disabled via plugin, a filter has to be added to Flash uploader (only on WordPress version 2.5.x, as the change is set to implement in milestone version 2.6).為了使Flash媒體上載停用通過插件,過濾器已被添加到閃存上載(只在WordPress的版本2.5.x ,因為變化是一套執行的里程碑2.6版) 。 To do so, edit the \wp-admin\includes\media.php file using your favorite text editor directly by logging in to server or locally (has to be uploaded and overwrite replaced the original media.php file).為了做到這一點,編輯\可濕性粉劑管理員\包括\ media.php文件,並使用您最喜愛的文本編輯器直接登錄到服務器或本地(已被上傳並覆蓋代替了原來的media.php檔案) 。 Change the following code at around line 765 to 770.更改下面的代碼行約765至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;

Then, download the然後,下載 no-flash-uploader.php沒有閃光uploader.php , and upload the PHP file to \wp-content\plugins\ directory, and activate the plugin via WordPress administration page. ,並上傳PHP文件到\可濕性粉劑內容\插件\目錄,並激活插件通過WordPress的管理頁面。 After activating to disable the Flash media uploader, the uploader will no longer make use of Flash technology, and all advanced features that come with it also been disabled.激活後禁用Flash媒體上載,上傳器將不再使用Flash技術,所有先進的功能,來與它也被禁用。

IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. 重要:您正在閱讀的機器翻譯網頁這是“原樣”提供,無保修。 Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible.不同人的翻譯,機器翻譯不了解語法,語義,句法,成語自然語言,因此,往往產生不準確,低質量的文字這是誤導和費解。 Thus, please refer to因此,請參閱 original English article英文原文的文章 when in doubt.當懷疑。



11 Responses to “Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin” 11日的答复“禁用WordPress的2.5閃光圖片/視頻/媒體上傳與插件”

  1. Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7 » Tip and Trick修正2.5 WordPress的圖像或媒體閃光燈上傳不工作的問題在IE7 »提示和技巧
    April 3rd, 2008 11:18 2008年四月三日11:18
    1

    [...] If using the Flash uploader is too much trouble, disable the Flash media uploader with this plugin. [...]如果使用閃光燈上載是太麻煩,請禁用Flash媒體上載與此插件。 [...]

  2. Tambayan.ph » Fix the media uploader when using IE7 on the latest WordPress 2.5 Tambayan.ph »費克斯媒體上載當使用IE7的最新WordPress的2.5
    April 4th, 2008 12:03 2008年4月四日12:03
    2

    [...] an alternative you can just disable the media uploader and revert to the old one via a plugin. [...]替代您可以只禁用媒體上載,並回复到舊的通過一個插件。 Or just use Firefox and wait for WordPress [...]或只使用Firefox ,等待WordPress的[...]

  3. Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin (Excerpt) » My Digital Life禁用WordPress的2.5閃光圖片/視頻/媒體上傳與插件(節選) »我的數字生活
    April 17th, 2008 10:55 2008年四月17號10:55
    3

    [...] reading Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin at Tip and [...] [...]閱讀禁用WordPress的2.5閃光圖片/視頻/媒體上傳的插件在提示和[...]

  4. warriorfr
    April 20th, 2008 00:49 2008年4月二十零號00:49
    4

    Thank you very much !非常感謝!
    Now I can send files, but I still get the same error message I have with IE7.現在我可以傳送檔案,但我仍然得到相同的錯誤訊息我已與7 。
    However even with this error, the upload works.不過即使有這個錯誤,上傳作品。

  5. admin管理員
    April 20th, 2008 00:52 2008年4月二十零號0時52
    5

    What error message you have?什麼錯誤訊息嗎?

  6. sage鼠尾草
    April 21st, 2008 14:04 08年4月21號14:04
    6 6日

    I have just folowed all of your instructions and I am still getting this error: Fatal error: Call to undefined function wp_constrain_dimensions() in /home2/newyorka/public_html/wp-admin/includes/image.php on line 173我剛才folowed您所有的指示和我仍然得到這個錯誤:致命錯誤:呼叫功能,以未定義wp_constrain_dimensions ( )在/ home2/newyorka/public_html/wp-admin/includes/image.php線173

    I have altered the htaccess to turn of the mod thing and nothing has worked on my Mac (10.5) in safari or FF我已經改變了htaccess打開的改進型的事情,沒有任何工作我的Mac ( 10.5 )在Safari或法郎
    Anything else I can do?別的我能怎麼辦呢?
    thanks謝謝

  7. admin管理員
    April 21st, 2008 15:11 08年4月21號15:11
    7 7日

    Have you tried to re-upload wordpress files?您是否嘗試過重新上傳WordPress的文件嗎? Probably some files have corrupted.一些文件可能已損壞。

  8. Upload Problems with Wordpress 2.5 | Batang Yagit上傳問題WordPress的2.5 |巴塘Yagit
    May 10th, 2008 16:21 2008年5月10日16:21
    8 8日

    [...] to a blog post I found, “…the media uploader has numerous bugs and problems, which basically make the [...] [...]到博客後,我發現, “ ...媒體上載有許多漏洞和問題,基本上使[...]

  9. Mario馬里奧
    June 9th, 2008 18:51 2008年6月9日18:51
    9 9日

    Is it possible to totally remove the media buttons from the Write Post page?是否有可能完全消除媒體按鈕,從收件後的網頁? I don’t want users to use or even see these things.我不想讓用戶使用或什至看到這些東西。 I also want to remove the text editor buttons too!我也想刪除的文字編輯器的按鈕呢!

  10. sage鼠尾草
    June 9th, 2008 21:28 2008年6月9日21:28
    10 10個

    It was much easier to revert to the previous version of wordpress, however, I have another problem.( I still cannot imbed video. . .) I design the photos to be a specific size on the blog page but have found that the uploader puts an ‘alt’ size into the html that takes precedence in the presentation, unifying all the photo sizes to a smaller format.這是很容易恢復到以前版本的WordPress的,但是,我有另外一個問題。 (我仍然無法著床視頻。 。 。 )我設計的照片是一個特定大小的博客頁面,但發現,上載了一個'舊'大小成的html ,考慮優先於介紹,統一所有的照片尺寸為較小的格式。 When I finish writing, I have to go back through the code and remove all the ‘alt’s from the code so that all is seen as I planned when I publish.當我完成寫作,我要回去通過代碼和刪除所有'舊的代碼從以使所有被看作是我計畫當我發布。

  11. Taras Di塔拉斯邸
    October 1st, 2008 23:25 08年10月一日23:25
    11 11日

    The above instructions do not work for me… the flash uploader still gets called.上述指示,不工作對我來說...閃存上載依然神采奕奕要求。

    I noticed, by debugging the code, that by the time the function that you edit in your instructions gets called, the browser is already displaying the ‘loading upload form’ bar (ie: the screen has turned black).我注意到,通過調試的代碼,即由時間的功能,您編輯您的指示得到所謂的,瀏覽器已經展示了'載入上傳表單酒吧(即:屏幕已經變成黑色) 。

    I’ve tried clearing the cache, and I’m using FF3..我試過清除緩存,我使用的FF3 .. any ideas on what could be going wrong?任何想法可能是去錯了嗎?

Leave a Reply留下一個回复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用這些標籤: href="" title="">的<a <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> “刪除日期時間= “ ” “的<em> <i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱沒有評論


Custom Search

Incoming Search Terms for the Article收到的搜索字詞的文章

wordpress crunching WordPress的搗弄 - - wordpress disable flash upload WordPress的禁用閃光上傳 - - wordpress flash upload WordPress的閃存上傳 - - crunching wordpress WordPress的搗弄 - - wordpress flash uploader WordPress的閃存上載 - - uploader 上載 - - wordpress Crunching… WordPress的運算... - - wordpress 2.5 flash WordPress的2.5閃存 - - no-flash-uploader.php 沒有閃光uploader.php - - wordpress disable flash uploader WordPress的禁用閃光燈上載 - - wordpress image upload crunching WordPress的圖片上傳搗弄 - - wordpress 2.5 crunching WordPress的2.5運算 - - no flash uploader wordpress 沒有WordPress的閃存上載 - - wordpress flash image WordPress的閃光形象 - - disable flash upload wordpress 禁用上傳WordPress的閃存 - - flash image uploader 閃光的形象上載 - - No Flash Uploader 沒有閃光上傳 - - wordpress 2.5 add video WordPress的2.5添加視頻 - - disable flash uploader 禁用閃光燈上載 - - wordpress media uploader WordPress的媒體上載 - - wordpress crunching http error WordPress的搗弄HTTP錯誤 - - wordpress 2.5 crunching error WordPress的2.5運算錯誤 - - Flash Uploader wordpress 上傳WordPress的閃光 - - no flash upload plugin 沒有閃光上傳插件 - - disable wordpress 2.5 image uploader 禁用WordPress的2.5圖像上載 - - wordpress upload crunching WordPress的上傳搗弄 - - wordpress upload media WordPress的上傳媒體 - - wordpress image upload http error WordPress的圖片上傳HTTP錯誤 - - wordpress upload image crunching WordPress的上傳圖片搗弄 - - wordpress crunching problem WordPress的運算問題 - - wordpress image crunching WordPress的圖像運算 - - wordpress 2.5 image crunching problems WordPress的2.5圖像運算問題 - - wordpress no flash uploader WordPress的任何閃存上載 - - crunching http error 搗弄HTTP錯誤 - - flash upload wordpress 上傳WordPress的閃存 - - media uploader wordpress WordPress的媒體上載 - - wordpress disable flash upload plugin WordPress的禁用閃光上傳插件 - - wordpress image upload plugin WordPress的圖片上傳插件 - - wordpress flash uploader http error WordPress的閃存上載HTTP錯誤 - - wordpress 2.5 flash uploader WordPress的2.5閃存上載 - - wordpress 2.5 image upload crunching WordPress的2.5圖片上傳搗弄 - - wordpress 2.5 upload crunching WordPress的2.5上傳搗弄 - - wordpress 2.5 flash video WordPress的2.5閃存視頻 - - wordpress 2.5 disable flash uploader WordPress的2.5禁用閃光燈上載 - - flash uploader wordpress 2.5 閃存上載WordPress的2.5 - - wordpress add media http error WordPress的新增媒體HTTP錯誤 - - video wordpress 2.5 視頻WordPress的2.5 - - Crunching… wordpress WordPress的搗弄... - - wordpress media upload ie7 WordPress的媒體上傳7 - - crunching error wordpress WordPress的運算錯誤 - -