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

Jan Schneider jan at horde.org
Sun Mar 23 14:51:32 UTC 2008


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.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list