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

Laura Berger koptsi at gmail.com
Thu Oct 18 13:31:14 UTC 2007


Guru Alex!

You were right! I found the two empty rows after ?>

You rule! Thank you so grate many thanks!!!!!

-Koptsi


----- Original Message ----- 
From: "Alex Tingle" <alex at firetree.net>
To: "Support for EventCalendar plugin" <eventcalendar at firetree.net>
Sent: Thursday, October 18, 2007 10:52 AM
Subject: Re: [EventCalendar]Subject: 
Error:month_xml.childNodes[0].getAttributeis not a function


> Laura Berger wrote:
>> I tried to turn off all the other plugins, didnt help.
>>
>> Of course it could be that i've messed too much around with the other 
>> files.... :(
>>
>> I get the error here:
>>
>> free translation: "XML process not at the startup of an external object"
>>
>> http://ratuntalli.fi/?ec3_xml=2007_11
>
> Your problem is different from Anders'. In your case, the server is 
> sending the right header, but the document itself has extra blank lines at 
> the beginning. In your browser, look at the source of 
> http://ratuntalli.fi/?ec3_xml=2007_11 - it should start with <?xml, but it 
> starts with two blank lines!!
>
> You've probably got blank lines before <?php or after ?> somewhere.
>
> -Alex
>
> --
>
>
>> ----- Original Message ----- From: "Alex Tingle" <alex at firetree.net>
>> To: "Support for EventCalendar plugin" <eventcalendar at firetree.net>
>> Sent: Thursday, October 18, 2007 10:20 AM
>> Subject: Re: [EventCalendar]Subject: 
>> Error:month_xml.childNodes[0].getAttribute is not a function
>>
>>
>>> Anders at ScenFeber.se wrote:
>>>> 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?
>>>
>>> EH? Did you read my last e-mail? It's nothing to do with the JAvascript 
>>> functions - the server is sending the wrong header.
>>>
>>> Have you tried turning off other plugins? One of them may be setting the 
>>> header prematurely.
>>>
>>> -Alex
>>>
>>> -- 
>>>
>>>>
>>>> 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