6.0.0-beta1
7/5/25

[#14121] Administration/Configuration throws error: Call to a member function hasChildNodes() on a non-object in ${INSTALL_PATH}/Horde/Config.php on line 203
Summary Administration/Configuration throws error: Call to a member function hasChildNodes() on a non-object in ${INSTALL_PATH}/Horde/Config.php on line 203
Queue Horde Base
Queue Version FRAMEWORK_5_2
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester robert.kovacs.it (at) gmail (dot) com
Created 09/30/2015 (3566 days ago)
Due
Updated 10/01/2015 (3565 days ago)
Assigned
Resolved 10/01/2015 (3565 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/01/2015 10:47:44 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
This sounds like you didn't correctly install PEAR and Horde into a 
separate location.

This is a support question, not a bug report.

Please use the mailing lists to ask for support.

http://www.horde.org/mail/ contains a list of all available mailing lists.
09/30/2015 08:15:14 AM robert (dot) kovacs (dot) it (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Administration/Configuration throws error: Call to a member function hasChildNodes() on a non-object in ${INSTALL_PATH}/Horde/Config.php on line 203
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
Reply to this comment

I am trying to use Horde Groupware 5.2.10 on RH 6.6.
I install a separate pear for horde into ${MYDIR}/horde
I install Horde to the same location, run all the necessary scripts, etc.

When I try to configure horde via ${MYURL}/horde/admin/config (the 
link that Administration/Configuration takes me to), I get an error on 
the page:
     CRITICAL ERROR: Registry could not be initialized from any value
I also get the 'non-object' error described in the summary in syslog.
If I manually rewrite the URL to 
${MYURL}/horde/admin/config/config.php?app=${APP}, then it works 
except save/etc. links that try to take me back to the non-working 
URL, where I have to manually rewrite again to make them work.

I also see the 'CRITICAL ERROR' when a user tries to log in to horde, 
but when refreshing the page after the error, the expected things show 
up and the login is fine.

The issue is present if I restore my old horde DB contents, as well as 
when I start with a clean mysql DB for horde. I also upgraded pear 
with 'pear upgrade pear', no changes.

This issue seems to be there since old versions (>=5.1.x ?).
I see people having the same issue in the past, e.g. in #12251
That ticket says the issue was resolved, but does not give any details 
about how.

Saved Queries