
SQL error

cosmin 269
From: -
From: -
When trying to approve trackbacks for news.

Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: SQL error

Philipp
From: Austria
Administrator
1342From: Austria
Actually, you tried to delete a trackback according to the URL in the screenshot.
To fix the problem open /cadmin/news/approvetrackbacks.php in an editor and replace:
with:
To fix the problem open /cadmin/news/approvetrackbacks.php in an editor and replace:
$database -> dbquery( "DELETE FROM " . DB_PREFIX . "esselbach_ct_newstrackbacks WHERE newsteaserback_id = '" . $options[ 1 ] . "'" );
with:
$database -> dbquery( "DELETE FROM " . DB_PREFIX . "esselbach_ct_newstrackbacks WHERE newstrackback_id = '" . $options[ 1 ] . "'" );