Support » Plugin: Universal Star Rating » Star images appear broken

  • Resolved npierno

    (@npierno)


    Hi there,

    I’m using this plugin on another site, and it’s working perfectly (thanks for the handy tool!). However, I’ve just installed it on another site (same theme, same host, etc), but the star images all appear to be broken. I’m seeing this on both the front end and back end: https://monosnap.com/file/Smcsvyjt58pAOsKIoFZEniwM6NDWHa

    Any ideas how I might fix this issue?

    Thanks!!

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Finally figured out the problem. There was a permissions issue caused by the plugin “Defender Pro”. I had actually deleted the plugin after taking over from another developer – but whatever permissions tweak it made stuck around, and was preventing the folder containing the USR images from being accessed.

    Plugin Author Chasil

    (@chasil)

    Ouh wow, I’m glad you found out. It’s always tricky to debug such a problem.

    Good job 😉

    Hi, Can you tell me what you did to fix this since Defender pro seems to be causing me the same issue even after deleting it.

    What did you do to resolve and fix the problem?

    Thankyou
    DJ

    Plugin Author Chasil

    (@chasil)

    I don’t know what the plugin actualy does but I guess that it sets permissions on file system.

    Do you know how to check permissions on the universal star rating folder and subfolders? If not try to delete universal star rating and install it again.

    Hope it somehow works for you.

    Unfortunately, I can’t be of much more help. WP Engine support fixed the permissions issue for me, and I forgot to ask specifically what he did.

    Your host’s support might be able to help you sort it out, now that you know the likely cause of the issue.

    Best of luck!!

    Plugin Author Chasil

    (@chasil)

    Would you please provide a link to that Defender pro plugin? I’d like to check how it works. I guess I will figure out what to do.

    Here you go: https://premium.wpmudev.org/project/wp-defender/

    Personally not a big WPMU fan, but their plugins are pretty popular, so it probably makes sense to see if there’s an easy fix.

    Plugin Author Chasil

    (@chasil)

    I installed the plugin and activated a trial period for the pro features. Unfortunately I am not able to fix all “issues” but I guess it’s the following part…

    Go to “Security Tweaks” -> “Resolved”. There you’ll find “Prevent PHP execution”. It looks like it creates a .htaccess file which denys the server to execute the code to generate the images.

    Please try to add an exception: image.php

    It’s just best guess but… better than nothing 🙂

    https://imgur.com/5NAAOoY

    • This reply was modified 1 year, 3 months ago by  Chasil.
    FBAm

    (@fbam)

    Hi Chasil,

    I don’t use the def pro plugin, but the stars don’t appear properly anymore either:
    https://www.fayst.nl/category/filmreviews/
    Any clue how I can fix this?

    Plugin Author Chasil

    (@chasil)

    Hi FBAm,

    are you using some other stuff to secure your site additionally? In most cases those plugins have some option to prohibit code to be executed in some folders.

    Have a look at .htaccess files. Maybe theres some stuff inside which causes this. Is there something else you changed before the images disappeared?

    Nope, nothing but a WP update. It worked before. I checked the htaccess file, nothing special. What am I looking for?

    Plugin Author Chasil

    (@chasil)

    IDK

    Please try to rename all .htaccess files. There should be a few inside different folders.

    If it works after you renamed them it’s because of security rules. If not we have to dig a little deeper.

    Hi Chasil,

    I deactivated all my plugins one by one, no effect.
    I only found 2 .htaccess files, one being the wp and the other for Akismet. I renamed them, but that broke my website so I decided to not only deactivate Akismet, but I deleted its folder entirely from the root. No effect.
    In the logfiles I can see the errors, but they don’t help me since I have no clue what the error could be 🙂
    1498#0: *241692 access forbidden by rule
    2018-09-04 17:29:02 Error 80.101.155.8 403 GET /wp-content/plugins/universal-star-rating/includes/image.php?img=06.png&px=12&max=10&rat=5 HTTP/2.0

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Star images appear broken’ is closed to new replies.