Closed (duplicate)
Project:
Simplenews
Version:
5.x-1.5
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2009 at 21:08 UTC
Updated:
1 Apr 2009 at 13:57 UTC
Hi,
When an anonymous user subscribe to a newsletter from the block, he got a blank page. Here is the error message in my logs :
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 'IN ('2')) LIMIT 0, 10' at line 1 query: SELECT node.nid, node.title AS node_title, node.changed AS node_changed FROM node node WHERE (node.status = '1') AND (node.type IN ('simplenews')) AND (.s_status IN ('2')) LIMIT 0, 10 dans /var/www/vhosts/**/httpdocs/includes/database.mysql.inc à la ligne 174.
What can be the source of this problem?
Thanks!
Comments
Comment #1
ProjetOeb commentedThis is a problem with simplenews template.
Here is a solution : http://drupal.org/node/373113