This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

mySQL error in article_latest


avatar
error 232
From: -
mySQL error in article_latest

When I click link in Latest Articles as guest (not logged in) i got this error:

Query: SELECT articlerating_id FROM esselbach_ct_articlesrating WHERE articlerating_article = '191' and articlerating_uniqueid = 'a5da5fcb700704fbaa9e72f2544c09ee'
Error: 1146 Table '*******_ct.esselbach_ct_articlesrating' doesn't exist

I get it with mod_rewrite enabled only.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: mySQL error in article_latest
avatar
Editor
0
From: -
There is a small typo in modules/articles/articlessummary.php.

Replace:

                                     $query = $database -> dbquery( "SELECT articlerating_id FROM " . DB_PREFIX . "esselbach_ct_articlesrating WHERE articlerating_article = '" . $id . "' and articlerating_uniqueid = '" . $uniqueid . "'" );


with:

                                   $query = $database -> dbquery( "SELECT articlerating_id FROM " . DB_PREFIX . "esselbach_ct_articlesratings WHERE articlerating_article = '" . $id . "' and articlerating_uniqueid = '" . $uniqueid . "'" );


This is fixed in the next version.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.