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.特点一新的媒体(包括图像,视频和档案)上传认为,建立在的Adobe 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.有几个症状为破碎的Flash上传错误。 For example, blogger can adds the files to upload, but nothing happen or progress to upload the selected files.举例来说, Blogger的可以添加要上传的文件,但没有发生或进展上传选定的文件。 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).使快闪媒体上传到被禁用通过插件,过滤器,已被列入闪光上传(只对在WordPress版本2.5 ,作为改变是订定实施的里程碑,在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') . 元flash_action_url = get_option ( ' siteurl ' ) 。 "/wp-admin/async-upload.php"; “ / wp-admin/async-upload.php ” ;

// If Mac and mod_security, no Flash. / /如果Mac和mod_security ,没有闪光。 :( : (
$flash = true; 元=真正的闪光;
if ( false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), ‘mac’) && apache_mod_loaded(’mod_security’) ) 如果(虚假! == strpos ( strtolower ( $ _server [ ' http_user_agent ' ] ) , '陆委会' ) & & apache_mod_loaded ( ' mod_security ' ) )
$flash = false; 元闪光=虚假的;

After:后:
$flash_action_url = get_option('siteurl') . 元flash_action_url = get_option ( ' siteurl ' ) 。 "/wp-admin/async-upload.php"; “ / wp-admin/async-upload.php ” ;

$flash = apply_filters('flash_uploader', true); 元闪光= apply_filters ( ' flash_uploader ' ,真正的) ;
// If Mac and mod_security, no Flash. / /如果Mac和mod_security ,没有闪光。 :( : (
$flash = true; 元=真正的闪光;
if ( $flash && false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), ‘mac’) && apache_mod_loaded(’mod_security’) ) 如果美元(闪光& &虚假! == strpos ( strtolower ( $ _server [ ' http_user_agent ' ] ) , '陆委会' ) & & 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技术,和一切先进的功能,来与它也被禁用。

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.有疑问时。



8 Responses to “Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin”八月的反应, “禁用的WordPress 2.5闪光图片/视频/媒体上传与插件”

  1. Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7 » Tip and Trick修复的WordPress 2.5图片或媒体的Flash上载器不工作的问题,在IE7中»提示和伎俩
    April 3rd, 2008 11:18 2008年4月3日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月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年4月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月20日0时49分
    4

    Thank you very much !非常感谢!
    Now I can send files, but I still get the same error message I have with IE7.现在我可以传送档案,但我仍得到相同的错误讯息,我与IE7中。
    However even with this error, the upload works.不过,即使有此错误的,上传作品。

  5. admin政府当局
    April 20th, 2008 00:52 2008年4月20日0时52分
    5

    What error message you have?什么错误讯息,你呢?

  6. sage贤者
    April 21st, 2008 14:04 2008年4月21日14时04分
    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 2008年4月21日15时11分
    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

    [...] to a blog post I found, “…the media uploader has numerous bugs and problems, which basically make the [...] [ … … ]到博客后我发现, “ … …媒体上载有许多错误和问题,基本上使[ … … ]

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> 您可以使用这些标签:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <删除日期时间= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅无评论

Google
 


Incoming Search Terms for the Article传入的搜索条件文章

wordpress crunching 在WordPress业绩 - - wordpress Crunching… 在WordPress业绩… - - wordpress 2.5 flash 在WordPress 2.5闪光 - - wordpress disable flash upload WordPress所禁用的Flash上传 - - wordpress flash uploader 在WordPress的Flash上传 - - crunching wordpress 业绩的WordPress - - wordpress flash upload 在WordPress的Flash上传 - - wordpress 2.5 crunching 在WordPress 2.5业绩 - - wordpress 2.5 add video 在WordPress 2.5添加视频 - - no-flash-uploader.php 没有闪光- uploader.php - - wordpress 2.5 crunching error 在WordPress 2.5业绩错误 - - no flash uploader wordpress 没有闪光上传的WordPress - - disable wordpress 2.5 image uploader 禁用的WordPress 2.5图像上传 - - wordpress disable flash uploader WordPress所禁用的Flash上传 - - wordpress crunching http error 在WordPress业绩HTTP错误 - - wordpress upload media 在WordPress上传媒体 - - No Flash Uploader 没有闪光上传 - - no flash upload plugin 没有闪光上传插件 - - wordpress 2.5 image crunching problems 在WordPress 2.5的形象,业绩问题 - - wordpress 2.5 upload crunching 在WordPress 2.5上传业绩 - - wordpress 2.5 disable flash uploader 在WordPress 2.5禁用的Flash上传 - - wordpress add media http error 在WordPress新增媒体的HTTP错误 - - video wordpress 2.5 视频的WordPress 2.5 - - Crunching… wordpress 业绩…在WordPress - - wordpress media upload ie7 在WordPress媒体上传的IE7 - - crunching error wordpress 业绩错误的WordPress - - wordpress image upload http error 在WordPress图片上传HTTP错误 - - wordpress crunching error 在WordPress业绩的错误 - - disable flash uploader 禁用的Flash上传 - - uploader 上传 - - Flash Uploader wordpress 闪存上传的WordPress - - wordpress image crunching 在WordPress的形象业绩 - - wordpress no flash uploader WordPress所没有的Flash上传 - - wordpress 2.5 crunching image upload 在WordPress 2.5业绩的图片上传 - - HTTP error wordpress upload HTTP错误的WordPress上传 - - wordpress upload crunching 在WordPress上传业绩 - - "add media"+wordpress+error “新增媒体” + +错误的WordPress - - wordpress media uploads broken 在WordPress媒体上传打破 - - wordpress 2.5 add media +crunching 在WordPress 2.5新增媒体+业绩 - - disable flash image wordpress 2.5 禁用闪光的形象,在WordPress 2.5 - - problems video wordpress 2.5 freezes 问题视频的WordPress 2.5冻结 - - wordpress 2.5 image upload crunching 在WordPress 2.5图片上传业绩 - - error-disable Media 错误禁用媒体 - - wordpress 2.5 "http error" 在WordPress 2.5 “ HTTP错误” - - wordpress 2.5 flash video 在WordPress 2.5 Flash视频 - - flash uploader wordpress 2.5 闪存上传的WordPress 2.5 - - crunching uploaded photos wordpress 2.5 业绩上传照片的WordPress 2.5 - - Wordpress 2.5 "no flash uploader" 在WordPress 2.5 “没有闪光上传” - - wordpress 2.5 image upload 在WordPress 2.5图片上传 - - wordpress file upload ie not responding 在WordPress文件上传即不回应 - -