[horde] Class 'Horde_Registry_Application' not found

Vilius Šumskas vilius at lnk.lt
Sat Aug 6 20:49:04 UTC 2011


Sveiki,

Saturday, August 6, 2011, 11:41:17 PM, you wrote:


> Zitat von Vilius ?umskas <vilius at lnk.lt>:

>> Sveiki,
>>
>> Saturday, August 6, 2011, 10:33:20 PM, you wrote:
>>
>>> Hello,
>>
>>> After installing Horde framework over pear, I try to run test.php.
>>> But I got this error:
>>> ---------
>>> Warning: set_exception_handler() expects the argument (Horde::fatal) to
>>> be a valid callback in /var/www/horde/lib/core.php on line 52
>>
>>> Warning: set_error_handler() expects the argument (Horde::errorHandler)
>>> to be a valid callback in /var/www/horde/lib/core.php on line 55
>>
>>> Fatal error: Class 'Horde_Registry_Application' not found in
>>> /var/www/horde/lib/Application.php on line 20
>>> ----------
>>
>>> What will be wrong?
>>
>>> With regards,
>>> Paul van der Vlis.
>>
>>> btw, this is what I did to install:
>>
>>> mkdir /var/www/horde
>>> pear config-create /var/www/horde /var/www/horde/pear.conf
>>> pear -c /var/www/horde/pear.conf install pear
>>> /var/www/horde/pear/pear -c /var/www/horde/pear.conf channel-discover
>>> pear.horde.org
>>> /var/www/horde/pear/pear -c /var/www/horde/pear.conf install
>>> horde/horde_role
>>> /var/www/horde/pear/pear -c /var/www/horde/pear.conf run-scripts
>>> horde/horde_role
>>> # Filesystem location for the base Horde application : /var/www/horde
>>> /var/www/horde/pear/pear -c /var/www/horde/pear.conf install -a -B
>>> horde/horde
>>> echo "php_value include_path /var/www/horde/pear/php" >>
>>> /var/www/horde/.htaccess
>>> echo "SetEnv PHP_PEAR_SYSCONF_DIR /var/www/horde" >>
>>> /var/www/horde/.htaccess
>>
>> Your PEAR should *not* be inside Horde base directory.

> That perfectly valid.

> Make sure your .htaccess settings are actually picked by your webserver.

Wouldn't  autoloader  pick  the  wrong  files which names overlap with
PEAR? Like pear/Registry.php and pear/Horde/Registry.php ?

-- 
Best regards,
 Vilius



More information about the horde mailing list