SQL error in 5.x
asbdpl - April 1, 2007 - 13:34
| Project: | Recent Changes |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
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

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