• Resolved vinvalentino

    (@vinvalentino)


    My wordpress 3.7.1 installation was working just fine when it suddenly stopped attaching properly images or setting as featured.

    Actually there are the following certain symptoms:
    -When creating a new post:
    1.via the add Media button process i select and upload a new image with the thumbnail showing properly and when i press insert into post/insert gallery a blank media box appears in the post’s textbox.
    2.when i try to set a new featured image (one that is newly uploaded or one of the old images) the bottom right ‘set featured image’ widget looks like no image is selected or set. I click “set as featured image” and the modal closes but the image never appears.
    -When i try to browse my Media>Library any newly uploaded image is blank with no thumbnail available and no image file appearing when clicking view (via the ‘domain/?attachment_id=…’ link).
    -When browsing my ftp server directory or typing the url ‘domain/wp-content/uploads/2013/3/image.jpg’ the images are appearing just fine.
    -Any images that I upload I can see in the media browser but their thumbnails there aren’t cropped like normal, it’s a thumbnail of the entire image where normally (and previously uploaded images) it’s cropped. They also don’t have pixel dimensions listed like other images do.

    This is causing a major problem on a busy e-commerce site. I’ve seen others with the same issue who said it was fixed when they disabled the “Advanced Custom Fields” plugin, but I don’t have that plugin.

    I did not make any changes to anything, no new plugins, no updates. It worked fine in one product listing, then I went to the next one and it stopped and now won’t work for any.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter vinvalentino

    (@vinvalentino)

    Just upgraded to WP 3.8 and still having the issue.

    I have the same issue, can’t find a solution anywhere, did you find one yet?

    @robertmost – please don’t post in other people’s threads – it doesn’t work well.

    Thread Starter vinvalentino

    (@vinvalentino)

    @robertmost – No, no solution yet… still trying to figure it out. Even if I go to upload in the media manager it doesn’t generate a thumbnail of the image, and click edit image and the image doesn’t show up. But go to the URL of the image and there it is!
    Totally baffled.

    Have you tried deactivating ALL plugins and switching to a default theme to see if that resolves the problem? If so, reverse your steps one by one to see what’s causing it. Also be sure to clear any caching on your site and browser.

    Thread Starter vinvalentino

    (@vinvalentino)

    @wpyogi – I wish I could do that but it’s a high traffic e-commerce site and they just sent out a marketing email to promote holiday specials.

    Unfortunately, there’s not really any other way to troubleshoot something like this that I’m aware of. Perhaps you can wait until a less busy time of day or put up a maintenance page for a short while.

    When you go to Appearance / Widgets and click on any of the live widget areas, does the widget area dropdown / expand as expected?

    To make up for my wrong-posting, I got the solution that worked for me.

    In de .htaccess-file in the upload-folder delete the

    <Files *.php>
    deny from all
    </Files>

    That fixed it for me!

    Thread Starter vinvalentino

    (@vinvalentino)

    @val – yes, the widgets section works fine.

    @robert I don’t have a .htaccess file in my uploads folder. How did you figure that out?

    I don’t think his issue was the same as yours – he was getting 404’s on his images –

    https://www.ads-software.com/support/topic/404-error-on-uploaded-images?replies=6

    vinvalentino, add this to the functions.php file within your theme.

    add_theme_support( 'post-thumbnails' );

    I haven’t fully tested this but from the get go, it seems to be working.

    best of luck.

    Okay, I am looking forward to more information and a resolution.

    Thread Starter vinvalentino

    (@vinvalentino)

    Apparently the problem was a mySQL table that got corrupted or somehow otherwise stuck and wasn’t allowing any new image links to be built in the database. I rebuilt tables in my database and rebooted the SQL container and it worked. Tried that earlier but there was an error during rebuild apparently, so you might need to do it a couple times. If you don’t know how to do this your hosting company should be able to help you.

    having this exact same issue and thank you for the solution but I don’t know which tables are responsible for the image upload issue. I tried my host to no avail as database and wordpress stuff they like to stay away from. Not sure how to reboot SQL container either. Looked for stuff online and couldn’t find anything.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Image upload/featured image issue’ is closed to new replies.