电话到未定义作用: wp_constrain_dimensions (),当上装的图象或在画廊或媒介图书馆在WordPress 2.5 image_downsize ()

当使用时 WordPress 2.5 闪光根据图象uploader上装图片到网络服务器,或者,当点击在媒介图书馆或画廊制表符在WordPress一刹那图象Uplaoder,以下PHP错误可以时发生,不管浏览器用户使用,包括Internet Explorer和Firefox。

致命错误: 电话到未定义作用: wp_constrain_dimensions ()在/home/wordpress/public_html/wp-admin/includes/image.php在线173

致命错误: 电话到未定义作用在/home/wordpress/public_html/wp-includes/post.php在线2326 image_downsize ()

问题发生由于腐败的WordPress文件。 腐败可以发生在上装或转移到服务器的文件的过程中,或者,当重写或取代WordPress的版本归档时,或者由一个腐败的或无效升级的过程导致。

决议到致命错误是对再上装和替换所有老WordPress文件在网络服务器用 最新的WordPress文件 再。 要保证升级的洁净,它推荐在升级之前删除以下2个目录:

/wp-admin/
/wp-includes/

然后上装并且替换整体目录 wpadmin 并且 wp包括WordPress 2.5文件 或后 WordPress 2.5.1 或其他新版本,如果可利用(直接地上装2个目录),与所有文件一起在WordPress blog根目录,除了wpconfig.php。 应该那时解决问题。

重要: 您读现状提供,不用保单的机器翻译的页。 不同于人工翻译,计算机翻译不了解语法,语义学,句法,成语自然语言,因而经常导致是引入歧途和不能理解的不精确和低品质文本。 因此,参见 原始的英国文章 当在疑义。



One Response to “Call to Undefined Function: wp_constrain_dimensions() When Uploading Images or image_downsize() in Gallery/Media Library in WordPress 2.5”

  1. zugatz
    June 18th, 2008 21:31
    1

    he actualizado el wordpress a 2.5.1 en castellno y no me deja subir nada, me da este error en la pantalla de subida.

    El archivo está vacío. Por favor, sube algo con más sustancia. Este error también puede estar causado porque las subidas estén desactivadas en tu php.ini.

    Tengo la web en un server americano, lo curioso es que antes no me pasaba esto.

    ¿alguien me puede ayudar?

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>

Subscribe without commenting


Custom Search

Incoming Search Terms for the Article

wordpress - Call to undefined function: image_downsize() in - Call to undefined function wp_constrain_di­mensions - Call to undefined function wp_constrain_dimensions() in on line 173 - Call to undefined function: image_downsize() - wordpress wp_constrain_dimensions -