• jamble

    (@jamble)


    When using the add media image upload button/popup to add an image to a post I get the following errors:

    When I upload an image from my computer it shows the uploading bar no problem but I then get this message:

    Fatal error: Call to undefined function: wp_constrain_dimensions() in /home/8688/domains/welcomebrand.co.uk/html/wp-admin/includes/image.php on line 173

    On the gallery tab it shows (1) to indicate an image has perhaps been uploaded but when I view the gallery tab I get this error (and no images)

    Fatal error: Call to undefined function: image_downsize() in /home/8688/domains/welcomebrand.co.uk/html/wp-includes/post.php on line 2326

    Any thoughts appreciated.

    Thanks.

Viewing 5 replies - 16 through 20 (of 20 total)
  • ilyushkin

    (@ilyushkin)

    I’ve re-uploaded the root files and I still have the same error.

    I experience the very same problem. I’ve been experiencing this problem in WP 2.5 RC1, RC2, RC3 and now 2.5. Looks like noone will address this issue anytime soon, according to wordpress 2.5.1 milestone.

    shogunn

    (@shogunn)

    I have also re-uploaded the root files but am still having the same problem:

    “Fatal error: Call to undefined function: wp_constrain_dimensions()…”

    Another problem I am having is there are no images in the admin login page. Could be related?

    shogunn

    (@shogunn)

    Ok I resolved this problem

    1) I deleted all the root files (except wp-config.php and .htaccess)
    2) Completely deleted both wp-admin and wp-includes folders from my server.

    3) Re-uploaded above mentioned files to the server.

    Now I get no errors. Hope that helps.

    shogunn

    (@shogunn)

    I forgot to mention that this solved BOTH my problems.

    a) The fatal error problem is gone.
    and
    b) The admin login page displays correctly now.

Viewing 5 replies - 16 through 20 (of 20 total)

The topic ‘two upload image errors (2.5)’ is closed to new replies.