[EventCalendar] Calendar empty when previous or next month links
chosen
Alex Tingle
alex at firetree.net
Wed Nov 8 20:55:50 UTC 2006
Hi E,
> The current month is showing everything correctly. However, when
> previous or next months are chosen, the loading image spins round and
> round and the calendar no longer shows any of the posts at all -
> whether they are events or not.
Something on your site is printing out a space-character ( ) before
anything else. If you look at the HTML of any of your pages, you'll
see the space at the start of the first line. That breaks XHTML
compliance, your iCalendar feed, AND your live calendar.
Try this URL (it's used behind the scenes by the live calendar):
http://etherwork.net/blog/?ec3_xml=2006_11
Safari gives me this error...
> This page contains the following errors:
> error on line 1 at column 6: XML declaration allowed only at the
> start of the document
Fix that error, and you've solved your problem.
Perhaps it's caused by a plug-in, or maybe your Server 500 error fix?
Double-check that there are no stray spaces before the first <? or
after the last ?> in any PHP file that you have added or edited.
-Alex
--
On 8 Nov 2006, at 19:00, ejm wrote:
> This has already been addressed to a certain extent in the thread
> entitled "Events not showing when month changes" started by Angel
> Justo:
> http://penguin.firetree.net/pipermail/eventcalendar/2006-November/
> 000992.html
> However...
>
> I am running wp2.0.5 with the default permalink structure. As far as I
> know, I have not changed any of the redirects. I have just now
> upgraded from eventcalendar 3.1._pre11 to 3.1.0 (thanks, Alex, for
> pointing out that the download link for the latest version of event
> calendar is on the sidebar rather than in the announcement post
> itself)
>
> The current month is showing everything correctly. However, when
> previous or next months are chosen, the loading image spins round and
> round and the calendar no longer shows any of the posts at all -
> whether they are events or not.
>
> Not knowing a whole lot about coding, it looks to me as if something
> might be up with the javascript. If javascript is disabled, everything
> loads correctly. But when javascript is disabled, the link to the
> previous month is javascript:ec3.go_prev() However, as the page is
> loading, the links for the previous and next months appear to be
> headed in the correct direction (October's link while the page is
> loading is etherwork.net/blog/?m=200610 and then changes to
> javascript:ec3.go_prev().)
>
> But once the page has loaded, the link
> The link to November when the page first loads is:
> etherwork.net/blog/?m=200611
>
> With javascript enabled, if I go to October, the link for October is:
> etherwork.net/blog/?year=2006&monthnum=10
>
> and the link for September is
> javascript:ec3.go_prev()
>
> I hope I have explained myself well enough. Any ideas on how to fix
> this?
>
> -E Morris (etherwork.net/blog/)
>
> P.S. I am in the category of wp users who had to apply the Server 500
> error fix to get wp2.0.5 to work correctly.
> (markjaquith.wordpress.com/2006/10/28/some-wordpress-205-users-
> reporting-server-500-error/)
> Could this have anything to do with the calendar problem?
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
More information about the EventCalendar
mailing list