WordPress.org

Ready to get started?Download WordPress

Forums

Image upload problem on IIS (3 posts)

  1. bobojam
    Member
    Posted 7 years ago #

    Hi, I have problem uploading images to the blog hosted on IIS server. At first, there's some database problem. when i check the upload folder, i see the uploaded image and its associated thumbnail. but there was error writing to database. I search the forum and found the solution at http://wordpress.org/support/topic/78384 basically it tell us to do the following:

    *************************************
    You have to set the value of 3 Columns from "NOT NULL" to "NULL"..
    the columns are located in the table "wp_posts" and are named as follows:
    "to_ping"
    "pinged"
    "post_content_filtered"
    *************************************

    after i set the columns to NULL, the upload worked and the images are showing after i upload them. however, another problem surfaced. thumbnails are not generated. i check the upload folder, there is the uploaded image, but not the thumbnail.

    i found a post that says increasing the memory in php.ini would help. so i did that but the thumbnail generation still didnt happen. i am just wondering why after i set the NULL to those columns then thumbnail generation just stopped. any suggestions/advices?

    thanks in advance for any help =)
    j

  2. Chris_K
    Member
    Posted 7 years ago #

    You'll want to ensure the host is running GD.

  3. bobojam
    Member
    Posted 7 years ago #

    Hi HandySolo, thanks for the tip. the host is running gd. i check php.ini and the gd2 is uncommented. plus, the thumbnail generation was working right before the database fix was applied. hmm...
    j

Topic Closed

This topic has been closed to new replies.

About this Topic