Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-15 14:10:48

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

css_rating

I have done a search but cannot find the forum topic for css_rating plugin.

I’m getting this error:

Tag error: <txp:css_rating_bar /> ->  Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource  on line 297

Tag error: <txp:css_rating_bar /> ->  Textpattern Warning: Duplicate entry '4' for key 1
insert into driz_txp_ratings set id='4',total_votes=1, total_value='7', used_ips=''  on line 82

Any ideas what the problem is and how to fix it?


~ Cameron

Offline

#2 2009-05-19 15:40:40

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: css_rating

Anyone got any ideas? I’ve been playing around in phpMyAdmin to see if I can find any problems but no luck so far :/


~ Cameron

Offline

#3 2009-06-02 00:14:10

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: css_rating

Hi, has anyone had a chance to take a look at this, really confused as to whats wrong. Thanks.


~ Cameron

Offline

#4 2009-06-02 02:02:43

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: css_rating

Hi Driz!

Sorry, I’m not a php guru.

Fwiw

I don’t think there is a forum for this plugin. Did you try contacting the plugin author or posting to the plugin’s home page?

And there are two newer rating plugins in case you are unable get this one working

(see – I’m totally not helpful :) )

Last edited by maverick (2009-06-02 02:03:06)

Offline

#5 2009-06-02 10:08:06

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: css_rating

Could you post the link to the newer plugins, as I think this one sucks :D cheers.


~ Cameron

Offline

#6 2009-06-02 14:48:46

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: css_rating

Textpattern.org/Search for ‘Rating’

tcm_rating and wlk_helpful are both from 2008.

Last edited by maverick (2009-06-02 14:49:06)

Offline

#7 2009-06-02 19:26:17

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: css_rating

maverick wrote:

Textpattern.org/Search for ‘Rating’

tcm_rating and wlk_helpful are both from 2008.

tmc_rating is from 2004. It’s outdated and no longer maintained plugin. Also it is just archived on Textpattern.org.

jmd_rate on other hand is from 2008

Last edited by Gocom (2009-06-02 19:27:20)

Offline

#8 2009-06-02 19:55:18

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: css_rating

Gocom

Thank you for the correction. re: tmc_rating, I glanced at the “article modified date” and saw it was 2008 and failed to verify its actual status.

I thought jmd had one, but wasn’t finding it to refer driz to it.

Offline

#9 2009-06-03 02:51:23

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: css_rating

maverick wrote:

I thought jmd had one, but wasn’t finding it to refer driz to it.

Hehe, no worries… tho I’m linking kinda unlogical word. How did it end up there…. :D

Offline

#10 2010-05-10 13:23:50

fantasmo
Member
Registered: 2010-05-05
Posts: 40

Re: css_rating

Hello,

I get the error

Tag error: <txp:css_rating_bar units=“5” /> -> Warning: mysql_num_rows() expects parameter 1 to be resource, array given on line 300

can somebdoy please help me to fix that?

I put the tag <txp:css_rating_bar units=“5” /> in the Form “default” which displays the articles.
And I run my TXP-Installation on a database with table-prefixes, because I need the prefix to run different TXP-Installations with one database

Another Problem is, it seems like it shows the same rating for every article, but I thought putting it into the default-article-form would create an individual ratiing bar for each article.

EDIT: When I reload the page it I get a further error
Tag error: <txp:css_rating_bar units=“5” /> -> Textpattern Warning: Duplicate entry ‘1’ for key ‘PRIMARY
insert into sw_txp_ratings set id=‘1’,total_votes=1, total_value=‘7’, used_ips=’‘ on line 85

Last edited by fantasmo (2010-05-10 13:25:52)

Offline

#11 2010-05-12 10:40:24

fantasmo
Member
Registered: 2010-05-05
Posts: 40

Re: css_rating

Can’t somebody help please?
I really can’t fix it… i don’t even know if the problem is because I use table-prefixes, or because I might have installed it wrong somehow?!

Offline

#12 2010-05-17 17:33:47

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: css_rating

try jmd_rate, works well for me

Offline

Board footer

Powered by FluxBB