WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
My Thumbnails keep dissapearing after upgrade (29 posts)

  1. pisaacs
    Member
    Posted 1 year ago #

    For some reason the thumbnails are incorrect. It appears to be trying to pull the wrong image out of the media library. Anybody else seeing something like this?

    Example The Thumbnail is look for
    http://XXXXXXX.s3.amazonaws.com/wp-content/uploads/2013/03/image1-e1364333341325-108x70.jpg

    Which does not exists

    The file is actually called

    http://XXXXXXX.s3.amazonaws.com/wp-content/uploads/2013/03/image1-108x70.jpg

    The original file is called: image1-e1364333341325.jpg

    So it seems to be combining two file names.

    Help please. This just started after I upgraded.

    Last week.

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    What do you mean with "last week"? Which version of WPP were you running before upgrading? What version are you using now?

  3. pisaacs
    Member
    Posted 1 year ago #

    I just upgraded to version Version 2.3.5 today, but I believe it started with Version 2.3.4 (the one that was put out late last week).

    I've been looking through my database and I'm not even sure where it's pulling these URL's from. Very strange.

    Is this a side effect of the Caching plugin I'm using with WPP? I use W3 Total Cache.

  4. breebrouwer
    Member
    Posted 1 year ago #

    I'm having a similar issue to pisaacs.

    My thumbnails showed correctly before the most recent update, which I just installed today. Now, none of my thumbnails are showing up at all.

    Site is http://www.geekmylife.net.

  5. pisaacs
    Member
    Posted 1 year ago #

    Hey breebrouwer. Your having the same issue i am. I just check out your site (great design BTW) and I see it's doing it to you too.

    It's just started after I upgraded. I've been looking at my database and trying to see were it's coming from.

    Have you noticed if it's rewriting the URL's to your thumbnails at all?

  6. breebrouwer
    Member
    Posted 1 year ago #

    I'll be honest, but I'm not very good at coding and PHP, so haven't been able to figure out where the URL is even pulled from!

  7. pisaacs
    Member
    Posted 1 year ago #

    The URL is stored in a table in your database called wp_postmeta. When I query the table I see the correct URL to my thumbnail but that's not what is being pulled into the Posts Widget.

    I was hoping someone else has noticed this issue and had some ideas of what might be causing it.

  8. breebrouwer
    Member
    Posted 1 year ago #

    Yeah, I still don't know how to access my database. :) That's why I was hoping the author of the plugin would help me out here.

  9. pisaacs
    Member
    Posted 1 year ago #

    So far I've come up blank myself. I know enough code to get myself in trouble but often times the answer is much simpler then that so I try to look around for help before playing with other peoples' plugins.

  10. breebrouwer
    Member
    Posted 1 year ago #

    Yeah, and if it doesn't get fixed I will switch to another popular posts plugin entirely.

  11. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    @pisaacs I'll be taking a look into this in a couple of hours, will probably be needing your help later!

    @breebrouwer please, do. Hope you can find a plugin that suits your needs the best.

  12. breebrouwer
    Member
    Posted 1 year ago #

    @Hector Cabrera, I don't need to switch immediately, but the images thing is very important for a popular posts list! Let me know what you find when you look into this.

  13. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    @breebrouwer then please keep the attitude to yourself. Wiht your demanding attitude, the only thing you'll achieve is me loosing interest in fixing the issue since thumbnails actually do work for me. You're getting my work for free, so you don't get to complain. Next time, please ask politely and you'll get a better response from me - or else just use another plugin.

  14. breebrouwer
    Member
    Posted 1 year ago #

    @Hector Cabrera, I am not sure how you think I didn't ask politely; I merely said I was having the same issue as the previous user who posted. If you don't want to be providing free services and dealing with users who love your plugin despite your customer service skills, then you may want to consider charging for your time so you feel more justified in the work you're doing.

  15. samglover
    Member
    Posted 1 year ago #

    I'm having this same image on Lawyerist.com. Everything was working fine before the most-recent update. Now the thumbnails aren't showing.

    It seems like the problem may be related to our CDN. We're using Amazon CloudFront and W3 Total Cache on Lawyerist.com. I say this because thumbnails are working fine on BitterLawyer.com, our other blog, which is using the same framework/theme and settings, but using JetPack and Photon for a CDN for images.

  16. samglover
    Member
    Posted 1 year ago #

    Yep, turned off W3 Total Cache's CDN, and post thumbnails are working fine again.

    It would be nice to resolve this conflict, as Jetpack/Photon only works for images. Using CloudFront saves us a lot of bandwidth on other files. But we will just leave it off unless/until it's fixed.

  17. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    @breebrouwer each to their own opinion, I guess.

    @samglover Thanks for the details, Sam. I did test W3 Total Cache while I was working on the recent updates, except the thumbnail part. I'll take a look into it as soon as I can, however I recommend downgrading to version 2.3.2 for now - this might take a while to debug and fix since I'm also busy with two work projects at the moment.

    @all are you guys using WTC 3 as well?

  18. pisaacs
    Member
    Posted 1 year ago #

    Hey @sameglover.

    I'm also using W3 Total Cache's CDN hosting using an Amazon S3 bucket. I'll try turning this off and see if it resolves the thumbnail issue for me as well.

    Philip

  19. breebrouwer
    Member
    Posted 1 year ago #

    After all these cache claims, I tried this last night. I'm using WP Widget Cache. I turned it off only for the WPP widget I had installed on my sidebar, and the images showed up again. I waited a while to turn it back on again, and now it's working fine.

  20. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    I guess none of you are using the Ajaxify feature introduced on WPP 2.3.3 - with all these quick updates I haven't been able to update the readme properly.

    Sam / Philip, if you haven't already please enable the ajaxify option in Settings > WordPress Popular Posts > Tools. Clear WTC 3's cache and enable back the CDN option. Please let me know if there are still issues with thumbnails after that.

  21. samglover
    Member
    Posted 1 year ago #

    I actually tried turning on Ajaxify as part of my troubleshooting. That did not do the trick for me, at least.

  22. pisaacs
    Member
    Posted 1 year ago #

    I'll give it a shot. But won't this impact performance? I'm only asking because my site does a lot of traffic (it's for a sports / entertainment product) and my boss is always concerned about slow page loads.

    Philip

  23. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    It shouldn't have a noticeable impact on the site, since it just mimics what the plugin does while building the list on the back-end. Also, WPP has been using AJAX all along - the whole views count updating part was done with AJAX.

    From v2.3.3 and on, AJAX is now also used on the list itself - the script requests WPP to build the popular list, WPP then returns the HTML markup and the script injects it on the site. This is to prevent plugins such as WP Super Cache from caching the entire list because it would never be updated again. Fortunately, this feature can be deactivated at any time so I'd say it's worth a shot - so if it does slow down the site, just disable it.

    Anyways, since you asked about performance: I'm also planning to add some sort of caching feature to the plugin itself. I'm studying a couple of possible solutions that should really speed up the plugin and lower the impact on the DB.

    Edit: ah, thank you Sam! I see, in that case I'll be needing your help in the upcoming days. WPP 2.3.6 is already in the works, I'll make sure to add WTC 3 to the TODO list and post here one or two test versions of the WPP plugin so you can help me out with this, alright?

  24. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Alright guys, as promised here's a new test build that includes a fix to handle images from external URLs and another bunch of minor bugfixes / updates. Please, give it a try and post back your feedback here.

  25. Frederick Townes
    Member
    Posted 1 year ago #

    Is anyone here using jetpack with W3TC and having CDN issues?

  26. pisaacs
    Member
    Posted 1 year ago #

    I'm not using Jetpack but I'm using the W3TC and CDN.

  27. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    I guess what Frederick wants to know is if CDN is working for you guys.

  28. Frederick Townes
    Member
    Posted 1 year ago #

    Right!

  29. pisaacs
    Member
    Posted 1 year ago #

    It has been working for us, except for the thumbnail issue, which seems not to be a problem for us anymore. At least on my end.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic