#2 Feb 25, 2008 23:25
The rating works fine, but when I add the last line:
<?php $Plugins->call_by_code( 'starrating', array('display' Arrow 'toprated', 'limit' Arrow 5 ) ); ?>
I get this error ...
my db name is b2e; my table prefix is evo_
Top Rated An unexpected error has occured!
If this error persits, please report it to the administrator.
Go back to home page Additional information about this error:
Table 'b2e.t_posts' doesn't exist(Errno=1146)
SELECT DISTINCT post_ID , post_urltitle , total_value / total_votes AS rating, total_votes
FROM ( T_posts , evo_plugin_starrating_11_ratings) INNER JOIN evo_postcats ON post_ID = postcat_post_ID INNER JOIN evo_categories ON postcat_cat_ID = cat_ID
WHERE cat_blog_id = 4
AND evo_plugin_starrating_11_ratings.id = T_posts.post_ID
AND total_votes >= 1
ORDER BY `rating` DESC
Have you resolved this issue?
I'm pretty sure that with new plugins (v2.* generation) you pretty much don't have to add code to the skin anymore. OTOH if this plugin specifically says it is for 2.* AND it says to add code then I guess it does.