[dev] problem with line 357 in Horde/DOM.php while trying to configure whups

eculp eculp at encontacto.net
Mon Mar 24 22:03:31 UTC 2008


Quoting Jan Schneider <jan at horde.org>:

> Zitat von eculp <eculp at encontacto.net>:
>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> Zitat von eculp <eculp at encontacto.net>:
>>>
>>>>
>>>>
>>>> I seem to only get this when trying to configure whups.  I just get a
>>>> blank framePHP Fatal error:  Call to a member function hasChildNodes()
>>>> on a non-object in /usr/local/share/pear/Horde/DOM.php on line 357
>>>
>>> This seems to be a follow-up error on the XML parser failures below:
>>>
>>>> [Sat Mar 22 12:27:59 2008] [error] [client 189.129.17.152] PHP
>>>> Warning:  DOMDocument::load() [<a
>>>> href='function.DOMDocument-load'>function.DOMDocument-load</a>]:
>>>> StartTag: invalid element name in
>>>> /usr/local/www/intranet/whups/config/conf.xml, line: 96 in
>>>> /usr/local/share/pear/Horde/DOM.php on line 128, referer:
>>>> http://intranet.casasponti.net/admin/setup/index.php
>>>
>>> That's interesting, the parser probably chokes on the name="1"
>>> attribute, but this doesn't make any sense. Which PHP and libxml
>>> versions do you have?
>>
>> Hi Jan,
>>
>> My php and xml versions are
>>     php5-5.2.5_1
>>     libxml2-2.6.31
>
> I'm still running 2.6.23, this could make a difference. Anyway, this
> xml file is perfectly valid, and I don't see a reason to raise an
> error for it.

Thanks, Jan.  Neither do I but it isn't critical right now.

ed
>




More information about the dev mailing list