6.0.0-alpha12
6/8/25

[#12310] Horde registry broken (Registry could not be initialized from any value)
Summary Horde registry broken (Registry could not be initialized from any value)
Queue Horde Groupware Webmail Edition
Queue Version 5.1.0
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester nicolas (at) deffayet (dot) com
Created 06/05/2013 (4386 days ago)
Due
Updated 06/06/2013 (4385 days ago)
Assigned 06/06/2013 (4385 days ago)
Resolved 06/06/2013 (4385 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/06/2013 12:22:37 PM Jan Schneider Comment #7 Reply to this comment

[Show Quoted Text - 14 lines]
No. Did those succeed though?
Is MySQL data are used for the registry ? Is MySQL is used for store 
specific Horde configuration except users preferences configuration ?
No, especially not the PEAR registry.
Many thanks
06/06/2013 11:25:20 AM nicolas (at) deffayet (dot) com Comment #6 Reply to this comment
But again: this isn't anything we can fix in Horde. Your PEAR 
installation is not able to retrieve its own registry. You need to 
debug PEAR/Config.php to find out why.
I have forgot to try with a clean MySQL database (by dropping horde database).

With a clean database (and so re-run webmail-install for regenerate 
initial database), 5.1.0 work, i don't get the problem. If i restore 
old database, i get the problem back.

Did some specific commands should be run for update the MySQL database 
outsite steps in UPGRADING documentation when changing Horde version ?

Is MySQL data are used for the registry ? Is MySQL is used for store 
specific Horde configuration except users preferences configuration ?

Many thanks
06/06/2013 10:27:41 AM Jan Schneider Comment #5 Reply to this comment
It seem that in 5.1.0, Horde is not able to get the module list from 
Registry. This may due to new module integraded in 5.1.0 ?
No, but only since 5.1.0 we also check the framework packages for updates.

But again: this isn't anything we can fix in Horde. Your PEAR 
installation is not able to retrieve its own registry. You need to 
debug PEAR/Config.php to find out why.
06/06/2013 09:52:34 AM nicolas (at) deffayet (dot) com Comment #4 Reply to this comment
Looks like this is issued by PEAR. You seem to have a broken PEAR 
configuration. That error is generated in PEAR/Config.php.
I have tried with exactly the same peer configuration and I get the 
problem only with 5.1.0 version.
I use Debian Wheezy x64 with Apache and PHP from Debian.

I don't know why you are not able to reproduce this, i have the same 
problem on two different machine even with fresh install.

I have tried to use also a dedicated pear.

It seem that in 5.1.0, Horde is not able to get the module list from 
Registry. This may due to new module integraded in 5.1.0 ?

In syslog message I get:
HORDE: [horde] PHP ERROR: Non-static method System::tmpdir() should 
not be called statically, assuming $this from incompatible context 
[pid 17641 on line 158 of "/home/www/horde/pear/php/PEAR/Config.php"]
HORDE: [horde] PHP ERROR: Non-static method System::tmpdir() should 
not be called statically, assuming $this from incompatible context 
[pid 17641 on line 167 of "/home/www/horde/pear/php/PEAR/Config.php"]
HORDE: [horde] PHP ERROR: Non-static method System::tmpdir() should 
not be called statically, assuming $this from incompatible context 
[pid 17641 on line 176 of "/home/www/horde/pear/php/PEAR/Config.php"]
HORDE: [horde] PHP ERROR: Non-static method System::which() should not 
be called statically, assuming $this from incompatible context [pid 
17641 on line 228 of "/home/www/horde/pear/php/PEAR/Config.php"]
HORDE: [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::initializeConfig() should not be called 
statically, assuming $this from incompatible context [pid 17641 on 
line 599 of "/home/www/horde/pear/php/PEAR/Config.php"]
HORDE: [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::registerRoles() should not be called statically, 
assuming $this from incompatible context [pid 17641 on line 45 of 
"/home/www/horde/pear/php/PEAR/Installer/Role.php"]
HORDE: [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::getBaseinstallRoles() should not be called 
statically, assuming $this from incompatible context [pid 17641 on 
line 270 of "/home/www/horde/pear/php/PEAR/Installer/Role.php"]
HORDE: [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::getInstallableRoles() should not be called 
statically, assuming $this from incompatible context [pid 17641 on 
line 271 of "/home/www/horde/pear/php/PEAR/Installer/Role.php"]
HORDE: [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::getPhpRoles() should not be called statically, 
assuming $this from incompatible context [pid 17641 on line 272 of 
"/home/www/horde/pear/php/PEAR/Installer/Role.php"]
HORDE: [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::getValidRoles() should not be called statically, 
assuming $this from incompatible context [pid 17641 on line 273 of 
"/home/www/horde/pear/php/PEAR/Installer/Role.php"]

How can i test if Horde is able to list all its modules ?

Many thanks
06/06/2013 09:14:52 AM Jan Schneider State ⇒ Not A Bug
 
06/06/2013 09:12:39 AM Jan Schneider Comment #3 Reply to this comment
Looks like this is issued by PEAR. You seem to have a broken PEAR 
configuration. That error is generated in PEAR/Config.php.
06/06/2013 09:09:19 AM Jan Schneider Comment #2
Priority ⇒ 1. Low
State ⇒ Feedback
Reply to this comment
This is not an error message from Horde and I have no idea what it 
means. Needless to say, I cannot reproduce this.
06/05/2013 09:42:22 PM nicolas (at) deffayet (dot) com Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Horde registry broken (Registry could not be initialized from any value)
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When I try to open page horde/admin/config/index.php,
I get: CRITICAL ERROR: Registry could not be initialized from any value

So I don't get this page:
http://www.dokuwiki.nausch.org/lib/exe/fetch.php/centos:mail_c6:horde-10.png?w=750&tok=905275

When I try to open page horde/admin/config/config.php?app=horde, it 
works, I can configure the module.

The issue doesn't exist with version 5.0.4 and appear since version 5.1.0.

If I roolback from 5.1.0 to 5.0.4 by restoring horde folder it work 
again, I can open horde/admin/config/index.php.

I don't know any workaround.

Saved Queries