[EventCalendar] activating event calendar breaks RSS feed

Alex Tingle alex at firetree.net
Fri Dec 1 22:32:54 UTC 2006


Hi Chad,

The EC plug-in doesn't usually break RSS feeds. Your work-around may  
solve your immediate problem, but there is still something  
fundamentally wrong with your site.

Have you tried disabling other plug-ins? Is your WordPress up to date?

I can't examine your site to evaluate the problem, as it's password  
protected.

-Alex

--


On 1 Dec 2006, at 18:34, Chad Day wrote:

> After much testing of where the breakage was occurring, I was able  
> to work around the plugin breaking my RSS feeds by adding the  
> following lines to eventcalendar.php3
>
>
>
> function ec3_filter_posts_where(&$where)
>
> {
>
>   global $ec3,$wp_query,$wpdb;
>
>   /** Mod to fix **/
>
>
>
>   if(array_key_exists("feed", $wp_query->query_vars)) {
>
>       return $where;
>
>   }
>
>
>
>   /** end mod **/
>
>
>
> Whatever is happening down below where it’s building the query is  
> what is screwing up my RSS feeds.  That seems to work and the  
> condition to check for that array key shouldn’t break anything else  
> (I hope).
>
>
>
> Thoughts?
>
> Chad Day, Developer
> Mindshare Interactive Campaigns, LLC
> 108 5th Street SE, Suite 307
> Charlottesville, VA 22902
> tel 202.654.0835 fax 202.318.0755
> www.mindshare.net
>
> From: eventcalendar-bounces at firetree.net [mailto:eventcalendar- 
> bounces at firetree.net] On Behalf Of Chad Day
> Sent: Thursday, November 30, 2006 2:57 PM
> To: eventcalendar at firetree.net
> Subject: [EventCalendar] activating event calendar breaks RSS feed
>
>
>
> After activating the plugin, my feed URL:  http://www.site.com/feed/
>
>
>
> No longer works and returns a 404 error.  Deactivating the plugin  
> causes it to become functional again.  Using a feed link like:
>
>
>
> http://www.site.com/?feed=rss2 while the plugin is active only  
> shows me the feed for the front page page, not any actual posts in  
> the system.
>
> http://www.pharmacorps.org/?feed=rss2 while the plugin is not  
> active shows the results the way they should be, posts included.
>
>
>
> What in this plugin is causing it to muck with the feeds, and how  
> can I fix it?
>
>
>
> Chad Day, Developer
> Mindshare Interactive Campaigns, LLC
> 108 5th Street SE, Suite 307
> Charlottesville, VA 22902
> tel 202.654.0835 fax 202.318.0755
> www.mindshare.net
>
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar




More information about the EventCalendar mailing list