Project:Recent Changes
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Hi,

when accessing {site}/recent_changes, I get the following SQL error (which is also logged in Drupal's protocols):

user warning: 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 'SELECT COUNT(*) FROM node_revisions) + (SELECT COUNT(*) FROM co query: SELECT (SELECT COUNT(*) FROM node_revisions) + (SELECT COUNT(*) FROM comments) in /var/www/{path}/includes/database.mysql.inc on line 172.

This seems to be related to http://drupal.org/node/132854 (similar error in the module for Drupal 4.7).

Greetings, -asb

Comments

#1

Status:active» closed (duplicate)

See here: http://drupal.org/node/132854

nobody click here