[EventCalendar] Subject: Error:month_xml.childNodes[0].getAttribute is not a function

Anders at ScenFeber.se anders at scenfeber.se
Thu Oct 18 02:24:05 UTC 2007


Alex,

I tried to "go back" to PHP 4, but I got the same error.

This error showed up when I installed the new version of EC3 that is 
compatible with WP 2.3.
Could there be another way to code the ec3.go_prev() and 
ec3.go_next() -functions?

Kind Regards // Anders

----- Original Message ----- 
From: "Alex Tingle" <alex at firetree.net>
To: "Support for EventCalendar plugin" <eventcalendar at firetree.net>
Sent: Wednesday, October 17, 2007 9:22 PM
Subject: Re: [EventCalendar] Subject: 
Error:month_xml.childNodes[0].getAttribute is not a function


>  On 17 Oct 2007, at 08:16, Laura Berger wrote:
>
>>>> But i'm encountering a problem with the calendar now. I'm getting this
>>>> error:
>>>>
>>>> Error: month_xml.childNodes[0].getAttribute is not a function
>>>> Source File: ..../eventcalendar3/ec3.js
>>>> Line: 405
>>>>
>>>> The problem arises when i try to browse the months -> the events do not
>>>> display... But if I click on the month name the calendar displays
>>>> perfect.
>
> anders at scenfeber.se wrote:
> > Hi Alex,
> >
> > I also have the same problem. please look at www.scenfeber.se and
> > try to change month in the calendar.
>
>
> The problem (at www.scenfeber.se) is caused by your web-server sending the 
> wrong Content-type for the URL:
>   http://www.scenfeber.se/?ec3_xml=2007_11
>
> It should be:
>   Content-type: text/xml
>
> ...but I'm getting
>   Content-type: text/html
>
> The Content-type is set by this code in function 
> ec3_filter_query_vars_xml() in eventcalendar3.php:
>     @header('Content-type: text/xml');
>
> Have you (or anyone) got any idea what could be preventing that from 
> working? It works fine on my test blog.
>
> One difference... you are running PHP 5.2.4, while my test site runs on 
> PHP 4.4.4. Could that cause the trouble?
>
> -Alex
>
> -- 
> :: Let me solve your problems: http://www.firetree.net/consulting/
> :: alex.tingle AT firetree.net  +44-7901-552763
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
> 





More information about the EventCalendar mailing list