[dev] Error After update, I'm seeing: Error Horde_Block__ not found.

Edwin Culp eculp at encontacto.net
Tue Jun 1 04:38:48 PDT 2004


I just updated after seeing some commits that I thought would fix
the portal and for a user with no defined portal blocks, I am
now receiving the Warnings shown below.  I mention that because
for a user that has defined portal blocks, it seems to work.

Warning:
getblock(/usr/local/www/data/horde/config/../lib/Block/.php):
failed to open stream: No such file or directory in
/usr/local/share/pear/Horde/Block/Collection.php on line 94

Warning: getblock(): Failed opening
'/usr/local/www/data/horde/config/../lib/Block/.php' for
inclusion (include_path='.:/usr/local/share/pear') in
/usr/local/share/pear/Horde/Block/Collection.php on line 94
Error
Horde_Block__ not found.

The following is the code refered to in the warning that seems to
justify the warning.  Maybe there should be a check for $name
not being empty?

       $class = 'Horde_Block_' . $app . '_' . $name;
        include_once $registry->getParam('fileroot', $app) .
'/lib/Block/' . $name
 . '.php';

Thanks,

ed


More information about the dev mailing list