All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: WP-Postratings doesn't save votes!  (Read 644 times)

0 Members and 1 Guest are viewing this topic.

Offline AN7ONYO

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Mystique
WP-Postratings doesn't save votes!
« on: 06 January 2010, 21:11 »
Hi!  I always used this plugin for post ratings, but when I switched for another server, suddently the plugin stopped recording the votes! When I refresh the page the votes desapear! In plugin panel there is no data added. I reinstalled, I cleaned the database... But nothing...
I use Mystique theme, that is optimised to use WP-Postratings...
Even WP-PostViews doesn't record the visits!
I don't know what is the problem!

   1.  WordPress Version: 2.9.1
   2. Theme Name: Mystique
   3. Blog URL:; www.loltuga.com
   4. Problem Plugin Name And Version
   5. PHP And MYSQL Version: 5.2.8 | 5.0.85-community

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: WP-Postratings doesn't save votes!
« Reply #1 on: 07 January 2010, 04:10 »
Can you switch to the default theme and place the ratings code after <?php the_content(); ?>

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline AN7ONYO

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Mystique
Re: WP-Postratings doesn't save votes!
« Reply #2 on: 07 January 2010, 10:12 »
I read that in another post, and already tryed... No luck...

Offline AN7ONYO

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Mystique
Re: WP-Postratings doesn't save votes!
« Reply #3 on: 07 January 2010, 13:05 »
I reeinstaled again, and now it saves the ratings, but in my blog always display that I already voted but have 0 votes!

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: WP-Postratings doesn't save votes!
« Reply #4 on: 07 January 2010, 14:26 »
1. Can you try uninstall and installing the plugin again and do not touch the scale, l eave it as the default 5 stars
2. Switch to the default theme and let me see.

To as why WP-PostViews does not count view, you might be using AJAX Edit Comment, if that is the case, search for the fix in this forum under WP-PostViews

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline AN7ONYO

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Mystique
Re: WP-Postratings doesn't save votes!
« Reply #5 on: 29 January 2010, 19:42 »
I found that the problem is with the database!
The plugin doesn´t create the tables!
I deleted all of them and reinstalled the plugin. It doesn´t created any new table.

How can I solve this?!?

PS: Congrats for your new job! :D

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: WP-Postratings doesn't save votes!
« Reply #6 on: 30 January 2010, 06:25 »
Looks like you are using an older version of mysql if it cannot create the database.

Try running this script and creating it manually in phpmyadmin:

Code: [Select]
CREATE TABLE IF NOT EXISTS `wp_ratings` (
  `rating_id` int(11) NOT NULL auto_increment,
  `rating_postid` int(11) NOT NULL default '0',
  `rating_posttitle` text character set latin1 NOT NULL,
  `rating_rating` int(2) NOT NULL default '0',
  `rating_timestamp` varchar(15) character set latin1 NOT NULL default '',
  `rating_ip` varchar(40) character set latin1 NOT NULL default '',
  `rating_host` varchar(200) character set latin1 NOT NULL default '',
  `rating_username` varchar(50) character set latin1 NOT NULL default '',
  `rating_userid` int(10) NOT NULL default '0',
  PRIMARY KEY  (`rating_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8;

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline AN7ONYO

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Mystique
Re: WP-Postratings doesn't save votes!
« Reply #7 on: 30 January 2010, 12:00 »
The problem is that the plugin doesn't create this either:
(I saw when trying to uninstall)

WordPress Options       
# widget_ratings_highest_rated
# widget_ratings_most_rated

WordPress PostMetas
   1. ratings_users
   2. ratings_score
   3. ratings_average

Offline AN7ONYO

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Mystique
Re: WP-Postratings doesn't save votes!
« Reply #8 on: 30 January 2010, 12:54 »
Solved  ;)

Offline flongpre

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Collection
Re: WP-Postratings doesn't save votes!
« Reply #9 on: 01 February 2010, 22:11 »
Solved  ;)

How did you solve your problem finally. I've got the same problem. The plugin was working correctly on local machine but now that I am trying to install it to the server, the rating isn't saving. WP 2.9.1 and a custom theme.