I recieve the following errors when accessing my recipe page: http://testbed.bri-net.org/?q=recipe

user error: 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 'n.status=1 AND n.type = 'recipe'' at line 1
query: SELECT COUNT(*) FROM node n JOIN users u ON n.uid = u.uid WHERE '1'n.status=1 AND n.type = 'recipe' in /home/www/testbed.bri-net.org/includes/database.mysql.inc on line 125.

user error: 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 'n.status=1 AND n.type = 'recipe' ORDER BY n.nid DESC LIMIT 0, 2
query: SELECT DISTINCT(n.nid), n.title, n.uid, u.name FROM node n JOIN users u ON n.uid = u.uid WHERE '1'n.status=1 AND n.type = 'recipe' ORDER BY n.nid DESC LIMIT 0, 20 in /home/www/testbed.bri-net.org/includes/database.mysql.inc on line 125.

Comments

moshe weitzman’s picture

Anonymous’s picture