Support Forum

Post rating not working showing a db error

EK Edward Koon
Edward Koon
Member

Hi Guys, Trying to get the post rating plugin working. Don’t show up on the pages, i have checked all the permissions and everything looks like it’s set correct.

Just now i noticed this in the error log: file: /problem-with-post-edit-buttonome4/doc2013/public_html/narumessenger/blog/wp-content/sp-resources/forum-plugins/rank-info/library/sp-rank-info-components.php

line: 58

function: spdb_table

error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘) AND admin=0’ at line 1

SELECT * FROM wp_sfmembers WHERE (posts >= 0 AND posts < ) AND admin=0

Any suggestions?

Thanks wink

2 Answers

New Answer

MP Mr Papa
Mr Papa
Member

first, that error (interesting in its own right and will come back to it) has nothing to do with post ratings… it deals with ranks info…

are you sure you have enabled post ratings on the forums you want them on?  each forum has an enable option if you edit the forum

more info see:  http://codex.simple-press.com/codex/plugins/our-plugins/available-plugins/post-rating/

back to the error… are you running 5.3.4 and latest rank info plugin?  there was a change in 5.3.4 that would hae required you to update the plugin too…

EK Edward Koon
Edward Koon
Member

Thanks, Mr. Papa..

I missed the toggle in the forum settings. I have the latest plugins installed.