Well, normally you should see the image, not the black background 🙂
It looks like there is a problem with the filesystem permissions and that lyteThumb.php (or rather the user under which it is executed) has no access to the cache thumbnails (in wp-content/cache/lyteThumbs/). can you check and if so correct those permissions @wabo?
frank
Thread Starter
wabo
(@wabo)
Hi Frank,
Thank you for your reply. I see the images in the folder. It looks like they are all set to read and write.
Thread Starter
wabo
(@wabo)
Is there a line of code someone I need to edit or a certain permission I need to set them to? Sorry I don’t do much custom coding. @optimizingmatters
Is there a line of code someone I need to edit or a certain permission I need to set them to?
well, you should if the user under which the PHP process runs has read and write access to wp-content/cache/ and wp-content/cache/lyteThumbs and wp-content/cache/lyteThumbs/*.jpg.
just for clarity’s sake, you can compare:
-> https://www.marineapproved.com/wp-content/plugins/wp-youtube-lyte/lyteThumbs.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwdOavM-Px6Y%2Fhqdefault.jpg results in a “500: internal server error”
-> https://blog.futtta.be/wp-content/plugins/wp-youtube-lyte/lyteThumbs.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwdOavM-Px6Y%2Fhqdefault.jpg the same thumbnail on my site works
-> https://www.marineapproved.com/wp-content/plugins/wp-youtube-lyte/lyteThumbs.php works as well but returns the “empty” thumbnail as no origThumbUrl was provided
so the issue is not with the original thumbnail and is not with lyteThumbs.php as such, but is probably indeed due to filesystem permissions (I’ve seen this with a couple of other users).
if all permissions are OK you’ll need to dive into the PHP errorlog to see if there are pointers there as to what is going wrong here.