Forums

[resolved] Uploading Image problem after upgrade to 2.0.4 (5 posts)

  1. nij4t2
    Member
    Posted 3 years ago #

    Hi,

    After upgrading to 2.0.4, I can no longer use the image-upload facility (in 'Write') to upload images. As soon as I click Upload, I get the message:
    "Fatal error: Call to undefined function: wp_check_filetype() in /homepages/10/d145033315/htdocs/ksb/wp/wp-admin/admin-functions.php on line 1705"

    The previous version I was on was 2.0.3, which was fine in this respect.

    Any ideas?
    Thanks,
    nij

  2. Chris_K
    Administrator
    Posted 3 years ago #

    I'd actually re-upload all the files under wp-admin and see if that fixes it.

  3. steveportigal
    Member
    Posted 3 years ago #

    I can upload images, but I can't "send to editor" in IE or Firefox - it just calls a void() Javascript and does nothing.

  4. nij4t2
    Member
    Posted 3 years ago #

    Thanks HandySolo,
    I have tried that, with no effect. I even re-downloaded the 2.0.4 zip and extracted it... again with no effect.

    Nij

  5. nij4t2
    Member
    Posted 3 years ago #

    To further comment, I have found that there is a wp_check_filetype function in wp-includes/functions-post.php ~ it has a very similar structure to the original file.

    *** I have now managed to fix the problem ***

    First, I deleted functions-post.php on the remote server. Refreshing the Admin/Write page gave an error (could not find file) which was a 'good sign' inasmuch at leats it proved to me that the page was being imported.

    I then uploaded the file to the server again, and this time refreshing the Write page worked (good, it now had the new file). And hey presto - file uploads now work without the error message.

    This suggests that my internet host does some very odd caching in their PHP implementation. In fact, thinking about it, I think that I have had similar issues with caching before, not necesarily with PHP but other things. How this change managed not to be propagated for weeks is beyond me though,

    Nij

Topic Closed

This topic has been closed to new replies.

About this Topic