<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>First guess: check your permissions for anonymous users.</span></div><div>&nbsp;</div><div><font color="#ff007f" face="bookman old style, new york, times, serif" size="4"><i><strong>Nancy</strong></i></font></div>&nbsp;<div><font face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</font></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Gabriele Giorelli</font><br><div id="yiv1563251868"><div dir="ltr">I created a new view that has
 custom content type.<br><br>when no user is logged in and when i access this page i get:<br>user warning: Unknown column 
'node_data_field_due_date.field_due_date_value' in 'where clause'
query: SELECT DISTINCT node.nid AS nid,
   node.type AS node_type
 FROM node node 
  INNER JOIN node_access na ON na.nid = node.nid WHERE (na.grant_view 
&gt;= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND 
na.realm = 'og_public'))) AND (  (node.type in ('homework'))
    AND ((DATE_FORMAT(node_data_field_due_date.field_due_date_value, 
'%Y-%m') &lt;= '2011-12' AND 
DATE_FORMAT(node_data_field_due_date.field_due_date_value2, '%Y-%m') 
&gt;= '2011-12'))
   ) in 
C:\xampp\htdocs\drupal-6.22\sites\all\modules\views-6.x-2.12\views\includes\view.inc
 on line 775.<br><br>at the top of the calendar page.<br><br>This error does not occur when a user is logged in.<br> </div></div><br></div> </div> </blockquote></div>   </div></body></html>