A Database Error Occurred

Error Number: 1064

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 'AND n.p_id = 0 AND n.publish = 1 AND n.site_id = 1 ORDER BY n.p_id, n.runorder, ' at line 4

SELECT n.id, n.nodeaddress, n.node, n.nodelevel, n.p_id, n.nodetype_id FROM nodes n, node_zonetype t WHERE t.node_id = n.id AND t.zone_id = AND n.p_id = 0 AND n.publish = 1 AND n.site_id = 1 ORDER BY n.p_id, n.runorder, n.id, n.node