Project:Drupal Newsroom powered by NewsCloud
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

The following error appears when opening the newsroom sorted by date:

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 '' at line 1 query: SELECT * FROM users u WHERE in /home/vol5/byethost13.com/b13_1574882/htdocs/includes/database.mysql.inc on line 172.

Comments

#1

I am having this same problem, anyone have a solution?

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 '' at line 1 query: SELECT * FROM users u WHERE in /home/content/t/e/c/techv/html/includes/database.mysql.inc on line 172.

Line 172 in the specified file is as follows:

trigger_error(check_plain(mysql_error($active_db) ."\nquery: ". $query), E_USER_WARNING);

#2

I'm not able to duplicate this as i'm not getting the SQL error. Can you provide more info? Is this happening every time the newsroom is displayed sorted by date? Is it happening before or after the newsroom settings are configured?

#3

Status:active» postponed (maintainer needs more info)