Rasteau - 2008-10-06

Not sure if this is 100% the same problem. Events were displayed in the event calendar. However, when I clicked on the link in the event calendar that should normally open the daily archive for that day I got the "Oh no! You're looking for something which just isn't here! ..." error message. My events are created with the "Event Editor" and are not future posts (i.e. the status is 'Published' not 'Future'). In order to fix this I made the following changes to 'eventcalendar3.php':

I changed:

$re="/ AND (($df)\(post_date(,[^\)]+)?\) *= *('[^']+'|\d+\b))/i";

into:

$re="/ AND (($df)\(wp_posts.post_date(,[^\)]+)?\) *= *('[^']+'|\d+\b))/i";

and:

preg_replace('/\bpost_date\b/','start',$where_post_date),

into:

preg_replace('/\bwp_posts.post_date\b/','start',$where_post_date),

Tested with Event Calendar 3.1.1._rc3 and WordPress 2.5

<R>