[EventCalendar]Subject: Error:month_xml.childNodes[0].getAttributeis
not a function
Anders at ScenFeber.se
anders at scenfeber.se
Mon Oct 29 00:09:42 UTC 2007
Alex,
Here is the Swedish translation for EC3.
Kind Regards // Anders
----- Original Message -----
From: "Alex Tingle" <alex at firetree.net>
To: "Support for EventCalendar plugin" <eventcalendar at firetree.net>
Sent: Thursday, October 18, 2007 2:40 PM
Subject: Re: [EventCalendar]Subject:
Error:month_xml.childNodes[0].getAttributeis not a function
> Hi Anders,
>
> anders at scenfeber.se wrote:
>> I've turned all other plugins, and it didnt help me either.
>>
>> I'm not very good in PHP, but I'm learning (at least I try to understand)
>> ;-)
>>
>> Could this be something "preformatted" in PHPMyAdmin, in the same
>> way that man changes Character Sets and Collations?
>
> I honestly don't know what is wrong with your site. Why not ask on the
> Wordpress forums?
>
> You need to tell them that your plugin is setting...
> @header('Content-type: text/xml');
> ...in filter "query_vars". But that the server is still sending...
> Content-type: text/html
>
> Let me know if you find out what's going on.
>
>> PS. I would be honered if I could do the translation of EC3 into Swedish
>> DS.
>
> That would be great. Just translate the .pot file (making sure you keep in
> UTF-8 encoded) and send it to me.
>
> -Alex
>
> --
>
>>> 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
>>>
>>
>>
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
> --
> :: 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ec3-sv-SE.pot
Type: application/vnd.ms-powerpoint
Size: 6114 bytes
Desc: not available
Url : http://penguin.firetree.net/pipermail/eventcalendar/attachments/20071029/b3158eb9/ec3-sv-SE.pwz
More information about the EventCalendar
mailing list