Forums

GD Star Rating
Stars not showing (5 posts)

  1. markzero
    Member
    Posted 1 year ago #

    Hello,
    I'm using this plugin for the first time, and I can't get it to show the stars to vote.
    This is what I wrote in page.php file:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    					<?php wp_gdsr_render_article(); ?>
    			<?php endwhile; endif; ?>

    After that, I get following on my page:
    image of my result

    So.. what to do?

  2. MegaToon TV
    Member
    Posted 1 year ago #

    I have the same error here, has anyone solved this? Like what mark said, it only shows something like:

    Rating: 9.0/10 (1 vote cast)

  3. markzero
    Member
    Posted 1 year ago #

    It seems that sometimes maybe not all css files are included

    I had to manually include rating.css

    So, now I have two css files:
    gdsr.css
    rating.css

    Find in gdsr plugin folder rating.css and load it and that could be it

    and one js file:
    gdsr.js

    load jquery before of course..

  4. MegaToon TV
    Member
    Posted 1 year ago #

    ok I solved my own problem and I want to share to everyone.

    For some reason my /wp-content is cmod to 777, so I changed it back to the default one 755 and my star rating is working normal again.

  5. emeraldryan
    Member
    Posted 1 year ago #

    I was getting the exact same issue.

    When looking at the source code of my pages I found that the gdsr.css.php file generated in the <head> section wasn't loading due to a 500 error.

    Upon looking through my error logs I found the following:

    [Tue Feb 22 10:59:19 2011] [error] [client 86.160.81.113] SoftException in Application.cpp:601: Directory "/home/uknowotimea$
    [Tue Feb 22 10:59:19 2011] [error] [client 86.160.81.113] Premature end of script headers: gdsr.css.php, referer: http://www$

    After a bit of research I found that this could be due to the PHP5 handler used in my CPanel/Centos configuration. Changing the PHP5 handler from suphp to dso has resolved the issue and now the stars appear.

    Hope the info above helps someone out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic