[EventCalendar] Re: Problem with Event Calendar v3.1.1 Release Candidate 2

Alex Tingle alex at firetree.net
Tue Oct 9 15:32:44 UTC 2007


Thanks James,

That looks like a bug in WP2.3's canonical URLs implementation. It's  
clearly getting the wrong answer in this case.

I'll add your fix to EC.

-Alex

--

On 9 Oct 2007, at 15:50, jamestr at gmail.com wrote:

> Alex,
>
> I will still be posting this on the WordPress forums, but wanted to
> let you know my current workaround. I disabled WordPress's new
> canonical URLs with a plugin from WordPress developer Mark Jaquith,
> and your plugin started working right. So it looks like it is
> connected to the new canonical URLs feature.
>
> Relevant pages:
>
> http://markjaquith.wordpress.com/2007/09/25/wordpress-23-canonical- 
> urls/
>
> http://txfx.net/files/wordpress/disable-canonical-redirects.phps
>
> On 10/9/07, jamestr at gmail.com <jamestr at gmail.com> wrote:
>> Thanks, Alex. Enjoy your time off. I'll ask on the WP forum as you
>> suggest, and let you know if I learn anything there, or if I don't.
>>
>> james
>>
>> On 10/9/07, Alex Tingle <alex at firetree.net> wrote:
>>> Hi James,
>>>
>>> On 9 Oct 2007, at 14:24, jamestr at gmail.com wrote:
>>>
>>>> Alex,
>>>>
>>>> Yes, turning off permalinks fixes it. Which of course is a clue but
>>>> not really a fix, since permalinks are a pretty major feature of
>>>> WordPress.
>>>>
>>>> I also tried turning off all plugins except Event Calendar and  
>>>> Event
>>>> Calendar Widget, and it still doesn't work.
>>>>
>>>> Could core code changes in WP v. 2.3--those connected with  
>>>> canonical
>>>> URLs--be the problem? Although presumably you've been testing it  
>>>> on WP
>>>> 2.3 and haven't seen this problem on your own installations. Can  
>>>> I ask
>>>> how your permalinks are set up where you've got it working? I can't
>>>> really tell from browsing http://wpcal.firetree.net -- event date
>>>> links on your site look like this:
>>>> http://wpcal.firetree.net/2007/10/27/, whereas mine look like this:
>>>> http://www.emt.travel/?m=20071115&cat=19 -- very different.
>>>
>>> wpcal.firetree.net uses an old version of WP.
>>>
>>> Also, I've got my options set differently, which accounts for the
>>> different URLs.
>>>
>>>
>>>> I could post it on the WP boards but I don't know how to  
>>>> describe it
>>>> as a Wordpress issue rather than an issue with the particular  
>>>> plugin.
>>>
>>> It looks like WordPress itself is generating the redirects -  
>>> which is
>>> rubbish! I'll check on my own set-up.
>>>
>>> However, I'm off for a few days. If you want to move this forward  
>>> then
>>> PLEASE do ask on the WP boards. Just describe the problem as you  
>>> did to
>>> me.
>>>
>>> Hint... EC doesn't cause this problem. Try turning off the EC  
>>> plugin,
>>> and browsing to...
>>>    http://www.emt.travel/?m=20071015&cat=19
>>>
>>> I bet you'll see the same thing happen.
>>>
>>> -Alex
>>>
>>> --
>>>
>>>> james
>>>>
>>>> On 10/9/07, Alex Tingle <alex at firetree.net> wrote:
>>>>> No. It's not a rewrite - that wouldn't change the URLbar. It looks
>>>>> like a redirect to me.
>>>>>
>>>>> Try turning off your permalink rules - see if that makes a
>>>>> difference. Try asking on the WP boards.
>>>>>
>>>>> I fear that WP itself is trying to do some clever redirect -  
>>>>> could it
>>>>> be another plug-in you have loaded?
>>>>>
>>>>> -Alex
>>>>>
>>>>> --
>>>>>
>>>>> On 8 Oct 2007, at 23:17, jamestr at gmail.com wrote:
>>>>>
>>>>>> Hi, Alex,
>>>>>>
>>>>>> My first guess would be there's something mucked up in  
>>>>>> my .htaccess,
>>>>>> although I haven't changed anything manually myself, and I'm  
>>>>>> pretty
>>>>>> sure your last stable plugin was working just fine before I  
>>>>>> upgraded
>>>>>> to WP 2.3. I think it was busted as soon as I upgraded to 2.3,  
>>>>>> before
>>>>>> I installed your release candidate. I don't understand .htaccess
>>>>>> well--can I send it to you below for a peek?
>>>>>>
>>>>>> RewriteRule ^calendar/([^/\.]+)/([^/\.]+)/?$
>>>>>> wp-calendar.php?year=$1&month=$2 [QSA,L]
>>>>>> RewriteRule ^calendar/?$ wp-calendar.php [QSA,L]
>>>>>>
>>>>>> # BEGIN WordPress
>>>>>> <IfModule mod_rewrite.c>
>>>>>> RewriteEngine On
>>>>>> RewriteBase /
>>>>>> RewriteCond %{REQUEST_FILENAME} !-f
>>>>>> RewriteCond %{REQUEST_FILENAME} !-d
>>>>>> RewriteRule . /index.php [L]
>>>>>> </IfModule>
>>>>>>
>>>>>> # END WordPress
>>>>>>
>>>>>> thanks,
>>>>>>
>>>>>> james
>>>>>>
>>>>>> On 10/8/07, Alex Tingle <alex at firetree.net> wrote:
>>>>>>> Hi James,
>>>>>>>
>>>>>>> Sorry to hear you are having trouble.
>>>>>>>
>>>>>>> Your site is redirecting away from the correct page. For  
>>>>>>> example, a
>>>>>>> link to...
>>>>>>>   http://www.emt.travel/?m=20071015&cat=19
>>>>>>> ...is redirected to...
>>>>>>>   http://www.emt.travel/category/events/
>>>>>>>
>>>>>>> Have you any idea what might be doing the redirection?
>>>>>>>
>>>>>>> regards,
>>>>>>>
>>>>>>> -Alex
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> On 8 Oct 2007, at 21:17, jamestr at gmail.com wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I just installed your Event Calendar v3.1.1 Release  
>>>>>>>> Candidate 2,
>>>>>>>> and
>>>>>>>> your blog asked to hear about problems. Perhaps I got something
>>>>>>>> wrong
>>>>>>>> in the installation, but right now clicking on the links for  
>>>>>>>> any
>>>>>>>> months in the calendar, or dates with events, seems to just
>>>>>>>> return the
>>>>>>>> full list of events, rather than just the events for the
>>>>>>>> corresponding
>>>>>>>> dates. I have it installed here:
>>>>>>>>
>>>>>>>> http://www.emt.travel
>>>>>>>>
>>>>>>>> Please let me know if you need any other information to look
>>>>>>>> further
>>>>>>>> into the problem.
>>>>>>>>
>>>>>>>> thanks,
>>>>>>>>
>>>>>>>> james
>>>>>>>>
>>>>>>>> --
>>>>>>>> James Riemermann
>>>>>>>> St. Paul, Minnesota
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> James Riemermann
>>>>>> St. Paul, Minnesota
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> James Riemermann
>>>> St. Paul, Minnesota
>>>
>>>
>>
>>
>> --
>> James Riemermann
>> St. Paul, Minnesota
>>
>
>
> -- 
> James Riemermann
> St. Paul, Minnesota




More information about the EventCalendar mailing list