• Resolved MNX

    (@mononox)


    Hi there,

    your local cache feature doesn’t work properly anymore. Although it does save the thumbnail locally, it still loads code from ytimg.com which is exactly what it’s not supposed to do before anyone hits play.

    Can you replicate this over there? Let me know what I can provide to help iron this out.

    Kind regards,
    SVT

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Works on my end mononox, see e.g. here.

    can you share a link for me to have a look at?

    Thread Starter MNX

    (@mononox)

    True, works fine on your site. Here’s a link to one showing the issue. The API key test returns positive and it seems to be working technically (thumb loaded locally) however it’s still loading the google resources.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Might be a permission issue; can you check filesystem permissions on the wp-content/cache/lyteCache directory and the files in it?

    Thread Starter MNX

    (@mononox)

    There’s no such directory on that host

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    that implies that the user under which the PHP-process is running does not have the right to create that directory (and write files in it), so indeed looks like a permission issue ..

    Thread Starter MNX

    (@mononox)

    I’ll take that up with my hosting support, thank you.

    Thread Starter MNX

    (@mononox)

    There’s nothing wrong with the permission they say. All other plugins created their folders fine and the CHMOD is D755/F644 as it should be. Funny enough this used to work before, it seems like one of the last three or so updates actually broke it.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I am experiencing the same problem described above.

    On my live site I also noticed there was no cache folder. However, if I switch local caching to “No” in WP YouTube Lyte settings and hit save, and then switch it back to “Yes” again, the cache folder is created and the cache rebuilt.

    Despite this, the thumbnails are still loading from ytimg.

    I have tried rolling back to the previous versions on my dev site and the problem still exists.

    Any other suggestions?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    did you check filesystem rights pugh?

    Yes, they are 755.

    But, it does now seem to be working!

    Here is a temporary URL if you are able to check on your end.

    I needed to also clear the Cloudflare cache before it kicked in. But over the last month or so the files have definitely been loading from ytimg because I can see the 301 redirects in the server logs.

    It seems that turning caching on and off in the settings was enough to kick the cache back into action.

    From what I can tell from the logs, the thumbnails switched from loading from my domain to loading from ytimg on October 23rd.

    However, I did make some other changes this day, and asked my host to make some changes, but I’m not sure why they would remove the WP YouTube Lyte cache folder, so it’s possible it is coincidence.

    But I thought I would share in case this date coincides with one of the WP YouTube Lyte plugin updates, that could have caused the cache folder to be removed.

    Anyway, thank you for the plugin and for helping me to troubleshoot the issue.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Well, there were no LYTE updates on or around Oct 23rd no; one was Sept 29th, next one was Nov 6th. Additionally you did try rollbacks to previous version to no avail, so I guess that means some of your or your hosts changes are the likely culprit after all?

    Yes that seems likely then, although the fact that the other user above was also missing the cache folder made me wonder if there was something in the plugin that had caused it it be removed.

    Brilliant plugin, thanks for responding so quickly as well.

    Thread Starter MNX

    (@mononox)

    Hi there,

    sorry I was absent there for a little while. I did manage to fix the issue by clearning the Lyte cache as well. No idea what happened there but it’s gone now.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Local thumbnail not working, still loading from ytimg.com’ is closed to new replies.